AW: How to lowercase all files with a mapper?

2023-02-23 Thread apache
Have tried that on openjdk version "17.0.1" 2021-10-19. No warning using JavaScript on my machine. But you also could other implementation languages for your mapper - Groovy, ... even Java ;-) Adding some examples. Jan

AW: Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages?

2022-07-28 Thread apache
No it is not. Ant is a build automation tool, primarily for Java. You should be able to include C- and C++ Stuff via or some external tasks. Jan -Ursprüngliche Nachricht- Von: Turritopsis Dohrnii Teo En Ming <> Gesendet: Dienstag, 26. Juli 2022 09:32 An: user@ant.apache.org Cc: c...@t

Re: AW: empty properties on command line

2021-07-06 Thread Jaikiran Pai
Hello Jan, I think Basin is stating that if you invoke ant from the command line and pass it an explicit target to invoke (instead of whatever default target is configured for that project) and if you have a -D property which doesn't specify a value, then the explicit target name that you spe

AW: empty properties on command line

2021-07-06 Thread apache
Maybe this? ${msg} C:\temp>ant Buildfile: C:\temp\build.xml [echo] default BUILD SUCCESSFUL Total time: 0 seconds C:\temp>ant -Dmsg=hello Buildfile: C:\temp\build.xml [echo] hello BUILD SUCCESSFUL Total time: 0 seconds C:\temp>ant -Dmsg="" Buildfile: C:\temp\build.xml [e

AW: targets and data types

2021-06-30 Thread apache
You're right - I haven't found any pointer. So I added one (small). Basically I have seen s & Co inside targets before tasks or in an "init-target" (required in early Ant versions - now you could place that directly under 'project' as implicit target). Jan -Ursprüngliche Nachricht- Vo

AW: Hanging on port 4000. OOPS! it worked

2021-01-13 Thread apache
Good to hear. Have fun ;-) Jan -Ursprüngliche Nachricht- Von: Zahid Rahman Gesendet: Mittwoch, 13. Januar 2021 01:16 An: user@ant.apache.org Betreff: Hanging on port 4000. OOPS! it worked I forgot I had set a break point. So it worked I now have remote development in Java for raspberry

AW: sshexec defaults to port 22

2021-01-12 Thread apache
Nachricht- Von: Zahid Rahman Gesendet: Dienstag, 12. Januar 2021 14:15 An: user@ant.apache.org Betreff: AW: sshexec defaults to port 22 As you can see from output console. I have made some progress by updating the remote raspberry pi operating system. I am not sure what parameter is required

AW: sshexec defaults to port 22

2021-01-12 Thread Zahid Rahman
As you can see from output console. I have made some progress by updating the remote raspberry pi operating system. I am not sure what parameter is required to resolve this error message *com.jcraft.jsch.JSchException: reject HostKey: 192.168.0.22 *. I am pretty sure it is this code *BUIL

AW: sshexec defaults to port 22

2021-01-11 Thread apache
I think the error is earlier while ing the jar to the PI. It seems that an sshd is running on the pi. Are you sure you have the right credentials? Could you login with this username+password? Also you could run Ant with -verbose or -debug to get more details. The error com.jcraft.jsch.JSchExcep

Re: AW: Can I load a project from a String / InputStream?

2021-01-04 Thread Eugen Stan
Hi, Thank you all for the feedback. I wrote some code to register a custom java.net.URLConnection URLStreamHandler and stream the contents from memory however. However I don't think I can avoid making a custom ProjectHelper. I've noticed that I can't add instances to configure an ant project.

AW: Can I load a project from a String / InputStream?

2021-01-02 Thread apache
Maybe Stefans 11 years old "JavaFront" could be helpful. https://svn.apache.org/viewvc/ant/sandbox/javafront/ The "taskexec.*" scripts shows how to use https://svn.apache.org/viewvc/ant/sandbox/javafront/taskexec.bat?view=markup https://svn.apache.org/viewvc/ant/sandbox/javafront/taskexec.sh?view=

AW: a tricky case of running an executable from an ant build script

2020-12-24 Thread apache
If you know where the executable is located, you could set the "executable" attribute of . Or set the "dir" attribute tot he directory containing the executable you want to start. Or provide a nested element. Jan -Ursprüngliche Nachricht- Von: Alan Snyder Gesendet: Samstag, 19. Dezem

AW: Different indices not repected in Epub3 transformation with ant 1.9.8

