From:
Lynch
To: [EMAIL PROTECTED]
Sent: Monday, February 26, 2001 8:07
AM
Subject: classpath not working
target name="ejb-classes"
depends="prepare"javac
srcdir="${src.dir}/com/truetel/slee/sleeimpl;${src.dir}/jain"
destdir="${lib.dir}/ejb"
includes="**"
Title: RE: Junit output file redirection
Use the todir attribute
batchtest todir=./somedir
...
or
test todir=./
..
This is a limitation in Ant 1.2, this is however supported in Ant 1.3.
You can download from here
http://jakarta.apache.org/builds/jakarta-ant/release/v1.3-b3/
Hi,
I'm trying to use the execon to run from a certain
location (X:\mon\components )
and executethe samecommand on every
subdirectory of it.
I tried to use the following code , but it doesn't
seem to work out,
maybe I'm not using the dir= ina correct
manner.
execon executable="Genic.bat"
Hi all,
I've just downloaded the 1.3b3 release, and used the antstructure task to
generate the DTD file. When I run ant on our build file it fails saying:
C:\...\build.xml:714: Name tokens must not start with "+" characters.
This appears to be a problem with the generated DTD. Anybody know
Hi Conor
Reading the docs it appears that I have to use either the classic or jikes
compiler for this option. I have JDK1.3 and I've set the property
build.compiler=classic and set true the depend attribute in the javac task:
but I get the following:
[javac] Compiling
Hi
I downloaded jikes to see how it work for this behavior. The jikes FAQ shows
how the -depend works and it works fine, but the initial example was when
the base class was modified and the derived class was unchanged. Running ant
picks up the base class, but it cant/doesn't know that the
At 01:35 26/2/01 -, M.A.Dunphy wrote:
Hi
I downloaded jikes to see how it work for this behavior. The jikes FAQ shows
how the -depend works and it works fine, but the initial example was when
the base class was modified and the derived class was unchanged. Running ant
picks up the base
In trying to set a property, I've run into a wall. From within a buildfile
I can do the following:
property name="thing" value="sdasd asdasd asdasd" /
Done outside the buildfile, from the command line, I try:
ant -Dthing="sdasd asdasd asdasd" target
and it tries to find the target 'asdasd'.
after looking at this further, it appears to be in the section:
!ELEMENT entry EMPTY
!ATTLIST entry
id ID #IMPLIED
operation (+ | - | = | now | never) #IMPLIED
default CDATA #IMPLIED
key CDATA #IMPLIED
type (int | date | string) #IMPLIED
I just tried the following:
ant -Dinpath=%Mypath% -Dinput="this and that" Framework
inpath is a path i need for my compilation
Framework is some target in my build.xml
works just fine for me
-- Arvid
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Ok... I'll try again:
ant -Dbleh="this and that="this and that" spotless
BUILD FAILED
Target 'and' does not exist in this project.
Total time: 0 seconds
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 8:44 AM
To: [EMAIL PROTECTED]
Firstly, apologies for what (I hope) is a simple question.
I am simply trying to delete the contents (files and sub-directories) of a
number of directories.
ant appears to be ignoring the contents of my target.
The code is as follows:
target name="clearup"
delete verbose="true"
Nope, RedHat 6.2.
Ant is 1.2 by the way. Arvid, are you 1.2 or are you using a development
version?
-Original Message-
From: Chris Winters [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 9:03 AM
To: [EMAIL PROTECTED]
Cc: Watson, Cory
Subject: Re: Property Setting
* [EMAIL
From my build.xml:
target name="clean" unless="fast"
!-- Delete the ${build} directory trees --
delete dir="${build}" /
/target
note the '/' at the end of delete dir.. tag.
It seems that the are missing from your previous atempts...
You might also try to remove the last '/' at
--- [EMAIL PROTECTED] wrote:
Ok... I'll try again:
ant -Dbleh="this and that="this and that" spotless
I suspect that middle quote is causing you trouble. Try:
ant -Dbleh="this and that=this and that"
and see what happens.
(Sorry, no time to test it myself.)
Diane
=
([EMAIL
Actually I mistyped that, my bad...
ant -Dbleh="this and that" spotless
still no dice.
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 10:12 AM
To: [EMAIL PROTECTED]
Subject: RE: Property Setting
--- [EMAIL PROTECTED] wrote:
Ok... I'll
Hello
I am a new user of ant. I just updated myselft with CVS and had a
problem building ant from the source distribution.
The "org.apache.tools.ant.taskdefs.SendEMail" class did not compile
because the bootstarp.bat file
did not compile the tools.mail package.
Adding the %TOOLS%\mail\*.java
Hello all,
I am new to the list, and hope that you can help. I checked the
archives, but did not see anything about this.
I am using Ant 1.2, JDK 1.3, and and attempting to use the EXEC task
to perform a file copy.
In JDK1.2.2, everything worked fine. However, now that I have switched
to
Why don't you use ant's built-in copy task? I presume the answer is:
you're experimenting with exec, not really trying to copy..
Anyway, the answer to your question has nothing to do with Ant, but
actually windows! copy is one of the windows command interpreter
commands, not an executable.
Thank you very much!
The real reason that I was EXEC dir="." executable="copy" was so that
I could "copy" multiple files into 1 destination file. I don't believe you
can do that with the COPY task. (Please correct me if I am wrong).
Originally, I was using a batch file to execute the copy
* Tim Vernum ([EMAIL PROTECTED]) [010225 18:12]:
We do the opposite.
We mandate how the environment has to look for our developers.
We got sick of "but it worked on my machine"
"Oh, I assumed that wizbang.jar would be available on the production machine"
etc. etc.
IMHO, In order to
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [010226 09:42]:
Ok... I'll try again:
ant -Dbleh="this and that="this and that" spotless
BUILD FAILED
Target 'and' does not exist in this project.
Total time: 0 seconds
This might be an OS problem. Are you using Win95/98? If so, there was
a
Using the ant 1.3.beta3 I can pass spaces as args. This is on a win2k box
with JDK 1.3. I think you mentioned in a previous post you were running on
RedHat...have you checked the "ant" shell script to see if it's correctly
handling spaces in arguments? I'm guessing that's where the problem
Hello,
This should be fixed in Ant 1.3beta3. In the meantime, edit the ant
script and change the $@ on the last line to "$@" so that arguments will
be passed quoted into the JVM.
-Bill
[EMAIL PROTECTED] wrote:
In trying to set a property, I've run into a wall. From within a buildfile
I
- Original Message -
From: "Bill Burton" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 26, 2001 9:16 PM
Subject: Re: Property Setting
Hello,
This should be fixed in Ant 1.3beta3. In the meantime, edit the ant
script and change the $@ on the last line to "$@" so
Hello Stacie,
The Execute class normally writes to and reads from any sub process which
causes the waiting. I came up with a patch for 1.3beta to allow the
exec tag to support detaching the running process, either writing the
output to a file or starting a new console window. However, since
Peter,
There will be a concat task added after the 1.3 release.
Conor
-Original Message-
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 27 February 2001 5:58
To: [EMAIL PROTECTED]
Subject: Re: ant 1.2, jdk1.3, copy
Thank you very much!
The real reason that I
thanks... I will definitely convert to that when it is released.
Pete
Conor MacNeill wrote:
Peter,
There will be a concat task added after the 1.3 release.
Conor
-Original Message-
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 27 February 2001 5:58
To:
I have a package, com.foobar.AntTest
when I compile the java files in the
directory of the same name, I would
expect the class files to appear there,
since I have my 'srcdir="."' and
"destdir="."' as shown in the below
compile target,
but instead a sub-directory is created
com/foobar/AntTest
Does anyone have any
success creating CMP Entity Beans under Weblogic 6 and Ant
1.3b3?
Thanks!
I have a package, com.foobar.AntTest
when I compile the java files in the
directory of the same name, I would
expect the class files to appear there,
since I have my 'srcdir="."' and
"destdir="."' as shown in the below
compile target,
Well, that's a recipe for disaster, but to each his
The default behavior for the jar task seems to be to create a jar. Can
anyone give me an example to update a jar.
Something like "Jar -uf tmp.jar com".
thanks
Patrick Moylan
-Original Message-From: Frank Chang
[mailto:[EMAIL PROTECTED]]Sent: Monday, February 26, 2001 2:08
PMTo: '[EMAIL PROTECTED]'Subject: Ant 1.3b3,
ejbjar, wl6, CMP
Does anyone have
any success creating CMP Entity Beans under Weblogic 6 and Ant
1.3b3?
Thanks!
Can someone tell me what the proper syntax is for adding multiple links in
javadoc?
According to the ant docs, this is possible:
Create link to javadoc output at the given URL. This performs the same role
as the link and linkoffline attributes. You can use either syntax (or both
at once), but
Hello,
Perhaps you can help me. I want to install and my mainproblem to run
the jakarta-tomcat-3.2.1-Server
on my apple maintosh. I have installed MRJ SDK 2.0.1 for Macintosh.
Can you help me to run the
tomcat server, because i want to use JavaServerPages on it.I am
working with the Mac OS
8.6.
Hi,
This is the list for ant-user a build tool. You should mail to tomcat-user
for tomcat related questions.
At 01:46 27/2/01 +0100, Alexander Rentschler wrote:
Hello,
Perhaps you can help me. I want to install and my mainproblem to run
the jakarta-tomcat-3.2.1-Server
on my apple maintosh. I
Hello,
Perhaps you can help me. I want to install and my mainproblem to run
the jakarta-tomcat-3.2.1-Server
on my apple maintosh. I have installed MRJ SDK 2.0.1 for Macintosh.
Can you help me to run the
tomcat server, because i want to use JavaServerPages on it.I am
working with the Mac
Hi,
If I get you correctly, you have a directory structure with all your
java files and classes in, say, /home/dale/com/foobar and I'm going to
guess your build.xml is also in /home/dale/com/foobar with ${basedir}
set to ".", and javac srcdir and destdir also set to "."
Right, if this is the
38 matches
Mail list logo