You could alternatively try to untar just the file you want to check.
This might result in a build failure, that you can catch with antcontrib
-Ursprüngliche Nachricht-
Von: Ben Tu [mailto:ben...@gmail.com]
Gesendet: Freitag, 6. Mai 2011 18:09
An: user@ant.apache.org
Betreff: How can I ch
Hello,
I want to call Ant from another Ant File and send some filsets: sth like this:
The variable local.filesetlist stores now a list of two filset ids.
In antfile2 I want to do sth. like this (using antcontrib):
o an object defined elsewhere. Only yields reasonable
results for references to PATH like structures or properties."
Rob
direct: +1.613.270.5796 | robert.ech...@windriver.com
> -----Original Message-
> From: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
> Se
You need to run taskdef:
-Ursprüngliche Nachricht-
Von: laredotornado [mailto:laredotorn...@gmail.com]
Gesendet: Dienstag, 28. Juni 2011 17:32
An: user@ant.apache.org
Betreff: Including something from Ant contrib
Hi,
I'm using Ant 1.8.1. I have downloaded ant-contrib-1.0b3.jar a
I Use the from antcontrib to achieve this.
-Ursprüngliche Nachricht-
Von: Vimil Saju [mailto:vimils...@yahoo.com]
Gesendet: Donnerstag, 21. Juli 2011 23:17
An: Ant Users List
Betreff: optional depends for targets
Hi,
Is it possible for a target to optionally depend on another target? F
As far as I know: yes!
-Ursprüngliche Nachricht-
Von: Steve Amerige [mailto:steve.amer...@sas.com]
Gesendet: Montag, 25. Juli 2011 22:25
An: Ant Users List
Betreff: Is required within a block?
An easy question, I hope:
Is required within a block?
Assume that there is only one
Linux
On 2011-11-09, Knuplesch, Juergen wrote:
> when I run a task with
> fork="yes"
> under LINUX the test does not even start:
LINUX is a pretty broad term here. Which version of java are you using?
I use Ant on Linux using OpenJDK or Sun's Java without any problems.
Hello,
Best hint: Maybe you had a few programs in Eclipse started. To really stop your
Ant Task you have to make sure, that you stop the correct console.
I use Eclipse Indigo (3.7) and before I used 3.6 and 3.5.
I use it every day and I cannot remember to see such an effect.
But anyway stopping
Hello,
I just use a workaround (not to fork):
I made fork a configurable property.
Under Linux I set the property to false or no.
Then the tests are correctly executed.
But I would be happy to find the real solution.
At least I'm not alone anymore...
Jürgen
-Ursprüngliche Nachricht-
V
Hello,
I was creating an ANT-task that is using derby.jar as jdbc driver.
I put derby.jar in the front of the classpath of my task.
But every time I tried to reload sth. into my derby database it failed: sth.
like "JDBC driver not found"
Yesterday I found a workaround for my problem:
I
Addition:
You could also use the Task togeteher with
And of course use the fail-Task to make the Build fail
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart
Maybe you could copy the file without changing of the timestamp (attribute
preservelastmodified).
Then do the replace on your file.
Then test via if a change happened.
Delete the copy
This will only work, if replace does not change the timestamp, in case of no
changes.
Just an idea...
--
Jür
You should echo the property "folder-exists" in both targets.
Maybe the property is already set when you reach the first task. ANT will never
unset it.
CC runs a loop.
Find out in what situations the errer happens.
Is it the first call by CC or the second.
--
Jürgen Knuplesch
Use propertycopy or similar Task with regex from antcontrib
--
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 S
How do I run in Ant 1.6.5 a Junite-Tests that are stored in a classfile that
contains the .class-files of the tests.
uses a fileset, but how do I put the content of a jarfile to Junit?
If I do it in a Batchfile it is no problem.
Example this does not work (The jarfile is part of the junit.class
Hello,
In our network I use a lot of Ant-Files. I use the Maillogger and the
mail-Task. On one machine the mail task is working fine, but the Mailogger Mail
is missing. If I use this Antfile on a different machine, the maillogger Mail
is working fine. A few weeks ago it even worked fine on that
I had similar problems.
I suggest tghe following:
1. has a maxmemory attribute. I use 1024. I use forking.
2. Split the tests via include and exclude. I parted our tests into three parts.
3. Be sure that your memory option will not be overwritten by a later called
Batchfile
4. Increase the memor
Hello,
When I change a binary file with the replace-Task, the file is in a wrong
format.
If I do the change with a Editor the file is correct.
The replaced pattern is found only once in the document.
What is the difference between replace and doing the sam with an Editor?
Greetings
--
Jürg
What system you us? Linux, Windows???
Is wgwt a batchfile or a executable file?
The Ant manual says:
Note that .bat files cannot in general by executed directly. One normally needs
to execute the command shell executable cmd using the /c switch.
I discourage the us
I use the online doku (http://ant.apache.org/manual/) (you can download the
doku) and Steve Loughran / Erik Hatchers book.
--
Jürgen
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. Mai 2008 15:17
An: user@ant.apache.org
Betreff: ANT m
Thats just the special thing about ANT-properties: You can not change them, for
good reasons.
But JAVA_HOME does not look like an Ant-property. What do you want to do?
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstra
If I read this http://www.dbunit.org/anttask.html right, than you have to use
operation, export or compare.
I use JUNIT but not dbunit. I guess somewhere you have to tell the task, what
test you are running.
--
Jürgen
Von: tmni [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 20. Mai 2008 17
Use the task from antcontrib, which makes things easier.
--
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 Se
If you use Task or you can run the target with different
content of a property.
E.g.
I even use this in loops made with antcontrb.
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbH
y 28, 2008 at 11:03 AM, Knuplesch, Juergen < [EMAIL PROTECTED]> wrote:
> But if you use or it is like you would start ANT a
> second time. Therfore the properties are set in the target or script
> that you call. The old values are lost if you use the attribute
> Inheritall=f
uring one
> > execution of the build script.
> >
> > On this basis, the controlling ant script, build.xml cannot have the
> > component variable defined within it, even nested, as it potentially
> > needs to be redefined multiple times.
> >
> > The component.x
Do you have bsf.jar in the ANT-classpath?
(You can copy it in the lib-Folder of ANT)
See "Ant-Tasks"-"Library dependencies" in
http://ant.apache.org/manual/
--
Jürgen Knuplesch
Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
-Ursprüngliche Nachric
Hello,
I want to start an application using the java-Task.
My application writes files relative to the path I start it from.
The application is starting fine and writing files relative to the path of my
Batchfile, that starts the buildfile.
How can I set the working dir for my java-task, so th
Thanks. I could not see it
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Dominique Devienne [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 6. Juni 2008 17:55
An: Ant Users List
Betreff: Re: Current dir of ant-Build / Java-Task
> Or do I have to change the working dir of my buil
Use classname attribut instead of MANIFEST:
--
Jürgen Knuplesch
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 18. Juni 2008 09:26
An: user@ant.apache.org
Betreff: unable to execute JAR file
Hi All,
I have 10 java file
Hello,
I want to use antcall together with inheritall=false:
There are some targets that dont run, when paramsometimesunset is unset.
If I pass the parameter like this and paramsometimesunset is unset, it is set
in the called target.
But I want it to be just the same value (
You can do this by configuring the maillogger in your startscript:
ant build_ant.xml -logger org.apache.tools.ant.listener.MailLogger
Then you have to set the following properties
MailLogger.mailhost=
MailLogger.from=
MailLogger.failure.subject=failed
MailLogger.success.subject=successfull
[EMAI
To retrieve changed properties you can use antcallback or antfetch from
antcontrib.
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
Antcontrib has a Math Task to add and variables that can change their value.
It also has a for task.
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Ivar Bratberg [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 19. August 200
Am I right, that you use foreach from Antcontrib?
I guess that foreach does a usual ant task. This task never returns any
properties to the caller. It works only in one direction.
You could use the antcontrib for-Task combined with the antcontrib AntFetch
Task.
In AntFetch (and antcallback) you
You need junit.jar somewhere
--
Jürgen Knuplesch
Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
-Ursprüngliche Nachricht-
Von: JOMO00 [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 28. August 2008 09:06
An: user@ant.apache.org
Betreff: Re: java.lang.Cl
Hello,
Obviously you do not have the Testclass BaseServiceCommunicationManagerTest in
the classpath.
You do not do anything elementary wrong. It is "just" a classpath-problem.
(Missing jars, wrong written classes esp. Upper / lowercase)
This happens a lot and sometimes you loose your faith in I
Isn't that the default behaviour of the exec task?
How do you start your Batchfile?
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-29
machines get
rebooted.
For that I feel I need to make ANT execution wait for that batch file execution
to get complete. Any idea that apart from using some kind of time out what else
I can do to achieve that.
-Sactiw
Knuplesch, Juergen wrote:
>
> Isn't that the default behaviour
Hello,
What fails?
A task or the whole ant?
You can set the classpath in the tasks you call.
--
Jürgen Knuplesch
Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
-Ursprüngliche Nachricht-
Von: merlin_the_happy_pig [mailto:[EMAIL PROTECTED]
Gesendet: Freita
You could use the task from antcontrib and use two copy tasks depending on
your property.
--
Jürgen Knuplesch
Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121
-Ursprüngliche Nachricht-
Von: heights08 [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 6. September
Hello,
The error you get tells simply, that your created task is not an allowed
subelement of the jar-task.
You run into a syntax error.
It is not possible to change the jar task (or any other task) by adding your
own tasks as subelements.
Probably you have to write your own jar-task, that wi
classpath in the ant call of the calling build.xml, but
can't seem to get this to work?
Knuplesch, Juergen wrote:
>
> Hello,
>
> What fails?
> A task or the whole ant?
>
> You can set the classpath in the tasks you call.
>
>
>
> --
> Jürgen Knuplesch
Hello,
I want to run Junittests that are stored as classfiles in a jar file.
Is it possible with Ant 1.6.5 or Ant 1.7 to use the junit-task without unjar
the testfiles?
I want do do sth like this:
You have to add a property to design the compiler compliance to 1.4, 1.5 or 1.6.
Read the manual, to find out the name of the parameters!!
There are at least two ways to do this:
1.Many tasks have a fork option, where you can tell the JVM you want to use to
do this task
2.You simply could sta
What do you want to do with that?
Maybe it is easier to help, if we understand whar you want to achieve.
I use ant4eclipse which is a big help for me.
--
Jürgen
-Ursprüngliche Nachricht-
Von: Ben Stover [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 27. Oktober 2008 23:27
An: user@ant.
1.If you use the task junit-report, it will create HTML, tells all about which
test had an error or a failure and on the page of each Test there is a link to
stdout and stderr. I guess this is what you want???
2.When I use the junit-task Í get the following output on my console:
[junit] Testsui
Hello,
Again: The behaviour of ANT is ok, because you need this very often!
If you have no access at all to ant1.xml and this script is holy, so that no
one is allowed to change it and you need to call target t1, then there is no
way to change foo for target t2.
But...
You import ant1.xml, the
In my opinion, ANT is doing exactly what ANT should do.
The param attribute is used to overwrite selected properties in the called
target.
Param is not a datatype like properties. Param is just used to set properties
for a called task.
So, when you use antcall with param, it should always set t
You are right: Properties are immutable!
Your problem seems to be a different one:
If you do not run the target, the property wont be set.
Make sure you set the property in a task that is called before you use it
elsewhere.
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Al
Hello,
So what is happening instead? Is ANT waiting for the server to stop?
Is the server starting?
Did you try it with a more somple command to start on the remote machine? (sth.
Like "cat")
I used these days the exec-command on a Windows machine and it works fine now.
I use it to start
Never did this, but I would try sth like:
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. November 2008 05:43
An: user@ant.apache.org
Betreff: how to make replace task not expand Java properties like ${user.home}
Hi,
I upgraded from 1.6.5 to 1.7.1 a few weeks ago. Everything is working fine.
I use antcontrib and ant4eclipse a lot. No problems so far.
I had to upgrade because zipfileset is supported for the junit-task in 1.7.1
but not in 1.6.5 and
I had to run tests out of a jar-file.
Hope this helps a
Who creates this dir?
Who knows the name?
The best way is to pass the information on to your antfile.
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: ndario [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 26. November 2008 15:54
An: user@ant.apache.org
Betreff: ***
Hello,
1.I use antcontrib also a lot! I agree, that it would be nice to add this to
ANT.
2.You want ordered filesets not unordered filsets, but it should be the user
who defines the order!
I sometimes had the same problem. The problem is, that filsets do not guarantee
any order.
I think file
Use the to get the results in HTML.
--
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 Seltmann
HRB Stuttgart 1
So what do you want to do?
1.Run a junittest under Eclipse? (There is a good Junit plugin for Eclipse: Use
it!)
2.Run a junit-test under ANT? (e.g. run a bunch of tests in batchmode): Use
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto
hat is the only possible solution.
- Dave
> ---Original Message---
> From: Knuplesch, Juergen <[EMAIL PROTECTED]>
> Subject: AW: How can I figure out what JUnit test case is failing?
> Sent: Dec 04 '08 06:51
>
> So what do you want to do?
>
>
Better have two ways to start your Tests:
1.as Batch Ant
2.using the Eclipse JUNIT plugin without ANT
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Zmaj [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 7. Dezember 2008 23:25
An: user@ant.apache.org
Betreff: SPA
Hello,
What happens under Windows? The syntax should be the same.
What errors come up?
What do you want to do with the fileset??
If you use
The property fname has the full path.
--
Jürgen Knuplesch
Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811
Hello,
I would translate the "bat" files to ANT-Tasks.
This is a lot of work, but than your Antfile can decide what bat-jobs you run
and when.
Another way is to run the bat-files itself inside Ant using the exec-task,
which is a bit tricky to handle.
To be honest: I dont like Batchfiles, so I
ts the
process spawned by the exec task and is not remembered from one batch file to
the next so when I finally launch my java class, that environment from the
batch files is already gone, I think
---
Shawn Castrianni
-Original Message-
From: Knuplesch, Juergen [mailto:juergen.knuple...@ic
Hello,
we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT runs
fine together with Saxon processor. Inside Ant it does not run.
Why cant Ants XSLT not understnad this XSLT?
What is a good solution?
Integrate saxon into Ant? How?
Greetings
Juergen
--
Jürgen Knuplesch
An: Ant Users List
Betreff: Re: xslt Task
Le lundi 09 mars 2009, Knuplesch, Juergen a écrit :
> Hello,
>
> we want to intergrate a xsl-Transformation into our Buildprocess. The XSLT
runs fine together with Saxon processor. Inside Ant it does not run.
>
> Why cant Ants XSLT not
Hello,
If you read the ant.bat file you see
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar"
"-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp
"%CLASSPATH%" %ANT_CMD_LINE_ARGS%
Therefore "org.apache.tools.ant.launch.Launcher" out of "ant-launcher.j
Hello
What do you want to do with this jar?
Add it to Ant or use it to javac sth. Or else?
To integrate a jar on the classpath of Ant it is enough to put the jar in the
lib dir of Ant.
Greetings
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: eyalg1972 [mailto:
ant commands, is it
possible?
Eyal
Knuplesch, Juergen wrote:
>
> Hello
>
> What do you want to do with this jar?
> Add it to Ant or use it to javac sth. Or else?
>
> To integrate a jar on the classpath of Ant it is enough to put the jar
> in the lib dir o
classpath
Hi,
The problem is that I want to add to the classpath it a jar, not replace it...
Eyal
Knuplesch, Juergen wrote:
>
> Hi,
>
>
> Of course.
> The javac task has a nested classspath element and classpath attribute
> and you can add a classpath reference...
> Read
Hello,
I am using Saxon to run a special XSLT.
This XSLT has run well using saxon9.jar.
Now it had to be changed and now I get the following error:
[xslt] Processing D:\Temp\xsltPRL\install.dsf to
D:\Temp\xsltPRL\Ergebnis.html
[xslt] Loading stylesheet
D:\Entwicklung\Build\DopeBuildSe
like a bug in the stylesheet than like an ant issue. Have
you tried to run the stylesheet in a debugger or from the command line?
Stefan Krause
Knuplesch, Juergen schrieb:
> Hello,
>
> I am using Saxon to run a special XSLT.
> This XSLT has run well using saxon9.jar.
> Now it had to
You need log4j.jar in the compile-classpath
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: NR031 [mailto:nataraja...@cognizant.com]
Gesendet: Montag, 30. März 2009 12:02
An: user@ant.apache.org
Betreff: SPAM Class-Path error in Ant Script
Hi,
I am
I use propertyregex from antcontrib:
Property vm.propertyname=${vm.propertyname}
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Document [mailto:ddocum...@gmail.com]
Gesendet: Dienstag, 31. März 2009 00:46
An: user@ant.apache.org
Betreff: How to get substring
Please post an example of what you do
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Kúti Zsolt [mailto:kuti.zs...@prolan.hu]
Gesendet: Freitag, 3. April 2009 15:18
An: user@ant.apache.org
Betreff: jar task: update and service
Hi,
Accomplishing a jar task, I want to update my j
As I wrote last week in a different context:
I use propertyregex from antcontrib:
Property vm.propertyname=${vm.propertyname}
--
Jürgen Knuplesch
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophiens
Hello,
We run a bunch of Junit Tests using ANT.
A special test runs fine, when started separetly (using ANT) or is run in
Eclipse.
But, when we start all Tests the following error occurs:
[junit] Testsuite: functional.processlogic.SerialLetterTest
[junit] Test functional.processlogic.S
Hello,
I want to pack an applet with pack200 to reduce the size of the Applet.
I downloaded a pack200 ANT task
I go with my AntSkript through the strange process of building such a jarfile:
1.Building the unsigned jarfile using the jartask of ANT
2.repack it with pack200
3.sign the jar
4.pack it
Why not use XSLT to create XML out of XML?
Or you put some placeholders into your XML and use the replace task...
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: raghu guru [mailto:raghure...@gmail.com]
Gesendet: Montag, 11. Mai 2009 20:30
An: user@ant.apache.org
Betreff: Generat
Hello,
My challenge is:
I dont want to use the maillogger anymore, because our logs have become very
large.
So I started to use -logfile and store it with my Buildresults.
But on the other hand: I want to send a small mail, that tells me whether the
build was ok or not.
How can I do this?
Gree
Hello,
I want to install the Ant Source into a Eclipse project.
I downloaded the source, but it does not easily fit into the Eclipse
environment.
Is there an online help how to do this?
Does anyone have some hints, so that the adaption will be made easier?
Greetings
Juergen
--
Jürgen Knuples
Hello,
I just implemented a logger that runs a final Target.
In this target I save the logfile to a buildresult location in our network.
1.Is there an other way to do this (The logger knows, when the build is
finished, and so he can run the final target)
2.If no, is this an interesting feature f
Hello,
This doesnt look like a Java problem.
This seems to be a classpath problem.
The error says, that the whole antcontrib.jar could not be found.
Antlib.xml is inside the antcontrib.jar and defines the tasks of antcontrib.
The antcontrib.jar is probably not on the classpath of the Ant you are
Hello,
One way this could work is by wrting your own exec2 task by using the
source and add an argument of your choice that does the trick (an extension of
the env argument).
Probably a script (python, etc.) language is also able to set environment
variables.
So you could use the script task
Hello,
My selfwritten Ant Task is running into an exception.
BUILD FAILED
build_ant.xml:2315: The following error occurred while executing this line:
build_ant.xml:5428: java.lang.IllegalArgumentException: interface
com.intland.codebeamer.remoting.RemoteApi is not visible from class loader
I wo
Hello,
I do a taskdef with 1.7.1 like:
When I display the classpath referenced in java.classpathid I see a certain jar.
When I run the task it fails, because it can not find a class that is based in
that certain jar.
When I add the jar in the classpath of Ant it works.
This is strange,
Users List
Betreff: Re: Taskdef classpath does nor work
Is there some supplementary class that that class requires that isn't there
when you use it as you have it defined?
On Thu, 28 May 2009, Knuplesch, Juergen wrote:
> Hello,
>
> I do a taskdef with 1.7.1 like:
>
> cl
Nachricht-
Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
Gesendet: Donnerstag, 28. Mai 2009 16:50
An: Ant Users List
Betreff: Taskdef classpath does nor work
Hello,
I do a taskdef with 1.7.1 like:
When I display the classpath referenced in java.classpathid I see a
[mailto:sflo...@nc.rr.com]
Gesendet: Donnerstag, 28. Mai 2009 18:40
An: Ant Users List
Betreff: Re: AW: Taskdef classpath does not work - partII
So, how do you construct your class path?
Also, what is the exception?
On Thu, 28 May 2009, Knuplesch, Juergen wrote:
> Hello,
>
> I
how I can debug deeper what happens?
Greetings
Jürgen
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
Gesendet: Donnerstag, 28. Mai 2009 18:54
An: Ant Users List
Betreff: AW: AW: Taskdef classpath does not work - partII
conCodebeamerCVS\lib\cb-api.jar) to Ant it
> works.
>
> This is crazy. Im working now a whole day on this topic and can not find a
> reason.
>
> Has anyone an idea, whats going on or how I can debug deeper what happens?
>
> Greetings
>
> Jürgen
>
> --
&
17655
USt-IdNr.: DE 811944121
-Ursprüngliche Nachricht-
Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
Gesendet: Freitag, 29. Mai 2009 16:02
An: Ant Users List
Betreff: AW: Taskdef classpath still does not work - partIII
Hello,
Thanks for the suggestion, but sadly it did
;
> Greetings Juergen
>
>
> --
> Jürgen Knupleschwww.icongmbh.de
> icon Systemhaus GmbHTel. +49 711 806098-275
> Sophienstraße 40
> D-70178 Stuttgart Fax. +49 711 806098-299
>
> Geschä
Hello,
Is it possible to delete a single file inside a warfile in one step?
(I want to remove a certain library)
Greetings Jürgen
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h
Hello,
Not really, because I already have a warfile and want to throw out one jar.
I solved it now in two steps
1.copying the warfile
2.war the new warfile out of the copy and exclude the specific jar, similar to
what you mailed.
It would be nice just to delete sth. Out of a jar/war etc. with
Hello,
Just a guess: In the link you gave the code is:
Your code is:
Is this a lowercase problem?
Greetings Juergen
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: David Weintraub [mailto:qazw...@gmail.com]
Gesendet: Mittwoch, 3. Juni 2009 19:46
An: Ant Users List
Betreff: Re:
der();
So for certain tasks it is necessary to use the original classloader, that
loaded the task.
The code above replaces the classloader and the problem is solved!
Greetings Juergen
--
Jürgen Knuplesch
-----Ursprüngliche Nachricht-
Von: Knuplesch, Juergen [mailto:juergen.knuple...@ico
Hello,
You use antcontrib, there you have the var type that will do the trick.
In the end you should move the result into a property.
Initialize it:
And in the loop:
And move it to property:
--
Jürgen Knuplesch
-Ursprüngliche Nachricht---
Hello,
I would use from antcontrib to achieve this.
Sth.like
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Shawn Castrianni [mailto:shawn.castria...@halliburton.com]
Gesendet: Montag, 15. Juni 2009 07:18
An: 'user@ant.apache.org'
Betreff: Abort build with successful st
Obviously you dont have some necessary jar files on your compile classpath.
package org.eclipse.swt.widgets
You probably have this files on your Eclipse classpath / buildpath.
You have to add allof them to your compile classpath (see reference of javac
task)
If you use Eclipse: You could also u
Hello Artur,
You can achieve this with properties:
In your different maintasks (or property file) you do
or
or
--
Greetings from good old Germany
Jürgen
-Ursprüngliche Nachricht-
Von: Artur Rataj [ma
Hello,
Maybe ANT this way:
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: kleinfisch [mailto:kleinfi...@gmx.net]
Gesendet: Donnerstag, 9. Juli 2009 09:44
An: user@ant.apache.org
Betreff: SPAM fo
1 - 100 of 173 matches
Mail list logo