2020-12-13 Thread apache
I don't think that updating Ant will solve your problem, because Ant just "triggers" the generation process. Which tool are you using? Could you post your buildfile? Maybe we could find some hints here. Or a sample project (e.g. on Github) showing the problem? Jan -Ursprüngliche Nachricht---

AW: inline use of antlib with namespace?

2020-09-14 Thread apache
With the antlib-syntax (#1) you define the xmlns you want to use. If you want to load the jar from a custom location, you can use the taskdef. http://ant.apache.org/manual/Types/antlib.html#loadFromInside Jan -Ursprüngliche Nachricht- Von: Alan Snyder Gesendet: Sonntag, 13. September 20

AW: Windows 10 Ant not recognized as internal or external command only with normal user

2019-12-28 Thread apache
Not sure if you missed the special signs ... Path: %ANT_HOME%\bin;%JAVA_HOME%\bin Execute "set path" and have a look if java-bin and ant-bin directories are listed. Jan -Ursprüngliche Nachricht- Von: John W Gesendet: Donnerstag, 26. Dezember 2019 21:33 An: user@ant.apache.org Betref

Re: AW: [ANNOUNCE] Apache Ivy 2.5.0 released

2019-10-27 Thread Jaikiran Pai
Jan is right - IvyDE hasn't seen much development in recent times due to our lack of Eclipse knowledge. My offer to release IvyDE was just to attempt to follow the release instructions and do a release. That too, I don't know how successful it's going to be with all the Eclipse versioning etc... -

AW: [ANNOUNCE] Apache Ivy 2.5.0 released

2019-10-26 Thread jhm
That's not a thing we don't want to do. But we are lacking the knowledge of building Eclipse plugins on actual Eclipse versions. So don't expect that to come in the near future. But that's only my personal view Jan > -Ursprüngliche Nachricht- > Von: JOSE LUIS MARTINEZ-AVIAL GONZALEZ-CEL

AW: Replacing value in an XML file using replaceregexp

2019-10-19 Thread jhm
Simple solution Another possibility is using a template file and . The simple solution is based on your "requirement" > Replace: > 12467abc => 34567abc > 12467def => 34567def > 12467xyz => 34567xyz For heavy xml modifications you could use th

AW: After the command is executed, the ant window opens with an error of 255

2019-10-04 Thread jhm
Try the outputproperty or errorproperty of the exec task. Maybe this is related to you https://ubuntuforums.org/showthread.php?t=1464940 I don't know mate-terminal. But you can't use itself? Jan > -Ursprüngliche Nachricht- > Von: Игорь Бобров [mailto:ne...@yandex.ru] > Gesendet: Monta

AW: Issue with sql task accessing MySql

2019-08-31 Thread jhm
Just for beautifying the log: you could specify a 'taskname' So you get a [update-db-tables] ... instead of [exec] ... Jan > -Ursprüngliche Nachricht- > Von: Eric Fetzer [mailto:elstonk...@yahoo.com.INVALID] > Gesendet: Donnerstag, 29. August 2019 16:04 > An: user@ant.apache.or

AW: Skipping a javah task with Java 10 and higher

2019-05-07 Thread jhm
Fine. But I see an error in my example: It executes the target and javah only on Java10 and higher. For Java9 and lower you have to use: -Ursprüngliche Nachricht- > Von: 大平怜 [mailto:rei.oda...@gmail.com] > Gesendet: Dienstag, 7. Mai 2019 17:26 > An: Ant Users List > Betreff: Re: Skip

AW: Skipping a javah task with Java 10 and higher

2019-05-06 Thread jhm
With xml namespaces like if:set you could exclude individual tasks. http://ant.apache.org/manual/ifunless.html ... Jan > -Ursprüngliche Nachricht- > Von: Jaikiran Pai [mailto:jaiki...@apache.org] > Gesendet: Dienstag,

AW: overriding built-in tasks (not targets)

2019-04-15 Thread jhm
I am not sure if you could check the response headers. The manual shows an example how to add a MD5 checksum test after a download (macro "get-and-checksum"). Maybe the best way is to implement your own download in Java (reusing Get's sourcecode, or use a http lib). Or I haven't got your poin

Re: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-28 Thread Dennis Putnam
; > > > Jan > > > > Von: Dennis Putnam [mailto:d...@bellsouth.net] > Gesendet: Donnerstag, 28. Februar 2019 10:53 > An: user@ant.apache.org > Betreff: AW: Javac Run By Ant Script is Unable to Find External Jars > > > > I've figured out what the problem

AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-28 Thread jhm
...@bellsouth.net] Gesendet: Donnerstag, 28. Februar 2019 10:53 An: user@ant.apache.org Betreff: AW: Javac Run By Ant Script is Unable to Find External Jars I've figured out what the problem is but I don't know what to do to fix it. When I export the jar from Eclipse, it has this set of d

AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-28 Thread Dennis Putnam
I've figured out what the problem is but I don't know what to do to fix it. When I export the jar from Eclipse, it has this set of directories: KCBSEvents META-INF mozilla org src That is the one that works. When I build the jar using ant (below), these are the directories present: KCBSEvents ME

AW: Creating task/macro wrappers

2019-02-25 Thread jhm
Maybe writing your own Task in Java is the easiest and most maintainable way. The task collects all data and then uses the existing testng task via delegation. (don’t forget to pass project and location reference) Jan > -Ursprüngliche Nachricht- > Von: Isaac Jurado [mailto:dipto...@gmail

Re: AW: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread Dennis Putnam
;${lib.dir}/log4j-api-2.11.2.jar"/> > unless:set="log4j-api.present" > > src="https://search.maven.org/remotecontent?filepath=org/apache/logging/log4j/log4j-api/2.11.2/log4j-api-2.11.2.jar"; > dest="${lib.dir}/log4j-api-2.11.2.jar" /> > > > > > includeantruntime="false"> > >

AW: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread jhm
https://search.maven.org/remotecontent?filepath=org/apache/logging/log4j/log4j-api/2.11.2/log4j-api-2.11.2.jar"; dest="${lib.dir}/log4j-api-2.11.2.jar" /> 8-<--8-<------8-<--8-<--8-<-- > -Ursp

AW: Creating task/macro wrappers

2019-02-25 Thread jhm
Not sure why you want to wrap an existing Ant task ... If you want to provide default settings, you could use Jan > -Ursprüngliche Nachricht- > Von: Isaac Jurado [mailto:dipto...@gmail.com] > Gesendet: Sonntag, 24. Februar 2019 18:27 > An: Ant Users List; gudnabr...@gmail.com > Betreff:

AW: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread jhm
Could you post the content of the manifest file and your directory structure? I suppose that the paths are not correct … Jan Von: Dennis Putnam [mailto:d...@bellsouth.net] Gesendet: Montag, 25. Februar 2019 13:09 An: user@ant.apache.org Betreff: Re: AW: Javac Run By Ant Script is Unable

Re: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-25 Thread Dennis Putnam
My apologies again but I have not made any progress on this problem. Is there perhaps a better forum I should be using at this point? I did make one discovery. It appears that although the application works in Eclipse when I try to export it to a runnable jar using the Eclipse wizard, the resulting

Re: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-21 Thread Dennis Putnam
I found an article on adding Maven dependencies to my ant script. While I'm getting a successful build but the same exception when I run the jar, I hope this is getting me closer. At least the pom.xml is in the build. I am wondering if the added *fileset* is right and working. Here is my latest:

Re: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-21 Thread Dennis Putnam
Hi Jan, Thanks. I'm using option 4. At least that is what my build file is supposed to be doing. The problem is while the build is successful there is something wrong with the jar produced. I suspect the Maven dependencies are not linked in correctly in the compiled jar because the pom.xml is not

AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-20 Thread jhm
If you have created your JAR the first step is done. Starting the JAR could be done in several ways. Common is that you have to have all external classes on the runtime classpath: 1. Hard coded start script. Write a bash/bat-Script with the java command with all cp settings, e.g. (bat) @ech

AW: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-18 Thread jhm
Ant's fetch.xml) - use Ivy as dependency manager and use it to define the path's (see Ant's check.xml) Jan > -Ursprüngliche Nachricht- > Von: Dennis Putnam [mailto:d...@bellsouth.net] > Gesendet: Montag, 18. Februar 2019 14:35 > An: user@ant.apache.org > Betr

Re: AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-18 Thread Dennis Putnam
Hi Jan, Thanks. Things are starting to come together in my head. If I understand, ant doesn't need the Eclipse .classpath at all and only the classpath suggested by Matt is used by ant, right? On 2/18/2019 8:11 AM, Jan Matèrne (jhm) wrote: > Matt is correct: you are mixing Eclipse and Ant definit

AW: Javac Run By Ant Script is Unable to Find External Jars

2019-02-18 Thread jhm
Matt is correct: you are mixing Eclipse and Ant definitions. So here some points by me: * There is no default behaviour of . You have to specify the paths the compiler should use by yourself. * means, that the file or directory ".classpath" should be used for classpath. But the .classpath-file i

AW: jsch to apache mina for sshexec - Ant version 1.9.6 to 1.10.1

2019-01-11 Thread jhm
> We use ant internally in our build systems and heavily use sshexec/scp > and ssh tasks. These rely on jsch which is an external library. Now > that there is Apache Mina is there a way to move away from jsch to > apache mina? Jsch project is not very active, so we were looking for an > alternative

AW: [E] Javac: Command-Line Argument Files

2018-08-05 Thread jhm
Could you post your buildfile snippet and the build output? Jan > -Ursprüngliche Nachricht- > Von: Jose M Urena [mailto:jose.ur...@verizon.com] > Gesendet: Freitag, 3. August 2018 15:02 > An: Ant Users List > Betreff: Re: [E] Javac: Command-Line Argument Files > > the following suggestio

AW: deleting files not in whitelist

2018-07-18 Thread jhm
Sorry for not having the right time to digg into your solution. Two workaround come into my mind: 1. Copy your whitelisted files into a tmp directory, delete the whole src directory and copy the whitelisted files back 2. Use to convert your whitelist to an excludes-clause and use Jan

AW: ant version is not showing correctly

2018-04-19 Thread jhm
You should also check your $ANT_OPTS and remove the -XMaxPermSize=512m. The output sais, that Java8 does not support that anymore and so you'll get rid off this message. Jan > -Ursprüngliche Nachricht- > Von: govind nitk [mailto:govind.n...@gmail.com] > Gesendet: Mittwoch, 18. April 2018

AW: Stable link to apache-ant-*-bin.tar.xz?

2018-02-08 Thread jhm
There are two main pages for releases: * https://www.apache.org/dist/: actual releases * http://archive.apache.org/dist/: all releases The release policy [1] of the ASF enforces to have only the newest versions on the first. This is the primary directory for mirrors. Usually users are interested i

AW: "Local" Installation Location for Ant Extensions

2017-10-28 Thread jhm
You could specify the ivy.jar-location via -lib option. ant -lib path/to/ivy.jar myTarget Or you could specify it _in_ your buildfile, like in http://ant.apache.org/ivy/history/latest-milestone/samples/build.xml Jan > -Ursprüngliche Nachricht- > Von: Dawid Weiss [mailto:dawid.we..

AW: Task for "javapackager"?

2017-09-25 Thread jhm
Not sure, if this is the right one. Did you have a look at ant-javafx.jar? I have found that in JDK-1.8.0_77/lib and it contains an AntLib definition at com\sun\javafx\tools\ant\antlib.xml Jan >

AW: How to define a task with nested elements in Ant?

2017-06-05 Thread jhm
You could play that way: * use to transform that peace into a 'valid Ant buildfile' * use to call that generated file Jan > -Ursprüngliche Nachricht- > Von: Alexander Levin [mailto:a.le...@gmx.de] > Gesendet: Montag, 5. Juni 2017 01:39 > An: Ant Users List; Jan Matèrne (jhm) > Betreff:

AW: How to define a task with nested elements in Ant?

2017-06-03 Thread jhm
I dont know any easy way. Simplest thing would be writing that kind in Java. And if you dont want to download that jar from your buildfile you could the jar creation inline: - generate the code () - compile () - archive that () - include that () Via

Aw: Re: macrodef with parameters to pass to java task

2017-05-29 Thread Al Le
Yes, it works! Thank you! > Gesendet: Montag, 29. Mai 2017 um 12:16 Uhr > Von: "Stefan Bodewig" > An: user@ant.apache.org > Betreff: Re: macrodef with parameters to pass to java task > > On 2017-05-29, Al Le wrote: > > > in my ant script I'd like to define a macro (via macrodef) which would ca

AW: macrodef with parameters to pass to java task

2017-05-29 Thread jhm
With that macro definition you also could use the other available nested elements: Jan > -Ursprüngliche Nachricht- > Von: Stefan Bodewig [mailto:bode...@apache.org] > Gesend

Aw: macrodef with parameters to pass to java task

2017-05-29 Thread Al Le
I'm sorry, the last closing tag in the example should of course be "". > Gesendet: Montag, 29. Mai 2017 um 12:04 Uhr > Von: "Al Le" > An: user@ant.apache.org > Betreff: macrodef with parameters to pass to java task > > Hello, > > in my ant script I'd like to define a macro (via macrodef) which

AW: How to specify a password parameter in Java task

2017-02-27 Thread jhm
You could try to use a custom logger which detects that password and masks it. Because Ant can't distinguish if an is 'just' an argument or a password, there is no built-in solution. Jan > -Ursprüngliche Nachricht- > Von: Stefan Bodewig [mailto:bode...@apache.org] > Gesendet: Samstag, 25

Aw: Re: Ant get task to accept arbitrary header

2017-01-19 Thread Al Le
> Please, after changing the java code, what are the steps required to let > the tag accept children nodes and ? You should have methods like "setHeaders" (for the headers element) and "addHeader"/"addConfiguredHeader" for the nested elements. See https://ant.apache.org/manual/develop.html fo

AW: New PropertyHelper to Easily Add Colors to Ant Output

2017-01-15 Thread jhm
nice Jan Von: j...@dogsplayingpoker.org [mailto:j...@dogsplayingpoker.org] Im Auftrag von Joe's Diner Webmaster Gesendet: Samstag, 14. Januar 2017 01:33 An: user@ant.apache.org Betreff: New PropertyHelper to Easily Add Colors to Ant Output Here is a little PropertyHelper I wrote that e

AW: How to capture HTTP response with the status 500?

2017-01-15 Thread jhm
I just had a look at the source code. There is a special handling for HTTP-ResponseCodes for - MOVED --> follow redirect if specified -- 301: Moved Permanently -- 302: Temporary Redirect -- 303: See Other -- 307: Temporary Redirect - HTTP_NOT_MODIFIED (304 Not Modified) --> dont download i

AW: Is there an existing ant script library available for use?

2016-12-17 Thread jhm
You could write one buildfile and copy it 100times. Or use : the "master" buildfile is available e.g. on a share. The 100+ projects only have a So they could set some individual values. Jan > -Ursprüngliche Nachricht- > Von: Scot P. Floess [mailto:sflo...@nc.rr.com] > Gesendet:

AW: How to delete all files in a dirset

2016-10-20 Thread Al Le
Hua, Jan, thank you for the great example! My requirement is not quite "delete recursively all directories which contain a marker file". But very similar. It is: Delete recursively all directories which only contain files with some name patterns but no other files. If there are other files in t

AW: AW: How to delete all files in a dirset

2016-10-20 Thread jhm
If I understand your requirements right, you want to delete recursively all directories which contain a marker file. So maybe you could use this (have a deeper look at the task). Jan

Aw: AW: How to delete all files in a dirset

2016-10-20 Thread Al Le
> Could you use a ? I could use a fileset with "type=dir" filter, yes. But then I'd still have a problem of how to delete all files in these dirs. For now, I just use "apply" and execute "cmd /c rmdir /s /q " on each dir (I'm on windows). AL ---

AW: How to delete all files in a dirset

2016-10-20 Thread jhm
Could you use a ? Jan > -Ursprüngliche Nachricht- > Von: Al Le [mailto:al...@gmx.de] > Gesendet: Donnerstag, 20. Oktober 2016 12:08 > An: user@ant.apache.org > Betreff: How to delete all files in a dirset > > Hello, > > I have a dirset defined in my script. How can I delete all files >

AW: Multiple fileset and filelist comparisons

2016-04-26 Thread RZF, Aufg 481
If you just "upload" files, you could use the selector for getting changed files (by content). Jan -Ursprüngliche Nachricht- Von: lancelot.meuril...@oecd.org [mailto:lancelot.meuril...@oecd.org] Gesendet: Dienstag, 26. April 2016 13:53 An: user@ant.apache.org Betreff: RE: Multiple fil

AW: How to create a task associated a target

2016-04-26 Thread jhm
Try task.setOwningTarget( self.getOwningTarget() ); 'self' is referencing the task and the new created instance will get its owning target. Jan > -Ursprüngliche Nachricht- > Von: Al Le [mailto:al...@gmx.de] > Gesendet: Di

Aw: Re: MacroDef: Setting attribute via API should convert to lowercase

2016-04-17 Thread Al Le
> Thanks, should be fixed in git, will be fixed in 1.9.8 and 1.10.0. That's not fair! I've needed so long to identify the problem and create a bug report, and you fix it so quickly! :-) - To unsubscribe, e-mail: user-unsubscr...

Re: AW: Passing command Line args for a list

2016-03-09 Thread Scot P. Floess
Jan, Yeah that's what I thought would be wanted too... But I asked about the input tasks and apparently those are needed as well. So I was sorta confused about the whole thing. On Tue, 8 Mar 2016, Jan Matèrne (jhm) wrote: Something like that? Jan ant -Dantcontrib.jar=path/to/ant-contr

AW: Passing command Line args for a list

2016-03-07 Thread jhm
Something like that? Jan ant -Dantcontrib.jar=path/to/ant-contrib-1.0b3.jar -Dagent.list="node1,node2" -Dnode1.description=ServerA -Dnode2.description=AnotherServer starting Agent @{agent}: @{description}

Re: Aw: Re: XSL transformation with Ant: sorting a list

2016-03-07 Thread Earl Hood
On Mar 7, 2016 7:55 AM, wrote: > > If you are using the same JVM and simply executing the XSL differently, I don't see why not... If the classpath is not identical, you could get a different transform provider. For example, we use Saxon as our provider, overriding what is provided in the runtime

Re: Aw: Re: XSL transformation with Ant: sorting a list

2016-03-07 Thread sfloess
Al, It wasn't apparent to me why there'd be a difference... If you are using the same JVM and simply executing the XSL differently, I don't see why not... I mean once you kick of the XSL I can't imagine there is something different in running from Ant vs your Java app. I spent a number of ye

Re: Aw: XSL transformation with Ant: sorting a list

2016-03-07 Thread Klaus Malorny
On 07.03.2016 12:01, Al Le wrote: It does not occur if I perform it via a Java program I have to correct myself. It tried a java program in different JVMs, and it gives me different results. In one case it gives the correct result, in other cases still the wrong result is delivered. I could not

Aw: Re: XSL transformation with Ant: sorting a list

2016-03-07 Thread Al Le
Hello Scot, thanks for a quick response! > first you are killing yourself in the way you XSLT is > written > [. . .] > You are trying to do the work of the templating engine in your XSLT :) Yes, I know this is a "procedural" way of doing things and maybe not the best. But the example is just a

