ink 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
> "-D..."
>
>
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
;...thou hast hidden these things from the wise and understanding and
> revealed them to babes."
>
>> On 22 Jul 2014, at 12:10 am, Eric Fetzer
>> wrote:
>>
>> What is "sth" Jürgen?
>>
>>> On Jul 21, 2014, at 9:38 AM, Knuplesch, Jürg
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,
leSet fs = (FileSet) rc;
DirectoryScanner ds = null;
try {
ds = fs.getDirectoryScanner(getProject());
Jan
> -Ursprüngliche Nachricht-
> Von: Knuplesch, Jürgen [mailto:juergen.knuple...@icongmbh.de]
> Gesendet: Dienstag, 25. Februar 2014 16:07
> An:
Hello,
I want to create a new fileset inside a ANT-Task using this:
FileSet createdFileset = new FileSet();
createdFileset.setDir(new File(basedir));
When I do this to get the files:
createdFileset.getDirectoryScanner();
I get a NPE.
What else do I need to do to set up a ne
Hello,
This should also run using Mac: Did you copy the antcontrib.jar to your Mac?
Can you show us your error log?
I use on Windows and Linux
Juergen
-Ursprüngliche Nachricht-
Von: BryanBerg [mailto:bb...@spawar.navy.mil]
Gesendet: Mittwoch, 29. Januar 2014 01:18
An: user@ant.apache
Hallo,
I wrote my own AntLogger to run a task in the end. This was necessary to rename
log files that were otherwise locked by the Ant job:
In the logger I call in the buildfinished (this method is part of the usual
logger) method a method that starts the final target:
public void buildFinis
Show us the ANT-code!
Just set the classpath inside ANT.
-Ursprüngliche Nachricht-
Von: LoburDenis [mailto:d.lo...@samsung.com]
Gesendet: Dienstag, 28. August 2012 15:33
An: user@ant.apache.org
Cc: m.shy...@samsung.com
Betreff: priority question
Hello!
I'm engineer in Samsung R&D Cente
Just add the javac options that reduce the javac warnings into your javac task.
This javac who tells you whats wrong, not Ant himself.
-Ursprüngliche Nachricht-
Von: xsli2 [mailto:xs...@yahoo.com]
Gesendet: Mittwoch, 4. April 2012 15:23
An: user@ant.apache.org
Betreff: How to turn off the
What Java is Ant running with?
-Ursprüngliche Nachricht-
Von: xsli2 [mailto:xs...@yahoo.com]
Gesendet: Montag, 2. April 2012 23:02
An: user@ant.apache.org
Betreff: the classes in rt.jar cannot be found during ant build
Hi,
In my build.xml,
...
In the run configuration in Eclipse you need to check and probably adapt the
Java version.
You can use several Java VMs together witzh Eclipse, so you need to configure
which one to use together with your ANT job.
By default the default JRE from Eclipse is used.
-Ursprüngliche Nachricht
ANTServer belongs to antcontrib and is a very nice extension.
You are able to start ANT builds on a remote machine by using antserver task...
-Ursprüngliche Nachricht-
Von: Benjamin Bryan [mailto:bbr...@litehouseinc.com]
Gesendet: Mittwoch, 29. Februar 2012 18:17
An: user@ant.apache.org
B
Alternativly use if-Task of antcontrib to do it in one step.
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-299
Geschäftsführer: Uwe
Hi everybody,
I come across with a problem with rmic.
I might have found sth. Like a bug or mysterios behaviour of Ant 1.7.
I was working wit Ant 1.6.5 and still do. But my Eclipse DIE changed to ANT 1.7.
If I run the following rmic task:
I get errors like:
: Class de
The simplest way I can think of ist to write 3 Tests and one method, that does
the work. This method gets the parameters from the test_DE test_US method etc.
Junit has therefore three Tests with names that show what your Test is testing.
--
Jürgen Knupleschwww.icongmbh.de
i
Please check for activate.jar, mail.jar files in your ANT_HOME/lib directory.
Knuplesch, Jürgen wrote:
>
> When I run the mail task I often get this Errormessage:
>
> mailtest:
> [mail] Failed to initialise MIME mail: javax/mail/MessagingException
> [mail] Sendi
When I run the mail task I often get this Errormessage:
mailtest:
[mail] Failed to initialise MIME mail: javax/mail/MessagingException
[mail] Sending email: Mailtest
[mail] Failed to send email
BUILD FAILED
C:\DopeBuildBase\Build\DopeBuildServer\dopebuild_ant.xml:2973: IO error sen
Hello,
I use antcontribs "if" and have the following strange effect:
If I define a refid in antfile-passage, that is never reached (using if, else)
ant then
Try to access the refid it has the value that ist set in the not reached code!
Is this correct behaviour?
My Antfile looks like:
dope.fi
In the outline in Eclipse ther is a button, by which you can hide internal
targets. Internal targets are targets without description.
--
Jürgen
-Ursprüngliche Nachricht-
Von: mjdenham [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 20. November 2007 19:25
An: user@ant.apache.org
Betref
My javadoc-Task does not create Javadoc for all of the classes I give him in a
filest.
It also does not do anything, when I add certain classes.
What is wrong?
In my Ant file the junitreport Task runs out of memory!
Where is the best place to increase the memory?
Is it possible to fork junitreport?
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D
Solution1: If you use Eclipse you can define the classpath in Eclipse (with all
the jars) and then import it via geteclipseclasspath from Ant4eclipse project.
Solution2: The hard way I solved this problem in a similar case was:
1.Using fileset to get the jar files.
2.Using the for Task from an
Hello,
I am working under Windows XP.
I want to use an UNC-Path to put there documents created by Javadoc.
The challenge occurs, that I am able to create a directory via mkdir, but the
javadoc task interprets this path as a local path and not as a network path:
The mk
We set a Label for every .java File to show which files should get into the
Patch. Then we checkout using this Label.
The advantage is, that classes that should not go into the patch are not
checkouted. The problem is, that the programmer sometimes forgets to set the
Label.
--
Jürgen Knuples
Hello,
We use to solve this by creating a jar file out of the old build and put it in
the classpath, so that you are able to translate the new files.
The problem occurs when the changes of the new files leads to changes in the
.class files of files where teh .java code did not change.
But for
r eg
> maxmemory="128m">
>
> This link might help you more
> http://ant.apache.org/manual/CoreTasks/java.html
>
> Hth,
> Sumit
>
>
> -Original Message-
> From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 23, 2007 10:44 AM
>
@ant.apache.org
Betreff: RE: AW: Memory and Ant
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Knuplesch, Jürgen <[EMAIL PROTECTED]>
Sent: Tue, 23 Oct 2007 16:43:40 +0200
To: "Ant Users List"
Subject: AW: Memory and Ant
Hi Sumit,
Thank yo
t; to the tasks.
If you run ant with -v (verbose) option you would see that "maxmemory=128m"
translates into java.exe -Xmx128m.
HTH,
Sumit
To go far, explore first what is near..
-----Original Message-
From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Oct
Hello,
Is it possible to increase the memory of an Ant-Buildprocess via "-Xmx128m" and
where do I have to put it?
My Buildprocess quits with a java.lang.OutOfMemoryError Message.
Greetings
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711
Maybe you need more memory??
I use sth. like this:
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbH
Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
Von: [EMAIL PROTECTED] [mailto:[EMAIL PR
Better is to use the genkey task of ANT.
I prefer argument instead of argline, but then you have to set every single
word.
Instead of
write
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
Hello
Is it possible to use two or more propertys with the unless attribut?
The following doesnt seem to work:
It looks like that the >,< is interpreted as part of the property.
I cant find the answer to this question in the Ant-Doku.
Greetings
--
Jürgen Knupleschwww.i
Hello,
We have an Ant-File that executes a Batch-File (Windows .bat) and if the
Batchfile fails,
We get a return code=0.
But we want to evaluate errors.
How can the Batchfile tell the ANT-Skript that an error occurred?
Greetings
Jürgen
--
Jürgen Knupleschwww.icongmbh.d
If I define a fileset via a patternset and a id like that:
And now I add another file to the fileset-dir: ${dope.configdir.kunde}
E.g. like that:
Will editorHelp.jar be copied or not?
Is
I used antcallback from antcontrib in my Buildfile:
So I got back if one of my tests failed.
antFetch is the same für calling external Buildfiles.
Use http://sourceforge.net/project/showfiles.php?group_id=36177 to get
antcontrib.
--
Jürgen Knuplesch
Thank you! This is great, because I always was thinking of sth. Like that.
There are so many problems with the classpath...
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart
Hi,
I want to use ANT with on a machine with several JDKs and JREs.
How can I tell ANT which compiler to choose, without setting JAVA_HOME?
The standard JAVA is a JRE, and so the compile task doesnt work at all.
Greetings
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhau
Hello,
Depending on the task you use, you can define a lot of classpaths.
I usually use the classpath or classpathref attribute to set the classpath e.g.
for the javac task.
The question is: For which task you need the classpath and how do you set the
classpath??
This is how i trace the classp
Hi
There is a the ant4eclipse.jar which contains the tast geteclipseclasspath.
Look at http://ant4eclipse.sourceforge.net/ant-for-eclipse-download.html
Greetings
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
Hello,
To create a correct classpath it is sometimes necessary to order the .jar-Files
in the right sequence.
A fileset does not give the guarantee about the sequence.
What we have ist a directory with .jar-Files that should be included into the
classpath.
Then I build the classpath by doing a
Try this
http://sourceforge.net/project/showfiles.php?group_id=36177
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-299
Geschäftsfüh
Hello,
My expirience is, that Ant always gives you the full path, without a chance to
change it.
If someone shows how (you could write your own Ant-Task), I would be very
intersted.
My solution is to write the full filename into a textfile and then delete the
path with the replace task.
Probab
Hi Simon,
I always found it better to call CVS via ANT using commandline and argument
rather than command.
So maybe you want to try sth. Similar to this:
Hope this helps...
--
Jürgen Knupleschwww.i
Hi
I use tried to test the dirset wit the following lines (later I want to do sth.
With some dirs):
Sortlist ${sortlist.ausgabe1}
The result are not directories, as I expected, but the only file that is in
this path:
Buildfile: D:\Entwicklung\JK Nightly Bu
Hi,
I use an Ant Script tu run a lot of Junit Tests. I had to change the maxmemory
to 1024m to let all the Tests run.
But sadly I used Ant directly and not Eclipse.
But this is how I solved my memory problem in the Ant-Task:
Hello,
You are able to change values of patternsets ids etc.
You are in general not able to change properties (immutability).
The warning means: If you dont want to change the value of this id, then you
are in trouble.
But if this is exactly want you want, then everythings fine.
Greetings
--
Use the for Task of the antcontrib Extension for Ant.
Download: http://sourceforge.net/project/showfiles.php?group_id=36177
Tasks: http://ant-contrib.sourceforge.net/tasks/tasks/index.html
You need to add antcontrib using the taskdef task (sometimes more tricky than
it should), sth. Like:
Hello
Do you use argument line or argument value?
I always have troubles with argument line, because you dont know what cvs
command you do.
Use argument value for each command line argument as in the example I used:
Greetings
Jürgen
--
Jü
As far as I know, there is the possibilty to set a timeout, if that is waht you
want!
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-
50 matches
Mail list logo