thank you very much.
using execute rather than executeJava seemed to do the trick.
At 13:14 02/04/10 +1000, you wrote:
On Wed, 10 Apr 2002 12:57, tek1 wrote:
hello.
i've written a custom task that make a call to a third-party java .class.
unfortunately, that .class is calling
I am running the javac task with deprecation=on but I am not getting any
messages.
JBuilder does report the methods I have deprecated in our api
is this a bug
:-)
Tom Lister
* 020 7612 3030
* [EMAIL PROTECTED]
***
This
stand easy chaps it seems to be working now i've complied the right source -
doh!
:-)
Tom Lister
* 020 7612 3030
* [EMAIL PROTECTED]
-Original Message-
From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2002 11:14
To: 'Ant Users List'
Subject: deprecation
I am running
Hi,
I want to specify manually a log message on the cvs commit command runned
while building a build file with Ant.
When I build that file, an editor opens, but it isn't my $EDITOR which I
'm used to use with cvs. I don't know how to use that editor that Ant
provides...
2 questions:
- Which
Update:
Answers:
- it's the same one cvs uses, but cause there are some warnings, vi
starts in simple mode.
Warning: Output is not to a terminal
Warning: Input is not from a terminal
- No, see first answer
Hi,
I want to specify manually a log message on the cvs commit command
runned while
Thanks For reply.
But I have tried with failonerror=no in javac task. It seems that after one of the
compilation error for one class , it does not compile other classes which are not
depend upon the failed class.
Actually in my project there are 700 classes. After compilation of classes , the
This may be more of a cron issue than an Ant issue but sure many of
you have done this. Perhaps you can help.
I setup cron that calls a script that looks something like this:
#!/bin/sh
echo
echo $ANT_HOME
$ANT_HOME/bin/ant -logfile /export/programs/backups/antoutput -buildfile
ANT_HOME isn't defined in the shell the cron task runs in unless you run a
profile script as part of the cron job. eg 0 2 * * *
/u/user/.profile.sh;yourscript.sh
-Original Message-
From: Mike Lecza [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:05 AM
To: [EMAIL PROTECTED]
I suspected an environment variable issue, but I would recommend having your system
administrator putting ANT_HOME (remember to export it!) in the /etc/profile or
/etc/profile.d/rc.local startup file and then it'll be available to all appropriate
tasks.
Simon
Hi,
I'm attaching the (gzipped) log for compilation of cactus from CVS. You will
notice that when it comes time to run the tests, the first test fails and
everything else cr*ps out. I'm pretty sure that's not normal; if anyone can
point to me what direction I should look to in order to fix the
If you want to try an alternative command-line for your NT/W2k boxes, try Cygwin
(www.cygwin.com). I use it on the W2K box that I am forced to use and it makes the
whole experience much less painful.
Ant runs just fine under Cygwin.
Simon
As Diane says, using failonerror=no just makes the ANT build continue
rather than abort because of the compile error. There's no way to do what
you ask directly, since it's the Javac compiler that stops on the first
error, not ANT.
Failing on compile errors is entirely reasonable to most people.
But I have tried with failonerror=no in javac task. It seems that
after one of the compilation error for one class , it does not compile
other classes which are not depend upon the failed class.
failonerror prevents that build execution from stopping. It does not
continue
the compilaton.
--- John Keyes [EMAIL PROTECTED] wrote:
failonerror prevents that build execution from stopping. It does not
continue the compilaton.
^of the current javac task.
[...]
(I usually either have a separate build file per package or a separate
compilation target per
Yep - you guys where right about the environment variable stuff.
Thanx!
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:18 AM
To: Ant Users List
Subject: RE: Ant from Cron problem
I suspected an environment variable issue, but
--- [EMAIL PROTECTED] wrote:
I'm not sure if any of you folks use 4NT (from the 4DOS folks),
but if you do, Ant runs really strangely.
Fixed in 1.5alpha -- see:
http://marc.theaimsgroup.com/?l=ant-userm=101595544203313w=2
If you can't go with 1.5 until it's released, you should be able to
On 04/10/2002 12:19:22 PM, Diane Holt wrote:
Fixed in 1.5alpha -- see:
Thanks. Modified the one line in ant.bat that detects 4NT to
read %@eval[2+2]%. I had searched the ant-users mailing
list archive w/ no luck before posting.
And thanks, Simon, for the reference to Cygwin. I was just
hello, i've got a couple of things, i downloaded jakarta-ant-1.4.1-bin.zip
(and tar.gz) and when i do an ant -verbose target i get the following:
Ant version 1.2 compiled on October 24 2000
Searching for build.xml ...
Searching in C:\project\core\build\nt
Buildfile:
Are you sure you don't have 2 ant installations and its hitting the old one
first?
-Original Message-
From: Miriam Aguirre [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 11:48 AM
To: '[EMAIL PROTECTED]'
Subject: ant problems on windows
hello, i've got a couple of things,
-Original Message-
From: Miriam Aguirre [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2002 17:48
To: '[EMAIL PROTECTED]'
Subject: ant problems on windows
hello, i've got a couple of things, i downloaded
jakarta-ant-1.4.1-bin.zip (and tar.gz) and when i do an ant
-verbose target i
Is there a simple way to generate a dependency file for
inclusion into build.xml?
I have several .java files in a com.blah.blah package (in a
directory). One of the files is an Interface that one of the
other files uses. Ant chose to compile the non-Interface
file first, so it can't get the
--- Miriam Aguirre [EMAIL PROTECTED] wrote:
i added the full path to the bin as well :
C:\project\core\build\ntf:\jakarta-ant-1.4.1\bin\ant -verbose compile
Ant version 1.2 compiled on October 24 2000
What version of the wrapper script you're running won't make the
difference -- what you
From: tek1 [mailto:[EMAIL PROTECTED]]
...
hello.
i've written a custom task that make a call to a third-party
java .class.
unfortunately, that .class is calling System.exit(0) and stopping the
entire vm, which ant is running on. how do i fork a new java
vm within my
custom
From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]]
...
But I have tried with failonerror=no in javac task. It
seems that after one of the compilation error for one class ,
it does not compile other classes which are not depend upon
the failed class.
Isn't it the compiler, not Ant,
Thats weird. I downloaded 1.4.1 and get the following
C:\ant -version
Ant version 1.4.1 compiled on October 11 2001
-Original Message-
From: Miriam Aguirre [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 11:55 AM
To: 'Ant Users List'
Subject: RE: ant problems on windows
i am using jdk1.3.1_02
-Original Message-
From: Daniel Barclay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 1:27 PM
To: Ant Users List
Subject: RE: Javac Task(Urgent Help)
From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]]
...
But I have tried with failonerror=no
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]]
Failing on compile errors is entirely reasonable to most
people. If you
really want to build as many jars as possible, do not compile all the
classes at onee. Compile only the classes of each jar by using
Is there a way in Ant to delete files/folders that are older than X
days?
Regards
There is normally no such issue with javac. Without seeing the relevant
extracts from your build.xml, it's hard to tell what you problem might be.
--DD
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 12:09 PM
To: Ant Users List
--- [EMAIL PROTECTED] wrote:
Is there a simple way to generate a dependency file for
inclusion into build.xml?
There's the depend task, but it works once the class files are all
compiled (since it uses them to determine the dependencies).
I have several .java files in a com.blah.blah package
Hey,
I am generating javadocs using Ant Javadoc tag But it is failing.It
tries to find thesource files for all the Jar's/Zip files i have
included in the classpath.I don't understand why it tries to find the
source file for the Jar's is any one has any clues?
Here is my javadoc target..
Hi,
How do I access an environment variable in my build.xml file. e.g
I have an env variable - ORACLE_HOME
I want to have something like
target name=init
property name=ora.home value=ORACLE_HOME/
/target
Here I want to set the value of the property ora.home to environment
you can access these variables directly by setting the environment
property:
property environment=env/
property name=ora.home value=${env.ORACLE_HOME} /
--Tim
-Original Message-
From: Sarkar, Sudipta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:54 PM
To:
Add the following to your init
property environment=env /
property name=ora.home value=${env.ORACLE_HOME} /
-Original Message-
From: Sarkar, Sudipta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: Environment variables
Hi,
How do
What is the depend attribute does in javac task. Whether it will help me to solve
the problem.
-Original Message-
From: Daniel Barclay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 1:33 PM
To: Ant Users List
Subject: RE: Javac Task(Urgent Help)
-Original
This is my setting works fine..
target name=compile depends= description=Compile Java source code
!-- Compile the java code from ${src} into ${build} --
javac srcdir=${src} destdir=${build} debug=on deprecation=on
classpath refid=project.class.path/
/javac
/target
subhendukumar
On 10 Apr, To: Ant Users mailing List wrote:
Hi,
I'm attaching the (gzipped) log for compilation of cactus from CVS. You will
notice that when it comes time to run the tests, the first test fails and
everything else cr*ps out. I'm pretty sure that's not normal; if anyone can
point to me
On Mercredi, avril 10, 2002, at 09:10 , Diane Holt wrote:
--- [EMAIL PROTECTED] wrote:
Is there a simple way to generate a dependency file for
inclusion into build.xml?
There's the depend task, but it works once the class files are all
compiled (since it uses them to determine the
Is there any software out there that given a java file can create depend
tags for it? I have about 258 files and I really dont want to do these by
hand if I dont have to.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
--- Jorge Cardenas [EMAIL PROTECTED] wrote:
cvs -d :pserver:[EMAIL PROTECTED]:/usr/local/cvsroot
checkout error=2
Usted necesita agregar el directorio donde 'cvs.exe' vive a su %Path%.
Diane
=
([EMAIL PROTECTED])
__
Do You Yahoo!?
- Original Message -
From: Daniel Barclay [EMAIL PROTECTED]
To: Ant Users List [EMAIL PROTECTED]
Sent: Wednesday, April 10, 2002 10:15
Subject: RE: forking new jvm in ExecuteJava?
From: tek1 [mailto:[EMAIL PROTECTED]]
...
hello.
i've written a custom task that make a
- Original Message -
From: Jim Urban [EMAIL PROTECTED]
To: ant user [EMAIL PROTECTED]
Sent: Wednesday, April 10, 2002 10:05
Subject: J2SE 1.4
Is a J2SE 1.4 version of Ant available?
the version in CVS has a fix for property environment under XP, and a
source attr for javac and
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On 04/10/2002 03:10:30 PM, Diane Holt wrote:
There's the depend task, but it works once the class files are all
compiled (since it uses them to determine the dependencies).
Found that as well...seemed like a backwards thing do
do
Folks,
I created new datatype to for use by a new task. But typedef does not
appear to be working. (See bug 4452). I found that typedef was fixed for
ant 1.5. Is there a workaround for setting up typedef in 1.4.1?
Apologies if this has been asked before
Thanks for your help,
don
I think I know what the original post is about, or maybe it's just
similar to my own situation. Mine is with creating EJB jar files for hot
deployment.
In general, though, if (1) you are creating many different jarfiles off
of one build, (2) each jarfile has a core class or classes, and (3)
From: Jeff Sahol [mailto:[EMAIL PROTECTED]]
So yes, javac picks up the dependencies quite well, but it's not suited
for determining jar file contents.
Check out the new type classfileset which should help you here.
Conor
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
On Wed, 10 Apr 2002, Vijay Shinde [EMAIL PROTECTED]
wrote:
javadoc sourcepath=${src}
destdir=${javadoc}
excludepackagenames=com.*
author=true
version=true
use=true
windowtitle=EMPPORTAL
bottom=/
does it work if you remove bottom=?
47 matches
Mail list logo