Aw: XSL transformation with Ant: sorting a list

2016-03-07 Thread Al Le
> It does not occur if I perform it via a Java program I have to correct myself. It tried a java program in different JVMs, and it gives me different results. In one case it gives the correct result, in other cases still the wrong result is delivered. I could not find out yet what the differenc

AW: How to get list of build files that will be executed for Ant build

2015-11-18 Thread jhm
Analyzing would be quite hard as you can include sub-builds dynamically: override the name from the command line or otherwise imported property value. add an additional subdirectory ... Especially if you think of using properties, their value can come from outside ... So analyzing in a genera

AW: How to get list of build files that will be executed for Ant build

2015-11-17 Thread jhm
Hacking is always ... surprising ;) as you use APIs in way they weren't intended for. But it makes fun :O I am not sure if you can get these information during runtime. But collecting during a build and analyzing afterwards could be possible using a custom BuildListener. With that you get all me

Re: AW: Class size

2015-11-04 Thread aalok singhvi
Yes. org...mave maven.compiler.plugin 2.6 false On Wed, Nov 4, 2015 at 9:44 AM, Martin Gainty wrote: > > is there a way to disable debug with maven > > > > From: apa...@materne.de > > To: user@ant.apache.org > > Subject: AW: Class size > >

RE: AW: Class size

