On Sun, 18 Nov 2001, Peter Donald [EMAIL PROTECTED] wrote:
So you will have to remove optional.jar from ${ant.home}/lib if you
want to taskdef junit.
Or remove the JUnit task classes from there and leave the rest in
optional.jar (just to do the same again when you want to use style
without
On Mon, 19 Nov 2001, James Bullington [EMAIL PROTECTED] wrote:
When I watched my build script work, I noticed that the dollar signs
($) dissappeared.
Yes, $ is special and needs to be escaped by yet another $.
Stefan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
On Mon, 19 Nov 2001, Don Taylor [EMAIL PROTECTED] wrote:
--- Stefan Bodewig [EMAIL PROTECTED] wrote:
snip
Everything you have in your CLASSPATH or in ANT_HOME/lib will end
up in your system classloader when you run Ant. If your task
implementation can be loaded via this classloader,
No. There isn't such a link. For a list of available builds, visit
http://jakarta.apache.org/builds/
Magesh
- Original Message -
From: martin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 3:37 PM
Subject: Download antidote
Is there a link to download the
Hallo Ant-Users.
Following problem.
I want to restart the Tomcat 3.2.1 Server by using his
shutdown.bat and startup.bat.
target name=restart
echo message=${appserver.home}/
exec dir=${appserver.home}/bin
executable=cmd.exe
arg line=/c shutdown.bat/
/exec
exec
Hello,
I need to concat several files into one file.
How can I do this with Ant 1.3 ?
Thank you for your help,
Regards,
Cyriaque DUPOIRIEUX,
--
Cyriaque Dupoirieux mailto:[EMAIL PROTECTED]
PCO Technologies
Burolines - 2 ter rue Marcel Doret
31700 Blagnac
Tél : 05.34.60.44.13 -
The only way that I could think of doing it was with a custom program
or task.
--Jim
--- Cyriaque Dupoirieux [EMAIL PROTECTED] wrote:
Hello,
I need to concat several files into one file.
How can I do this with Ant 1.3 ?
Thank you for your help,
Regards,
Cyriaque
Or you could use the exec task.
-Original Message-
From: James Bullington [mailto:[EMAIL PROTECTED]]
Sent: 21 November 2001 15:36
To: Ant Users List
Subject: Re: concat files ?
The only way that I could think of doing it was with a custom program
or task.
--Jim
--- Cyriaque
I believe that the problem is that your directory structure for the source
files does not follow the packaga naming convention and that is causing you
the problems.
If your package is: com.informactis.blabla then your source should be
organized like:
com
informactis
On Mon, 19 Nov 2001, Stefano Mancarella
[EMAIL PROTECTED] wrote:
If it's useful I can set up a small test case for the problem...
yes, please.
Thread.currentThread().getContextClassLoader().getResourceAsStream(resource
Name)
but, as I said, this only works with fork=true (which leads to
Hello all,
I have been using Ant now for about a week. And after reading about it,
I have become convinced that it would be a good solution for my building
needs. Basically, I have a project of unifying several different code
bases (including three different languages [Saol, C, and Java]), as
- Original Message -
From: Stefan Bodewig [EMAIL PROTECTED]
Subject: Re: JUnit problems
If it's useful I can set up a small test case for the problem...
yes, please.
I'll attach it to the bug report I'm going to file on bugzilla.
On Wed, 21 Nov 2001 12:22:42 +1100, Jeff Turner
[EMAIL PROTECTED] wrote:
[snip]
There
is one useful trick here: declare a 'main' target which is the default, and
then call others from that. Then you can have build.properties declare it's
default target ('jar' in most projects, 'dist' in
- Original Message -
From: Stefano Mancarella [EMAIL PROTECTED]
Subject: Re: JUnit problems
If it's useful I can set up a small test case for the problem...
yes, please.
I'll attach it to the bug report I'm going to file on bugzilla.
Done! I'm attaching it also here.
Ant is the standard build system for BEA Weblogic 6.1.
One way, if you understand J2EE, is to get a demo copy from BEA and
take a look at the examples. There are lots of examples of build
scripts to choose from.
--James Bullington
--- Michael J McGonagle [EMAIL PROTECTED] wrote:
Hello all,
Hello,
Does anyone know if there is a more elegant solution to this problem?
I thought of doing this, but I was hoping there is a better, more programmatic
perhaps, way of doing this.
Thanks,
Otis
On Sat, 10 November 2001, Steve Loughran wrote:
As a short term hack why not add the
I am confused here.
Fixing your unit tests to work reliably regardless of user time zone *is*
the elegant solution. The fact that your code doesnt work in all timezones
seems like a defect to me, and now that you can replicate it means that you
can fix it.
When I lived in GMT0BST there was
A task was submitted to the user list awhile back to do this:
http://marc.theaimsgroup.com/?l=ant-userm=99024114802842w=2
There may have been others submitted along the way as well -- I just
stopped searching at the first one I found :)
Diane
--- Cyriaque Dupoirieux [EMAIL PROTECTED] wrote:
Hello,
You could write a simple script and call it from exec. The script could
assume its first argument is the target file and all subsequent arguments
are the files that should be appended to the target file. On UNIX, it
could be only two lines of code:
#!/bin/sh
target_file=$1
I've got a problem where I need to set a property on the JVM that runs the
weblogic.ejbc compile portion of the ejbjar task, and I need to know how
that can be done, or whether I need to submit a patch for this.
First, let me describe the problem I've been having.
I am running an Ant build on
James Bullington wrote:
Ant is the standard build system for BEA Weblogic 6.1.
One way, if you understand J2EE, is to get a demo copy from BEA and
take a look at the examples. There are lots of examples of build
scripts to choose from.
Thanks, James, I downloaded the archive (*.zip)
I need to create a soft link, basically doing
ln -s filename linkname
. I'm using exec now, but would like to do this more cleanly.
Thanks,
Dave
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
overall I want to start a daemon by ant-1.4.1
the following fragment should start xlogo in the background and return
The corresponding command would be sh -c logo
exec executable=sh
arg value=-c /
arg value=xlogo amp; /
/exec
this
1) executes/bin/sh
2) executes xlogo
Hello,
I've looked in Bugzilla with no luck, so I thought I'd
try asking everyone else.
I'm using the PVCS optional task and trying to specify
a particular workspace, rather than use the default.
Example:
pvcs workspace=Here is a private workspace ...
Could the problem be the spaces in
Almost all of the jakarta projects use ant in some for or another. It may be
an idea to download the source for one of them and have a look at their build
files.
Ant itself has a relatively well structured build file (except it is rather
largish for an example) if thats what you are looking
Not that I know of. I can't see the problem with using exec - the only
reason not use exec is lack of portability, but soft links aren't portable
outside of Unix anyway (anywhere softlinks exist, I'd say so does ln -s)
Cheers,
Brett
-Original Message-
From: David Walend [mailto:[EMAIL
Peter Donald wrote:
Almost all of the jakarta projects use ant in some for or another. It may be
an idea to download the source for one of them and have a look at their build
files.
Ant itself has a relatively well structured build file (except it is rather
largish for an example) if
On Wed, Nov 21, 2001 at 06:14:42PM +0100, Rolf Katzenberger wrote:
On Wed, 21 Nov 2001 12:22:42 +1100, Jeff Turner
[EMAIL PROTECTED] wrote:
[snip; Rolf:]
Well... ummm... :o) I already started such a sourceforge project a
while ago, Ant Heap (http://sourceforge.net/projects/antheap) -
Hi,
sounds good but I have a request. Could you call these recipies and not
templates? Already the term template is used to mean something completely
different in context of Ant2.
--
Cheers,
Pete
--
Mark Twain: In the real world, the
On Thu, Nov 22, 2001 at 10:22:22AM +1100, Peter Donald wrote:
Hi,
sounds good but I have a request. Could you call these recipies and not
templates? Already the term template is used to mean something completely
different in context of Ant2.
Then it sounds like you've chosen an
On Wed, Nov 21, 2001 at 06:14:42PM +0100, Rolf Katzenberger wrote:
On Wed, 21 Nov 2001 12:22:42 +1100, Jeff Turner
[EMAIL PROTECTED] wrote:
1. Very basic, no-frills projects for the absolute beginner
(javac, javadoc, java targets; just for the sake of those who like to
copy and paste
On Wed, Nov 21, 2001 at 10:36:12AM -0600, Michael J McGonagle wrote:
Hello all,
[..]
Anyway, I should really be focusing on my question. I would be
interested in peeking over someones shoulder, and take a look at their
build.xml files, and possible try to build your project on my machine
[..]
On Wed, 21 Nov 2001, Bill Burton [EMAIL PROTECTED] wrote:
You could do this on UNIX without an external script but you would
have to execute the entire command line through /bin/sh -c cat
file1 file2 file3 target_file.
wouldn't
exec executable=cat output=target_file
arg file=file1 /
at least two versions have been submitted to ant-dev (serach the
archive), but none has been committed yet.
Stefan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
- Original Message -
From: Stefan Bodewig [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 21, 2001 10:28 PM
Subject: Re: concat files ?
On Wed, 21 Nov 2001, Bill Burton [EMAIL PROTECTED] wrote:
You could do this on UNIX without an external script but you would
35 matches
Mail list logo