RE: Extracting individual tokens after using stringtokenizer

2015-05-25 Thread WebServices Development
s the might works of God." > On 25 May 2015, at 9:58 pm, WebServices Development > wrote: > > I am trying to extract individual tokens in ANT after using stringtokenizer > to separate the tokens out. Is it possible? How do I do it without using any > other external an

Extracting individual tokens after using stringtokenizer

2015-05-25 Thread WebServices Development
I am trying to extract individual tokens in ANT after using stringtokenizer to separate the tokens out. Is it possible? How do I do it without using any other external ant libraries like ant-contrib? I attempted to do below, but am stuck at extracting individual tokens

RE: Need help with ANT javac classpath

2014-09-16 Thread WebServices Development
sage- > From: Dominique Devienne [mailto:ddevie...@gmail.com] > Sent: Monday, September 15, 2014 11:30 AM > To: Ant Users List > Subject: Re: Need help with ANT javac classpath > > On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development < > webservices_developm...@csx.

RE: Need help with ANT javac classpath

2014-09-15 Thread WebServices Development
AM To: Ant Users List Subject: Re: Need help with ANT javac classpath On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development < webservices_developm...@csx.com> wrote: > P.S - I tried adding includejavaruntime="false" and > includeantruntime="false" a

Need help with ANT javac classpath

2014-09-15 Thread WebServices Development
I have an old application which is using JAXB version 1.0. When I pull in the projects in Eclipse, it compiles fine because it references the jaxb jars from my web-inf/lib. When I am defining an ANT javac task for it, I get compilation errors because the jaxb classes from rt.jar take prefere

RE: How to use a variable value in ANT refid

2014-09-13 Thread WebServices Development
ork for me -Original Message----- From: WebServices Development [mailto:webservices_developm...@csx.

How to use a variable value in ANT refid

2014-09-12 Thread WebServices Development
I am trying to use a value of a variable with path refid in ANT. I tried different approaches and am getting different errors. Is it possible to use a variable value for refid? Reference ${ant.refid:seq.1} not found. OR

RE: Ant javac task - error doesn't fail the build

2014-05-15 Thread WebServices Development
c] 1 warning [echo] javac error : ${javac.failed} And no java classes are actually compiled I would like to capture the error statement generated by javac and fail the build. Is that possible? -----Original Message- From: WebServices Development [mailto:webservices_developm...@csx.com]

RE: Ant javac task - error doesn't fail the build

2014-05-13 Thread WebServices Development
c] 1 warning [echo] javac error : ${javac.failed} And no java classes are actually compiled I would like to capture the error statement generated by javac and fail the build. Is that possible? -----Original Message- From: WebServices Development [mailto:webservices_developm...@csx.com]

RE: Ant javac task - error doesn't fail the build

2014-05-03 Thread WebServices Development
ct: Re: UNS: RE: Ant javac task - error doesn't fail the build On Fri, 02 May 2014 11:05:51 +, WebServices Development wrote: > But with this one, I don't get the build failure, Possiby because this is not really an error. If a zip file you specified is empty, then it is empty

RE: Ant javac task - error doesn't fail the build

2014-05-02 Thread WebServices Development
mx.de] Sent: Friday, May 02, 2014 6:03 AM To: Ant Users List Subject: Re: Ant javac task - error doesn't fail the build On Fri, 02 May 2014 09:16:11 +, WebServices Development wrote: > We have an ANT javac task which generates an error like below, but the build > doesn't return

Ant javac task - error doesn't fail the build

2014-05-02 Thread WebServices Development
We have an ANT javac task which generates an error like below, but the build doesn't return build failure. It shows successful completion. What change do I have to make so that it will return failure? 558 4/28/14 1:09 PM EXEC[javac] error: error reading /view/dev_view/vob/

ANT Custom tasks - difference between using getProject() and "new Project()"

2013-05-26 Thread WebServices Development
I am trying to create a custom ant task to copy files to a specified location based on some criteria provided to the task. I am using ANT's Copy task for my custom task. I have seen some discussion about using one of the two - getProject() and "new Project()" but haven't found any discussio

RE: ANT 'javac' task and 'fork' attribute