2015-11-04 Thread Martin Gainty
org.apache.maven.plugins maven-compiler-plugin 3.2 1.8 1.8 apparently maven-compiler-plugin debug default is 'true'M- From: mgai...@hotmail.com To: user@ant.apache.org Subject: RE: AW:

RE: AW: Class size

2015-11-04 Thread Martin Gainty
is there a way to disable debug with maven > From: apa...@materne.de > To: user@ant.apache.org > Subject: AW: Class size > Date: Wed, 4 Nov 2015 08:34:37 +0100 > > I did an example and could see that behaviour. > > build.xml > - > > >include

AW: Class size

2015-11-03 Thread jhm
class file. Jan > -Ursprüngliche Nachricht- > Von: Jan Matèrne (jhm) [mailto:apa...@materne.de] > Gesendet: Dienstag, 3. November 2015 17:36 > An: 'Ant Users List' > Betreff: AW: Class size > > Next idea is using different compile flags, e.g. debug. >

AW: Class size

2015-11-03 Thread jhm
Next idea is using different compile flags, e.g. debug. Jan > -Ursprüngliche Nachricht- > Von: aalok singhvi [mailto:aaloksing...@gmail.com] > Gesendet: Dienstag, 3. November 2015 12:17 > An: Ant Users List > Betreff: Re: Class size > > Yes...both are using same JDK. > > On Tue, Nov 3,

