try my variant:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> O
gt;
>
>
>
>
>
>
>
>
>
>
> Original Message
> From: Alan Snyder [mailto:contagiousarrow...@cbfiddle.com]
> Sent: Wednesday, December 20, 2023 at 23:37 UTC
> To: Ant Users List
> Subject: java
ocs could be better too. I wasn't able to find examples of on the site.
Please try my variant:
Original Message
From: Alan Snyder [mailto:contagiousarrow...@cbfiddle.com]
Sent: Wednesday, December 20
This actually does what I want:
The problem is that I don’t really want to specify srcdir, but if I leave it
out, the build fails (see below).
I would need to create a fake directory to use as srcdir to be sure that I
don’t accidentally compile unwanted source
Hello Alan,
It's hard to say what's going on. Do you have a build file (or a
snippet) to show what issue you are running into?
Which version of Java and Ant is this showing up on?
-Jaikiran
On 18/12/23 1:44 am, Alan Snyder wrote:
I know of a couple of ways to run javac on more than one sour
I know of a couple of ways to run javac on more than one source tree.
One way is to use nested src elements.
Another way is like this:
srcdir="${src}:${src2}”
I would like to generalize this solution to a dynamicly determined list of
source trees.
I thought that I could use srcpath for this p
Sent: Saturday, May 03, 2014 07:56
To: Ant Users List
Subject: RE: Ant javac task - error doesn't fail the build
The line that I had included in my initial question ( copied below again for
reference ) - the error is generated by javac task - it is not just me saying
"it is an
Sent: Saturday, May 03, 2014 07:56
To: Ant Users List
Subject: RE: Ant javac task - error doesn't fail the build
The line that I had included in my initial question ( copied below again for
reference ) - the error is generated by javac task - it is not just me saying
"it is an
The line that I had included in my initial question ( copied below again for
reference ) - the error is generated by javac task - it is not just me saying
"it is an error because the file size is zero". So, shouldn't the failonerror
be triggered in that situation, by ant?
558
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. If that does not cause any required classes
to be missed, that is not a compil
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
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 build failure. It shows successful completion. What change
> do I have to make so that it will return failure?
There
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_vie
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'
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
.
-Original Message-
From: Rainer Noack [mailto:rai...@noacks.net]
Sent: Thursday, January 31, 2013 6:28 PM
To: user@ant.apache.org
Subject: Re: ANT 'javac' task and 'fork' attribute
Hi,
yep, that's the behaviour how ant works.
why do you think
com.sun.tools.ja
7;s cp is expanded to jar-files in the directory.
try the element to set javac's classpath 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
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
in ANT starting with version 1.8.2 according to the documentation.
-Original Message-
From: Welsh, Armand [mailto:awe...@statestreet.com]
Sent: Wednesday, January 16, 2013 3:40 PM
To: Ant Users List
Subject: RE: Which javac does ant use in its "javac" task?
I understand
\*,C:\Software\WAS85\lib\*,C:\Software\WAS85\plugins\*]
-Original Message-
From: Maurice Feskanich [mailto:maurice.feskan...@oracle.com]
Sent: Wednesday, January 16, 2013 1:23 PM
To: Ant Users List
Subject: Re: Which javac does ant use in its "javac" task?
You may have already do
Hi, just for your understanding:
Ant's javac task is not a compiler itself, but calls the specified
compiler (if not specified otherwise, the javac of the jdk you are
running ant with.)
BUT: In the most cases Ant is passing a resolved classpath to the compiler.
Regarding the specified ord
ting this from what little details 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.
n...@oracle.com]
Sent: Tuesday, January 15, 2013 20:57
To: Ant Users List
Subject: Re: Which javac does ant use in its "javac" task?
According to the Ant 1.8.4 docs, wildcards are only supported in the 'location'
attribute of a pathelement or a classpath. Based on this
urice Feskanich [mailto:maurice.feskan...@oracle.com]
Sent: Tuesday, January 15, 2013 20:57
To: Ant Users List
Subject: Re: Which javac does ant use in its "javac" task?
According to the Ant 1.8.4 docs, wildcards are only supported in the 'location'
attribute of a pathelement or a
:/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 does ant use in its "javac" ta
Thank you. I presume this is answer to my first question - Which javac does
ant use? Is it in the ANT code that doesn't process the wildcard classpath? Is
this javac class a java compiler class, or just a class that defines ANT's
javac task ? If it is a compiler, then does it
manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: webservices_developm...@csx.com
> To: user@ant.apache.org
> Subject: RE: Which javac does ant use in its "javac" task?
> Date: Tue, 15 Jan 2013 23:38:40 +
>
> Sorry, ther
es ant use in its "javac" task?
Actually, currently I am testing with hardcoding the classpath as in below task
definition. I ultimately want to create a classpath from a string, but that is
next question, if I can get this working. This is the same path I am using in
my co
al Message-
From: Maurice Feskanich [mailto:maurice.feskan...@oracle.com]
Sent: Tuesday, January 15, 2013 3:41 PM
To: Ant Users List
Subject: Re: Which javac does ant use in its "javac" task?
Without knowing how you are creating the classpath for ant to use, it is
impossible to say w
Without knowing how you are creating the classpath for ant to use, it is
impossible to say why 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
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
: Ant Users List
主题: 答复: javac task encountered a compiling error at the 'import' statement
I've tried setting the classpath and sourcepath, still didn't work. But if I
removed the problematic import statement, compiling ok, which means the
classpath and sourcepath is right.
I
fix.
But I when using Eclipse, setting the project's java compiler's 'Compiler
compliance level' to 1.3, it was ok.
-邮件原件-
发件人: 汪燕青 [mailto:wangyanq...@gameabc.com]
发送时间: 2011年3月22日 10:20
收件人: Ant Users List
主题: 答复: javac task encountered a compiling error at the
javac task but still didn’t work. I don’t
know why.
Anyone faced the similar problem? How did you solve this?
Any suggestions would be highly appreciated!
The Eclipse project’s Java compiler setting is like this:
cid:image001.png@01CBE808.BD0895F0
And I set the javac
Hi all,
A few months ago, I submitted a small patch to the javac task, but I have
not heard any response as to whether or not the patch is reasonable. Is
there someone available who can triage it?
https://issues.apache.org/bugzilla/show_bug.cgi?id=48829
thanks for your help,
Andrew
I fixed this by changing all refid= to path=
zyellowman2 wrote:
>
> I am having an issue where my javac task is trying to include a jar in the
> classpath, but says that it cannot find the reference. The location that
> it says it is looking is in fact the directory that contai
I am having an issue where my javac task is trying to include a jar in the
classpath, but says that it cannot find the reference. The location that it
says it is looking is in fact the directory that contains the exact jar it
is looking for, case-sensitive and all.
The problem does not arise
I am using Ant 1.6.5.
The problem I am running into is that a wrong class is loaded.
I have IBM RAD installed on the system and it is using the class from
that directory tree.
I have setup my own classpath in the build.xml and it does not include
C:\IBM... entries.
So how can I prevent javac pic
t; Hi Raymond,
>
> Thanks for your reply.
> Actually I have two task in my build.xml. First task would
> compile everything from src dir "Adir" and jar it. Second task
> will compile a few java file from "Bdir" which could override some of
> first ones and cre
uld override some of
first ones and create another jar again. If I put a delete task before
second javac task, I would need to selectively delete some java classes
instead of deleting the whole output directory which is a little bit
complex :-). It would be nice if there is some other options to do
uld override some of
> first ones and create another jar again. If I put a delete task before
> second javac task, I would need to selectively delete some java classes
> instead of deleting the whole output directory which is a little bit
> complex :-). It would be nice if there is som
I put a delete task before
second javac task, I would need to selectively delete some java classes
instead of deleting the whole output directory which is a little bit
complex :-). It would be nice if there is some other options to do this.
I tried using "touch" java source before sec
, July 01, 2008 2:06 AM
To: user@ant.apache.org
Subject: how to force recompile everything using javac task
Hi,
how to force recompile everything using javac task?
Javac task always compare modify time with target classes. I want to
recompile java source no matter target classes exists and newer
Hi,
how to force recompile everything using javac task?
Javac task always compare modify time with target classes. I want to
recompile java source no matter target classes exists and newer.
Is there any options to achieve this?
Thanks,
1. What do you expect in your log?
2. Maybe just setting the loglevel would help
Jan
-Ursprüngliche Nachricht-
Von: glenn opdycke-hansen [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. Februar 2008 20:00
An: Ant Users List
Betreff: Re: how to record javac task?
Please try this
t;
> but nothing is getting recorded
> plz help me out.
> --
> View this message in context:
> http://www.nabble.com/how-to-record-javac-task--tp15268113p15268113.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---
hi all,
am beginner to ant tool.
am trying to record the compile task using ant as follows
but nothing is getting recorded
plz help me out.
--
View this message in context:
http://www.nabble.com/how-to-record-javac-task--tp15268113p15268113.html
Sent from the Ant - Users mailing
>
> On 10/8/07, Sunil Prabhakaran <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > Have you tried the Includesfile attribute in Javac task?
> >
> > Regards
> > Sunil Prabhakaran
> >
> > On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote:
&
No, I haven't. How can I use it?
On 10/8/07, Sunil Prabhakaran <[EMAIL PROTECTED]> wrote:
> Hi
>
> Have you tried the Includesfile attribute in Javac task?
>
> Regards
> Sunil Prabhakaran
>
> On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote:
>
Hi
Have you tried the Includesfile attribute in Javac task?
Regards
Sunil Prabhakaran
On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote:
> This is how my javac task looks right now.
>
> destdir="${build.classes.dir}">
>
>
>
>
This is how my javac task looks right now.
I want to move the include names to a properties file, so that my
javac task looks like:-
This will help me to put all the includes at one place in the
properties file like this:-
src.includes = UIManager.java
Try :
On Mon, 2007-10-08 at 16:20 +0530, Alexis Votta wrote:
> Currently, my compile target is as follows.
>
>
>
>
>
>
> So, it compiles everything in ${src.dir}.
>
> Apart from this I want to add one single Java file to be compiled.
> Therefore, I want:
>
> 1. All Java f
Currently, my compile target is as follows.
So, it compiles everything in ${src.dir}.
Apart from this I want to add one single Java file to be compiled.
Therefore, I want:
1. All Java files in ${src.dir} to be compiled.
2. rt/src/Crypto.java to be compiled.
How can I do this?
, August 25, 2007 5:36 PM
To: 'user@ant.apache.org'
Subject: Failonerror attribute of Delete and Javac task
Hi All,
My product build scripts are spanned across serveral build scripts. At
times, while deleting the temp folder, I use the
Hi All,
My product build scripts are spanned across serveral build scripts. At
times, while deleting the temp folder, I use the following :
Please note above in the target that I am using failonerror="false", which I
Keep in mind that a class file is generated for every Java class, NOT
for every source file. Source files can contain multiple classes
(although I generally don't like the practice, it's very common for
listener classes in GUI code). If B.java defined classes B and C, the
compiler would gener
Thanks Steve, I will look into this.
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 5:09 PM
To: Ant Users List
Subject: Re: Javac task query
Yadav, Akshat Kumar wrote:
> Thanks Peter for reply.
>
> I think ANT developer sho
Yadav, Akshat Kumar wrote:
Thanks Peter for reply.
I think ANT developer should think on extending there "javac" task to
provide such feature.
Thanks,
I must disagree. You should get into the habit of doing clean builds on
a regular basis, at least first thing every mornin
Thanks Peter for reply.
I think ANT developer should think on extending there "javac" task to
provide such feature.
Thanks,
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:46 PM
To: Ant Users List
Subject: Re: Javac task quer
nal Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:57 PM
To: Ant Users List
Subject: Re: Javac task query
No 'javac' task by itself will not delete class file whose source java
file has been deleted, and rightly so.
I do not think you would really
Thanks Prashant for reply.
I am talking for the situation where a.java, b.java and c.java are
independent java code files.
Thanks,
-Original Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:57 PM
To: Ant Users List
Subject: Re: Javac task query
No 'javac' task by itself will not delete class file whose source java
file has been deleted, and rightly so.
I do not think you would really want other source files to *not* compile
when you have deleted a dependent source file.
Imagine class A uses class C and you deleted class C
et me know...
Thanks,
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 7:04 PM
To: Ant Users List
Subject: Re: Javac task query
Yadav, Akshat Kumar wrote:
>
> Hi Prashant,
>
> I had executed ANT in verbose and debug mode and
Yadav, Akshat Kumar wrote:
Hi Prashant,
I had executed ANT in verbose and debug mode and it shows
[javac] HelloWorlApp.java added as HelloWorlApp.class doesn't exist.
Whereas the class file exist in dest dir. I tried adding/deleting dest
dir in classpath, but no luck in both the situation.
ubject: RE: Javac task query
Humm..
May be you could try running ANT in verbose mode, see why ANT thinks it
should compile .java files that are not modified.
Also, I think the destination dir the classes are directed to is
automatically added to classpath by ANT. So you may not need this :
&
cNDBBIMH
> [EMAIL PROTECTED]
> https://issues.apache.org/struts/browse/STR-2403
>
> Thanks,
>
> -Original Message-
> From: Prashant Reddy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 26, 2007 5:17 PM
> To: Ant Users List
> Subject: Re: Javac task query
>
&g
-2403
Thanks,
-Original Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 5:17 PM
To: Ant Users List
Subject: Re: Javac task query
Please see :
http://ant.apache.org/faq.html#always-recompiles
HTH
On Tue, 2007-06-26 at 16:15 +0800, Yadav, Akshat Kuma
Please see :
http://ant.apache.org/faq.html#always-recompiles
HTH
On Tue, 2007-06-26 at 16:15 +0800, Yadav, Akshat Kumar wrote:
> Hi All,
>
> Ant manual says "The source and destination directory will be
> recursively scanned for Java source files to compile. Only Java files
> that have no corre
Hi All,
Ant manual says "The source and destination directory will be
recursively scanned for Java source files to compile. Only Java files
that have no corresponding .class file or where the class file is older
than the .java file will be compiled."
Reference: http://ant.apache.org/manual/CoreT
Reformatted one is available in:
20070612125513.17951.qmail () webmail6 ! rediffmail ! com
On Tue, 12 Jun 2007 Scot P.Floess wrote :
>Can you reformat and show some samples?
>
>query wrote:
>>Sorry for the mail format.
>>
>>The issue with recompilation is not with jar file, but with class files.
Reformatted one is available in:
20070612125513.17951.qmail () webmail6 ! rediffmail ! com
On Tue, 12 Jun 2007 Scot P.Floess wrote :
>Can you reformat and show some samples?
>
>query wrote:
>>Sorry for the mail format.
>>
>>The issue with recompilation is not with jar file, but with class files.
Reformatted one is available in:
20070612125513.17951.qmail () webmail6 ! rediffmail ! com
On Tue, 12 Jun 2007 Scot P.Floess wrote :
>Can you reformat and show some samples?
>
>query wrote:
>>Sorry for the mail format.
>>
>>The issue with recompilation is not with jar file, but with class files.
Can you reformat and show some samples?
query wrote:
Sorry for the mail format.
The issue with recompilation is not with jar file, but with class files.
When I have already mentioned eg1.jar in classpath, hence compiler shouldn't recompile the common java files while compiling eg2 source files.
Sorry for the mail format.
The issue with recompilation is not with jar file, but with class files.
When I have already mentioned eg1.jar in classpath, hence compiler shouldn't
recompile the common java files while compiling eg2 source files. This issue is
arising only with ANT tool.
What can
27;t seem to be working.
On 8 Jun 2007 07:23:05 -, query <[EMAIL PROTECTED]> wrote:
I have already compiled some java source files using ANT <javac> task and created
a jar file(eg1.jar). I am using eg1.jar in the classpath to compile files in
E:\\ANTBUILD\\eg\\eg2\\sources.
I have already compiled some java source files using ANT <javac> task and
created a jar file(eg1.jar). I am using eg1.jar in the classpath to compile
files in E:\\ANTBUILD\\eg\\eg2\\sources.The log shows that in the classpath, it
is also including the destination folder as a classpath. Is
org
>Betreff: Rebuild in javac Task with include attribute
>
>
>Hi,
>
>There is something I do not understand in Javac Tasks with include
>attributes :
>
>
>
>
>
>
>
>
>
>
>Why at each launch of co
-javac-Task-with-include-attribute-tf3663136.html#a10235609
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a list of source files that must be supplied to javac as well
as several other tasks. It's a complex list with excludes, so I want
to factor it out as a path reference to avoid future copy-and-paste
bugs. But this doesn't seem to be possible!
My path reference is defined like this:
t; >
> >
> >On 24 Mar 2007 07:27:13 -, first last <[EMAIL PROTECTED]> wrote:
> >>
> >>Hi,
> >>
> >>I am new to ANT.
> >>Currently, iam using ANT 1.7 and java 1.5.0
> >>
> >>Earlier, I was compiling java files using
newbie to both java and ant!
>On Mon, 26 Mar 2007 Peter Reilly wrote :
> >You need to set the debug attribute to "true" on the javac task.
> >
> >By default the debug attribute is "false", this corresponds (since
> >I think ant 1.4) to -g:none.
&g
You need to set the debug attribute to "true" on the javac task.
By default the debug attribute is "false", this corresponds (since
I think ant 1.4) to -g:none.
should give the
same debug info as the default commandline javac.
Peter
On 24 Mar 2007 07:27:13 -
Hi,
I am new to ANT.
Currently, iam using ANT 1.7 and java 1.5.0
Earlier, I was compiling java files using command line javac.exe.
Now, I am compiling java files using ANT javac task. Though the build is
successful, I observed that the class files generated using ANT javac task is
smaller
>-Ursprüngliche Nachricht-
>Von: Brown, Carlton [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 5. März 2007 22:33
>An: user@ant.apache.org
>Betreff: Failing a javac task due to Xlint warnings
>
>Hi all,
>
>I am looking for a way to cause javac to fail if certai
Hi all,
I am looking for a way to cause javac to fail if certain warnings are
encountered (deprecation, etc).I did not see any attribute to
that would produce such behavior. My next thought was to
capture the stdout or stderr of javac into a property and then check it
in a nested in a tas
How does one get ant to run the Java 1.6 compiler with the -Xlint
argument in Eclipse?
I am using Eclipse with 1.6.5
Ron
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the svn-history about "self" ...
Jan
>-Ursprüngliche Nachricht-
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 28. November 2006 07:59
>An: Ant Users List
>Betreff: RE: How to silence javac task?
>
>
>:-)
>
>i just saved it
gt;-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 28. November 2006 08:50
>An: user@ant.apache.org
>Betreff: AW: How to silence javac task?
>
>mmm ... I had tested that in the past ...
>I did a retest on Ant 1.5 (failed, ok
n-history about "self" ...
Jan
>-Ursprüngliche Nachricht-
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 28. November 2006 07:59
>An: Ant Users List
>Betreff: RE: How to silence javac task?
>
>
>:-)
>
>i just saved it for further
:54 AM
To: user@ant.apache.org
Subject: AW: How to silence javac task?
Hihi - I thought I had implemented something ;-)
Jan
>-Ursprüngliche Nachricht-
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 27. November 2006 15:45
>An: Ant Users List
>Bet
Hihi - I thought I had implemented something ;-)
Jan
>-Ursprüngliche Nachricht-
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 27. November 2006 15:45
>An: Ant Users List
>Betreff: RE: How to silence javac task?
>
>
>Hi,
&
D]
Sent: Monday, November 27, 2006 3:40 PM
To: Ant Users List
Subject: Re: How to silence javac task?
I have to reply to a message because if I post my problem as a new
message it is always rejected as spam!
Here is it:
I want to echo the current target name. Is this possible?
The
I have to reply to a message because if I post my problem as a new message it
is always rejected as spam!
Here is it:
I want to echo the current target name. Is this possible?
There is no build-in property ant.target.name. Maybe another way?
Why I want to do this? Because if a
understand the sense of "extdirs" options.
Anyway works fine without using it.
-Original Message-
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
Sent: mercredi 30 août 2006 16:04
To: Ant Users List
Subject: Re: Change JAVA home for one Javac task and not the other
Hello Sebas
> -Original Message-
> From: Marc Farrow [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 30 August 2006 11:10 PM
> To: Ant Users List
> Subject: Re: Change JAVA home for one Javac task and not the other
>
> Can't you just specify the source level when you ca
Hello Sebastien, Marc,
you have to fork the in this case.
so
Regards,
Antoine
Original-Nachricht
Datum: Wed, 30 Aug 2006 09:39:43 -0400
Von: "Marc Farrow" <[EMAIL PROTECTED]>
An: "Ant Users List"
Betreff: Re: Change JAVA home for one Javac task
Can't you just specify the source level when you call the javac task? The
same as
Something like
javac -source 1.3 -target 1.3 com.mycompany.MyClass.java
On 8/30/06, Noel Sebastien (BIL) <[EMAIL PROTECTED]> wrote:
Hello,
I have one build.xml, with two Javac tasks (amongt several
Hello,
I have one build.xml, with two Javac tasks (amongt several other ones).
The first javac task uses the default java.home (which is our JDK 1.4.1) =>
works fine
The second javac task should use another java.home (JDK 1.3.1 for example) =>
but how do change the javac path ? Somethin
It wouldn't help here because javac.exe writes to error stream both warnings
and errors. javac.exe should be quiet regarding warnings if I say so
(nowarn=true), but not regarding errors. Thats the problem.
James Abley <[EMAIL PROTECTED]> wrote:
I run 1.6.5 and haven't looked in SVN to see i
I run 1.6.5 and haven't looked in SVN to see if it's on the roadmap, but
would enhancing to support I/O redirectors [1] be of any use here?
Cheers,
James
[1] http://ant.apache.org/manual/CoreTypes/redirector.html
Dominique Devienne wrote:
So 2. and 3. are _always_ logged irrespective of use
1 - 100 of 175 matches
Mail list logo