2013-02-07 Thread WebServices Development
Can someone give me an example of using jdk6 style wildcard classpath with compilerargs? Thanks -Original Message- From: WebServices Development [mailto:webservices_developm...@csx.com] Sent: Friday, February 01, 2013 6:42 AM To: user@ant.apache.org Subject: RE: ANT 'javac'

RE: ANT 'javac' task and 'fork' attribute

2013-02-01 Thread WebServices Development
ng for an example. Thank you. -Original Message- From: WebServices Development [mailto:webservices_developm...@csx.com] Sent: Thursday, January 31, 2013 10:54 PM To: user@ant.apache.org Subject: RE: ANT 'javac' task and 'fork' attribute From the link here (http://mindprod

RE: ANT 'javac' task and 'fork' attribute

2013-01-31 Thread WebServices Development
path directly. rgds Rainer Am 31.01.2013 20:57, schrieb WebServices Development: > While researching when trying to figure out why I could not use the wildcard > classpath for the javac task- even in ant 1.8.4 ( wildcards are supposed to > be allowed since Ant 1.8.2 )- here is what I

ANT 'javac' task and 'fork' attribute

2013-01-31 Thread WebServices Development
While researching when trying to figure out why I could not use the wildcard classpath for the javac task- even in ant 1.8.4 ( wildcards are supposed to be allowed since Ant 1.8.2 )- here is what I have inferred. Can someone please let me know, if the inference is correct or am I mis-guided s

How to debug ant source inside RAD / Eclipse

2013-01-20 Thread WebServices Development
Is there a way to debug ANT source by using it to build inside Rational Application Developer ( RAD ) or Eclipse? I have downloaded the ANT 1.8.4 source and did a build in RAD using the build.xml which created the ant jar files. I then tried to create a launcher using these built jar files, bu

RE: Which javac does ant use in its "javac" task?

2013-01-17 Thread WebServices Development
etails do exist in the documentation. -Original Message- From: WebServices Development [mailto:webservices_developm...@csx.com] Sent: Tuesday, January 15, 2013 5:40 PM To: Ant Users List Subject: RE: Which javac does ant use in its "javac" task? Thank you. I presume this is ans

RE: Which javac does ant use in its "javac" task?

2013-01-17 Thread WebServices Development
ne this, but at this point I'd say run ant in fully verbose, debug mode and see if anything shows up that indicates what it going on. Sorry I couldn't provide more help. Maury On 01/16/13 01:33, WebServices Development wrote: > Thank you Maury. > > I made the change and

RE: Which javac does ant use in its "javac" task?

2013-01-16 Thread WebServices Development
classpath. Based on this, your classpath element should be: Maury On 01/15/13 15:38, WebServices Development wrote: > Sorry, there was a typo on javac call classpath. It should have been > > JAVA_HOME=/opt/local/software/websphere/v7/java/bin > export JAVA_HOME > J

RE: Which javac does ant use in its "javac" task?

2013-01-15 Thread WebServices Development
t; path="/home/ab/antcode/RAD8ProjectsWAS7Server/StarterWeb/WebContent/WE > B-INF/lib/*;/opt/local/software/websphere/v7/lib/*;/opt/local/software > /websphere/v7/plugins/*"/> > > > > _ > From: WebServices Develop

RE: Which javac does ant use in its "javac" task?

2013-01-15 Thread WebServices Development
EB-INF/lib/*:/home/ab/antcode/build/classes:/opt/local/software/websphere/v7/lib/*:/opt/local/software/websphere/v7/plugins/*: Ant _____ From: WebServices Development Sent: Tuesday, January 15, 2013 6:06 PM To: Ant Users List Subject: RE: Which javac do

RE: Which javac does ant use in its "javac" task?

2013-01-15 Thread WebServices Development
hy it is not working for you. It may be something as simple as using the wildcard in a way that has ant expanding it rather than it being passed through to javac. Maury On 01/14/13 17:23, WebServices Development wrote: > I am using ant 1.8.4. My JAVA_HOME is set to the location of JDK

Which javac does ant use in its "javac" task?

2013-01-14 Thread WebServices Development
I am using ant 1.8.4. My JAVA_HOME is set to the location of JDK 7. I have a set of classes that use a list of jars from a given library location. When I use command line jdk to do the compile it gives different results from using ant script to do the compile. The classpath definition is same