AW: Class size

2015-11-03 Thread jhm
Are you sure that Maven and Ant are using the same JDK? Jan > -Ursprüngliche Nachricht- > Von: aalok singhvi [mailto:aaloksing...@gmail.com] > Gesendet: Sonntag, 1. November 2015 22:34 > An: Maven Users List; Ant Users List > Betreff: Class size > > Hello, > I have a basic question... >

RE: AW: AW: build_tools.jar missing

2015-09-08 Thread Martin Gainty
i'll check it out Thanks Jan Martin > From: apa...@materne.de > To: user@ant.apache.org > Subject: AW: AW: build_tools.jar missing > Date: Tue, 8 Sep 2015 08:03:06 +0200 > > The manifest task is available as and is part of the core Ant > distribution. > Th

AW: What are the plans for Ant 2.0?

2015-09-07 Thread jhm
Yes this is the right list. We don't have a release plan - next release comes when we (the PMC) decide to release one. Could be 1-2 years after the last release (like 1.9.5), could be just few weeks (like 1.9.6) - depends of the changes. 2.0 would be a version with massive changes in the archi

AW: AW: build_tools.jar missing

2015-09-07 Thread jhm
-- > Von: Earl Hood [mailto:earlh...@gmail.com] > Gesendet: Dienstag, 8. September 2015 02:40 > An: Ant Users List > Betreff: Re: AW: build_tools.jar missing > > On Mon, Sep 7, 2015 at 5:48 PM, Martin Gainty wrote: > > > https://ant.apache.org/manual/Tasks/ma

