1. choice:
It describes the build dependency and doesnt come from "thinking
procedural"
2. choice:
for reuse of common code
3. choice:
4. choice:
it starts a new Ant instance which in turn opens a new scope for
properties
(called target could set the same prop every time new) - but
I'm trying to include a list of files to delete in a text file which is read
into a property (with properties expansion) and then used in the includes
property of a fileset in a delete task. For some reason when there are line
breaks in the text file, this isn't working!
Hi all,
We wrote a windows application that's meant to be a windows service, but
when we run it using the task, the output for the ant task shows
up, but not the output for the windows service app itself. Anybody have
an idea why that is?
Thank you.
Robert Lin
-
> -Original Message-
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 01, 2005 2:47 PM
> To: Ant Users List
> Subject: RE: setLevel on echo task in JavaScript
>
> > With that I get: ReferenceError: "EchoLevel" is not defined.
>
> I guess it's because it's an inn
> From: Shatzer, Larry [mailto:[EMAIL PROTECTED]
> > From: Dominique Devienne [mailto:[EMAIL PROTECTED]
> > importClass(Packages.org.apache.tools.ant.taskdefs.Echo.EchoLevel);
> > info = new EchoLevel();
> > info.setValue("info");
> >
> > echo = project.createTask("echo");
> > echo.setLevel(info);
> -Original Message-
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 01, 2005 2:33 PM
> To: Ant Users List
> Subject: RE: setLevel on echo task in JavaScript
>
>
> importClass(Packages.org.apache.tools.ant.taskdefs.Echo.EchoLevel);
> info = new EchoLevel();
> i
> From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
> It is Echo.EchoLevel and the method is setValue().
Thanks Alexey ;-) Something along those lines (not tested). --DD
importClass(Packages.org.apache.tools.ant.taskdefs.Echo.EchoLevel);
info = new EchoLevel();
info.setValue("info");
echo = p
It is Echo.EchoLevel and the method is setValue().
- Alexey.
Dominique Devienne wrote:
From: Shatzer, Larry [mailto:[EMAIL PROTECTED]
I have this javascript:
echo = project.createTask("echo");
echo.setLevel("info");
echo.setMessage("test message");
echo.perform();
It fails with this error:
org.mozi
> From: Shatzer, Larry [mailto:[EMAIL PROTECTED]
>
> I have this javascript:
>
> echo = project.createTask("echo");
> echo.setLevel("info");
> echo.setMessage("test message");
> echo.perform();
>
> It fails with this error:
>
> org.mozilla.javascript.EvaluatorException: Can't find method
> org.
I have this javascript:
echo = project.createTask("echo");
echo.setLevel("info");
echo.setMessage("test message");
echo.perform();
It fails with this error:
org.mozilla.javascript.EvaluatorException: Can't find method
org.apache.tools.ant.taskdefs.Echo.setLevel(string).
Any idea how I can call
It can be used by some process (maybe by ANT itself - there was a
discussion that it can load all jar files in the current directory).
Trying creating it in a different folder.
- Alexey.
D Sledge wrote:
Just a little more info on the problem; ant has no problem reading the file or
creating
some
Just a little more info on the problem; ant has no problem reading the file or
creating
some.jar.sig from it, so I checked the permissions on the file and made sure I
had read and write
permissions on the file. Any light that can be shed on the problem would be
appreciated.
Thanks,
D Sledge
First the basics:
Ant v1.6.2
JRE v1.4.2_01
OS Windows XP
Next the build file:
Now, the problem: I get an error anytime I try to manipulate the file
"some.jar". When I run the
signjar task, I get the following output:
sign:
[signjar] Signing JAR:
Make the classpath a path reference that is declared at the top of the
build file.
Then, create a property that has the value as the classpath. This will
cause the property to be set with a string representation of the path.
You can then echo that property.
> I want to know if there is anyway I c
I want to know if there is anyway I can write out what the
element is using for it's classpath. I need to debug to see if all my
.jar files exist or not. The element I have is:
Any ideas? T
You can use antcall
Or, better, you can do this with dependencies. If target2 depends on
target1 being executed first, then add target1 to the depends list
attribute of target2.
> Hi,
> How can I call a target in a target?
> Example:
>
> ...
>
>
> ---> how c
Even a _cursory_ reading of the Ant manual should reveal this.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
"Willy De Waele" <[EMAIL PROTECTED]>
03/01/2005 02:10 PM
Please res
Hi,
How can I call a target in a target?
Example:
...
---> how calling 'target1' here?
Please some help
TIA
Willy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Shigemoto FUJIKURA <[EMAIL PROTECTED]> writes:
> on the other hand, javac executed by exec task loads correct Zzz
> class from jar file.
It seems to be a class path issue. Could you try to unset
CLASSPATH environment variable and run the javac task?
--
Yuji Yamano <[EMAIL PROTECTED]>
--- Jeffrey E Care <[EMAIL PROTECTED]> wrote:
> AFAIK javac ignores non-Java files (you can see this
> in verbose or debug
> mode). If you need to have copies of other file
> types in your "classes"
> directory then the obvious solution would be to copy
> them.
>
> Implementation left as an e
AFAIK javac ignores non-Java files (you can see this in verbose or debug
mode). If you need to have copies of other file types in your "classes"
directory then the obvious solution would be to copy them.
Implementation left as an exercise for the reader.
JEC
--
Jeffrey E. Care ([EMAIL PROTECT
Hello,
There was a recent post about using the selector when copying
*TO* a mapped drive, to speed up the task. However, I have the reverse
situation - I'm building *FROM* a mapped drive, and copying the files to
a local directory if they've changed.
This operation is incredibly slow. I'm trying
Hello,
Just wondering what peoples opinion are on using Antelope - any problems
or improvements. Basically anything you can think of as i am trying to
write up a report on its adv/disadv.
Thank You,
John
--
U: http://www.dingleonline.com
E: [EMAIL PROTECTED]
--
any arg to include those properties which will copy them from srcdir to
targetdir? thanks.
Hello Cyril,
have you looked at using a combination of the and
selectors?
/t
>-Original Message-
>From: Cyril Sagan [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 01, 2005 2:28 AM
>To: user@ant.apache.org
>Cc: [EMAIL PROTECTED]
>Subject: woes!
>
>
>I'm loosing my mind trying to get
Thanks to those whose suggested approaches. I have thought about it and
decided that the most elegant solution is to unask the question. Viz I
have decided not to run junitreport after each junit. Instead I'll have
a separate task that reports on all existing TEST-*.xml files. I was
using the i
Praise indeed! Thanks Dominique. I should add that I got the
tip from this list, somewhere.
I wonder if I have encountered something similar to the scenario you
describe. Every now and then (when something either in my code or my
test environment is completely broken) the Junit task can generate
27 matches
Mail list logo