Directory issues come to mind...
-Original Message-
From: Jeff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 1:18 PM
To: [EMAIL PROTECTED]
Subject: CVS Problems with home directory
I have a ANT build script which runs fine on linux and
in the
external jars.
Any help you can give would, of course, be greatly appreciated!
Thanks.
-Jason Rogers
?xml version=1.0?
project name=postoffice default=build
property name=postoffice.dir value=Apps/PostOffice /
property
I fixed my problem by creating a path for all jars that has two fileset
attributes (one for each directory of jars).
Thanks.
-Jason
[snippet]
All-
I am trying to compile a particular project that depends
on external jar
files. Following is my simple build.xml but I
Too many files open? You need to either close some files handles or boost
the limit of file handles. Then, try the command again and see if it works.
-Jason
-Original Message-
From: Joe Gaffey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 7:21 AM
To:
I have been racking my brain for over an hour trying to figure out what I am
doing wrong and just can't get it.
I am trying to build a set of source files but I want to exclude certain
directories (using Ant 1.3 and Java 1.3). Here's a snippet:
target name=buildEA depends=buildJUnit
I think you can do the following. Set your JAVA_HOME variable to JDK1.3,
then change the JDK for the javac task using the 'build.compile' property
with a value of 1.1 or 1.2 or whatever. From the javac documentation in
the Ant User Manual: If you wish to use a different compiler interface than
Is there any reason to add in the expense of a Vector (vs. a List like
ArrayList)? Is there multithreading going on?
-Jason
-Original Message-
From: Matthew Inger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 11:30 AM
To: [EMAIL PROTECTED]
Oh yeah. Thanks.
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 11:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [antlist] custom task - how to pass *.java filenames
On Wed, 1 Aug 2001, Jason
From the manual:
Properties are defined in a hierarchical format with the following
precedence:
Properties defined on the command line or via a GUI tool
Properties defined in the text file which defines the project.
Properties defined in a file in the users user.home directory
Use start on the command line to get a background task (actually, it just
starts a new DOS window and executes the command).
-Jason
-Original Message-
From: Matthew Inger [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 03, 2001 9:35 AM
To: [EMAIL PROTECTED]
Cedric,
I missed it at first glance, but you will notice that the dir for the
tarfileset is actually one-up from the token dir:
tarfileset dir=${dist.name}/.. ...
It is starting at the parent dir of the ${dist.name}
-Jason
-Original Message-
From: Cedric Berger
Is it possible to use the uptodate/ task inside a target that calls
javadoc/ to determine whether the docs need updating?
Thanks.
Jason Rogers 734-769-5900 x 1449
Software Engineer
]
Subject: Re: uptodate with javadoc
Check out Ant's build file. It does this very check.
Conor
- Original Message -
From: Jason Rogers [EMAIL PROTECTED]
To: Ant Users (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, August 08, 2001 12:12 AM
Yes, it can be done within the Ant script... you just make a property/
like you would normally. In fact, if you want jikes to be the default, you
should set up the property like that, and then on occasion reset it from the
command line when need be.
-Jason
-Original Message-
this message - The system cannot find the path
specified. This shows up on the console even when I am directing the
output of Ant to a log file. Of course, any help is GREATLY appreciated.
Thanks.
Jason Rogers
Jason--
I guess you could try setting ANT_HOME to C:\jakarta-ant-1.3
instead of C:\jakarta-ant-1.3\bin ?
Richard.
-Original Message-
From: Jason Rogers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 12:23 AM
To: Ant
I read it wrong...
Thanks to all!
-Original Message-
From: Jason Rogers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 3:14 PM
To: '[EMAIL PROTECTED]'
Subject: RE: help with compiler
That seems to have worked... Isn't this wrong
I think you could do the following:
delete includeEmptyDirs=true
fileset dir=parent_of_dirname-* /
/delete
If that doesn't work, do an exec/ on the *nix command.
-Jason
-Original Message-
From: Ivan Bilenjkij [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09,
Thanks Glenn.
-Original Message-
From: Glenn McAllister [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 6:00 PM
To: [EMAIL PROTECTED]
Subject: Re: java switches
Jason Rogers wrote:
I am pretty sure this has been covered
Here's a kludgy thought... If you are fairly certain a System.exit(int) call
is being made, try plugging in your own SecurityManager which does not allow
for the call to System.exit(). Then, catch SecurityException and see what
the trouble is.
-Jason
Scott,
I just tried this on Win2000. I got an error from CreateProcess as well.
So, I tried setting the dir to the parent and then including the commands
directory in the executable - that worked. So try changing to this:
target name=Latest Test
echo message=Testit is executing now /
There's also Poseidon http://www.gentleware.com/products/index.php3
-Jason
-Original Message-
From: Jon Eaves [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 7:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [OT] UML/Diagramming tasks/tools?
It was supposed to be Objecteering, their website is
http://www.softeam.fr/us/
-Original Message-
From: Nico Seessle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 2:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [OT] UML/Diagramming tasks/tools?
What is the output of java -version ? I was running with 1.3.0-C and saw
this a lot on my big projects.
I logged a bug with Sun and got a message back from their bug team that they
were already aware of the issue and were currently trying to fix it. Of
course, the only work around for the time
update -dP does the same thing as a checkout (P prunes empty dirs). The
-d option tells the update command to create the directory structures if
they do not exist.
-Jason
-Original Message-
From: Nicolas Girard [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001
Does anyone know how to link to IDL doc within a javadoc task? The
following target produces a javadoc error because it is looking for
index.html/package-list in the linked documentation.
target name=javadocs depends=init, javadoc_check
[...]
link
/the/package/list/
HTH
Ernst
--- Jason Rogers [EMAIL PROTECTED]
schrieb: Does anyone know how to link to IDL doc
within a
javadoc task? The
following target produces a javadoc error because it
is looking for
index.html/package-list
Someone did have problems with this before... I believe that the answer was
that the server's clock was fast in relation to the client's clock. Do you
get the same behavior after waiting a significant amount of time (say a day
or so)? Is the server in the same time zone?
-Jason
props_file
# configuration for build monitor
mail.transport.protocol=smtp
mail.smtp.host=exch.mi.tumbleweed.com
mail.from=Jason Rogers [EMAIL PROTECTED]
build.log=build.log
build.failed.notify=true
[EMAIL PROTECTED]
build.failed.email.subject=Nightly build failed!
build.succeeded.notify=true
[EMAIL
listeners).
Erik
- Original Message -
From: Jason Rogers [EMAIL PROTECTED]
To: Ant Users (E-mail) [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, September 14, 2001 6:22 AM
Subject: need help with email listener
Below is my
fixed something that wasn't correct
like how it finds
the properties file and such.
Erik
- Original Message -
From: Jason Rogers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 14, 2001 7:01 AM
Subject: RE: need help
.
What version are u using?
Deepa.
-Original Message-
From: Jason Rogers [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 10:45 AM
To: 'Erik Hatcher'
Cc: Ant Users (E-mail)
Subject: RE: need help with email listener
Doesn't CVSROOT contain your server name?
:pserver:[EMAIL PROTECTED]:/anon/cvs/root
-Original Message-
From: Cornellious Mann [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 12:07 PM
To: [EMAIL PROTECTED]
Subject: CVS_SERVER
How do
You could use a System property:
-Dtests.properties=/tmp/test.properties
-jason
-Original Message-
From: Frot [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 2:36 PM
To: [EMAIL PROTECTED]
Subject: JUNIT search for properties files
I
You probably have the directories pre-created. Delete the directory(ies)
that correspond to your CVS module and try again.
-Jason
-Original Message-
From: Cornellious Mann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 11:53 AM
To: [EMAIL PROTECTED]
Title: using ant in the deploy process
Would
the FTP task not meet your needs?
-Original Message-From: Anthony Rodriguez
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 18,
2001 2:57 PMTo: [EMAIL PROTECTED]Subject:
using ant in the deploy process
I've been using Ant to
target name=preinit if=property.one, property.two, property.three,
property.four
property name=all.okay value=yes/
/target
All of the other targets have ...if=all.okay... set.
-Jason
-Original Message-
From: Ylan Segal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Azariah,
I don't believe so. It is very simplistic token replacement task. I think
you could extend the task however, or write one of your own. It shouldn't
be too hard.
-Jason
Is it possible to use regular expression in a filter?
I would like to be able to strip all lines
Diane,
Thanks for the correction and followup solution!
-Jason
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 6:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Checking if properties is set
--- Ylan
'cvs status -v' produces the following. 'cvs status' produces the same
thing without the information starting at Existing Tags:. What more are
you looking for?
$ cvs status -v build.xml
===
File: build.xml Status:
Providing us with the error message will help.
Some things to look for...
Add should be done in the directory that contains the file, I believe.
Import should be done from a temp directory with the -I ! param set in order
to reset the files to ignore (whatever that means). Here's an example:
Sorry about that...
try this:
exec dir=your temp dir executable=cvs.exe
arg line=import -I ! -m quot; A message about your import quot;
your_module vendor_tag revision_tag /
/exec
This is like doing a 'cd' command to the dir then executing the cvs command
with the command line variables set
The documentation is very clear, however, here it is:
ant/ task...
:p
-Original Message-
From: Barry Jia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 9:25 AM
To: '[EMAIL PROTECTED]'
Subject: how to call another build.xml in one build
You could always use the exec/ task, however, you would have to also add
the optional depends/ and/or conditional/ tasks for dependency checking
probably.
HTH.
-Jason
-Original Message-
From: JohnA [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 10:39 AM
Do you have a call in that test to System.getProperty(user.dir) or
something like that? Certainly ant is running the build file like you would
expect it to, it seems that it is actually something in the test that is
failing to pass.
:p
-Jason
-Original Message-
From: Magnús
1 - Using an exec task to run an executable in the bin
directory,
presumably because the exe-file is not found.
If it's on your PATH, it should be found.
2 - Using a System.loadLibrary() call inside my test
code, presumably
because the dll-file is not found.
Please send it along. Thanks.
-Original Message-
From: JohnA [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 5:58 PM
To: [EMAIL PROTECTED]
Subject: concatenate with depends (was: copy append?)
I have modified ConcatenateFiles to
This might be a dumb question, but did you set your ANT_HOME variable?
-Original Message-
From: Daniel Thivierge [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 10:01 AM
To: [EMAIL PROTECTED]
Subject: Help installing ant 1.4
I am
I don't completely understand Spanish, but I got enough of this email to
know that this was an unusually tasteless joke to post. Please don't do it
again. If I have misinterpreted, please correct me.
-Jason
-Original Message-
From: Edgar Sánchez [mailto:[EMAIL PROTECTED]]
It seems that the VAJAntTool does not recognize targets that are missing
descriptions. From the code, this is expected behavior. But, I wonder why
this is so. It certainly doesn't suit our purpose (so I have changed it),
but I wonder if in general it should be testing for the _name_ of the
Much agreed. Thank you!
-Original Message-
From: Ylan Segal [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 12:52 PM
To: [EMAIL PROTECTED]
Subject: RE: WTC Fun
Definitivamente no creo que sea el lugar para mandar
chistes acerca
It looks like you don't have the BSF packages in your classpath.
From the WHATSNEW file of Ant 1.4:
quote
* JUnitReport now uses the xalan redirect extension for multi-output.
With Xalan 1.2.2 it forces the use of bsf.jar in the classpath.
(Available in the xalan distribution). It is
to disable.
Jason Rogers wrote:
It seems that the VAJAntTool does not recognize targets
that are missing
descriptions. From the code, this is expected
behavior. But, I wonder why
this is so. It certainly doesn't suit our purpose (so
I have
I am trying to use an FTP task in a target, but I keep getting the familiar
build file name:line number: Could not create task of type: ftp.
Common solutions are...
Well, I have been using Ant for quite a while. The common solutions are use
taskdef to declare or if it's an optional task (which
: Jason Rogers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 1:23 PM
To: Ant Users (E-mail)
Subject: FTP
I am trying to use an FTP task in a target, but I keep
getting the familiar
build file name:line number: Could not create task
of type
Have you considered using telnet/? You would need to explicitly start-up
the telnet service for a Win2000 box, but it should work.
-jason
-Original Message-
From: Robinson, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 3:15 PM
To: '[EMAIL
Are you sure you have all of the external dependencies in your path?
-Original Message-
From: T Master [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 2:10 PM
To: [EMAIL PROTECTED]
Subject: Re: Ant 1.3 refuses to see optional.jar
What do you need examples of? Be specific...
-jason
-Original Message-
From: Ralph Jocham [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 12:25 PM
To: [EMAIL PROTECTED]
Subject: Looking for Ant references/examples
Hi,
I am
Ok here it comes.
1. I want one buildfile which is on a central place
which I can use for each package. Not one buildfile
in each folder. So I just have to maintain one
file.
Take the following for example:
/Working
\__ProjectFoo
\__src all
Does it accept excaped Unicode characters (e.g. \u000)?
-jason
--- Azariah Jeyakumar [EMAIL PROTECTED]
wrote:
Terry,
You probably already noticed that pathconvert can accept
a directory
separator. I dont know if it accepts a CRLF character.
Azariah
-Original Message-
You probably need to add the Ant project_resources dir to
your Workspace classpath. You can accomplish this by doing
the following:
Window - Options - Resources, click on browse and search
for the Ant dir in VAJ_INSTALL_DIR/ide/project_resources.
The dir is the name of the project into which
Not true. You can have the value attribute of attribute
be a variable that you pass in on the command line.
attribute name=JarVersion value=${jar.version} /
-jason
--- Bacardi Wasabi [EMAIL PROTECTED] wrote:
build.xml
jar jarfile=${dest1}/lib/app.jar
basedir=${dest}
manifest
sounds like a classloader issue... but I am not an expert
there. Anyone else?
-jason
--- Michael Remme [EMAIL PROTECTED] wrote:
Hi,
in ant 1.4 i have the problem, that the Class.forName()
is throwing an
exception. I saw in the archive, that there was a similar
request, but did
not find
I thought that deletion of dirs with empty files was
supposed to be fixed in 1.4.1, but my build.xml is working
properly. It deletes files and empty child dirs, but not
dirs that include empty dirs. Any clues?
Thanks.
Jason
P.S. I _have_ searched the archives and read the docs. I
am doing
Check your sources... VAJ does manage resources as well in the 3.5.x+ versions.
You have to play a few games if you want the fine grained info though, it just
wasn't meant for this. Is there some particular reason you want VAJ to manage
resources at that level? It doesn't seem to fit the
65 matches
Mail list logo