Re: AW: build_tools.jar missing

2015-09-07 Thread Earl Hood
On Mon, Sep 7, 2015 at 5:48 PM, Martin Gainty wrote: > https://ant.apache.org/manual/Tasks/manifest.html But you are not using that task, you are trying to define a new task: >> > > >classname="ManifestVersion" >> >classpath="..\build_tools.jar" /> >> > >> > cannot find M

RE: AW: build_tools.jar missing

2015-09-07 Thread Martin Gainty
https://ant.apache.org/manual/Tasks/manifest.html danke Martin __ > From: apa...@materne.de > To: user@ant.apache.org > Subject: AW: build_

AW: build_tools.jar missing

2015-09-07 Thread jhm
I dont know that task. Where does it come from? Jan > -Ursprüngliche Nachricht- > Von: Martin Gainty [mailto:mgai...@hotmail.com] > Gesendet: Montag, 7. September 2015 14:11 > An: us...@ant.apache.org; Ant Users List > Betreff: RE: build_tools.jar missing > > > > From: mgai...@hotmail.

AW: Question about my ant

2015-08-16 Thread jhm
You also could use the AntLib-Props. There is no official release, but you could use the CI-build. https://builds.apache.org/view/All/job/AntLib-props/lastSuccessfulBuild/artifact/distribution/binaries/ For usage you should have a look at the unit tests https://git-wip-us.apache.org/repos/asf?p=an

AW: tools.jar not found

2015-04-28 Thread jhm
I could implement a "suppress system property" (ant.suppress.toolsjar.warning). But I am not convinced of that idea ... What do the other committers think of that? Jan > -Ursprüngliche Nachricht- > Von: David J. B. Hollis [mailto:dhol...@aandoconsultancy.ltd.uk] > Gesendet: Dienstag, 28

AW: tools.jar not found

2015-04-28 Thread jhm
I thought using a custom Logger could solve your problem. That logger would simply supress special messages. But after failing tests I searched for that message: Locator.getToolsJar() prints directly to SYSO: public static File getToolsJar() { ... try to find tools.jar if (!tool

AW: tools.jar not found

2015-04-27 Thread jhm
Ant is a build tool. For some tasks (for example javac, javadoc) the tools from the Java _Development_ Kit are required. If you run with just a Java _Runtime_ Environment most of its tasks could be used, but not all - hence the warning. Set your JAVA_HOME to the installation path of your JDK. htt

AW: RE: Pass build failure message to the calling script

2015-03-25 Thread RZF, SG 481
-Ursprüngliche Nachricht- Von: Al Le [mailto:al...@gmx.de] Gesendet: Mittwoch, 25. März 2015 10:40 An: user@ant.apache.org Betreff: Aw: RE: Pass build failure message to the calling script > > Is it possible without parsing the output of Ant? If yes, how? > > output="out

Aw: RE: Pass build failure message to the calling script

2015-03-25 Thread Al Le
> > Is it possible without parsing the output of Ant? If yes, how? > > output="output.html" But doesn't it essentially mean parsing the build output -- something I'd like to avoid? I rather thought about Ant setting some kind of an environment variable when it exits. I.e. I'd specify some optio

AW: How do I create a customized build?

2015-03-20 Thread jhm
I would provide several jars: - application-core.jar: contains the application and the interfaces - application-activemq.jar: contains the interface implementations for ActiveMQ - application-hornetq.jar ... The approach you'll try to achieve (as I understand that) is having a "full jar" for each

AW: Problems parsing @@

2014-12-04 Thread jhm
This unit test passes under Ant 1.9.5alpha and 1.9.4. Jan > -Ursprüngliche Nachricht- > Von: Ryan Payton [mailto:rpay...@tibco.com] > Gesendet: Freitag, 5. Dezember 2014 03:13 > An: user@ant.

AW: exception expanding war file

2014-10-25 Thread jhm
Have you tried to unzip the war manually using another program? Jan > -Ursprüngliche Nachricht- > Von: KM [mailto:info...@yahoo.com.INVALID] > Gesendet: Freitag, 24. Oktober 2014 17:17 > An: Himanshu Gusain; Ant Users List > Betreff: Re: exception expanding war file > > we've already che

Aw: Re: How to override a property that was set in the command line via "-D..."

2014-07-31 Thread Al Le
> > > > > > > > > > > > > > > > and I call it as "ant -f main.xml" (no "-D...") then the called script gets > > the value > > "OTHER VALUE". > > > > So why do the

Aw: AW: AW: How to override a property that was set in the command line via "-D..."

2014-07-31 Thread Al Le
Gesendet: Donnerstag, 31. Juli 2014 um 14:27 Uhr > Von: "Knuplesch, Jürgen" > An: "Ant Users List" > Betreff: AW: AW: How to override a property that was set in the command line > via "-D..." > > Did you try inheritall=false option? > > -

AW: AW: How to override a property that was set in the command line via "-D..."

2014-07-31 Thread Knuplesch , Jürgen
Did you try inheritall=false option? -Ursprüngliche Nachricht- Von: Al Le [mailto:al...@gmx.de] Gesendet: Donnerstag, 31. Juli 2014 14:03 An: Ant Users List Betreff: Aw: AW: How to override a property that was set in the command line via "-D..." Hello. Thank you for the q

Aw: AW: How to override a property that was set in the command line via "-D..."

2014-07-31 Thread Al Le
e set as usual properties? I think they should be set in the same way. Cheers Al > Gesendet: Donnerstag, 31. Juli 2014 um 12:15 Uhr > Von: "Knuplesch, Jürgen" > An: "Ant Users List" > Betreff: AW: How to override a property that was set in the command line via

AW: How to override a property that was set in the command line via "-D..."

2014-07-31 Thread Knuplesch , Jürgen
Hello, because of the immutability of properties you have to redesign your scripts. The first time you set a property is it. You are usually not able t change it later. This is very important, because this is the only way to set properties from outside. Why does your command line call then use

AW: StarTeam Upgrade

2014-07-22 Thread Knuplesch , Jürgen
What I meant was: something. So let your tasks run and look what happens. Maybe you have written some tests? If you end up with unsolvable problems, we will try to help you. But out of the box, without seeing your tasks and jobs it is difficult to help, because we are not all-knowing -U

Re: AW: StarTeam Upgrade

2014-07-21 Thread Eric Fetzer
What is "sth" Jürgen? > On Jul 21, 2014, at 9:38 AM, Knuplesch, Jürgen > wrote: > > Try and ask if sth. wont work > > -Ursprüngliche Nachricht- > Von: Eric Fetzer [mailto:elstonk...@yahoo.com.INVALID] > Gesendet: Donnerstag, 17. Juli 2014 18:48 > An: Ant Users > Betreff: StarTeam

AW: StarTeam Upgrade

2014-07-21 Thread Knuplesch , Jürgen
Try and ask if sth. wont work -Ursprüngliche Nachricht- Von: Eric Fetzer [mailto:elstonk...@yahoo.com.INVALID] Gesendet: Donnerstag, 17. Juli 2014 18:48 An: Ant Users Betreff: StarTeam Upgrade We're upgrading our StarTeam version from 2009 to 14.2 and somewhere between 2009 and 14,

  1   2   3   4   5   6   7   8   9   10   >