Stefan,
Actually I did need the additional feature: prefix.
It is not a huge deal one way or the other.
I just like to define all my patternsets and filesets in one location.
Cheers,
Jeff
Stefan Bodewig wrote:
>
> On Wed, 26 Apr 2006, jmaxwell <[EMAIL PROTECTED]> wrote:
>> I am trying to use
Hi friends,
I'm new to this mail group and also new to ant script.
I have a problem while using foreach in ant. Im having ant 1.5.3 version.
The following is the script
The loop starting ${i} ${j}
On Wed, 26 Apr 2006, BOUSQUET Jeremie <[EMAIL PROTECTED]>
wrote:
> I know default values can be a solution, but sometimes these default
> values can only come from command line (which is masked from
> end-user and so not very usable here), and sometimes there is just
> no default value (and so it
On Wed, 26 Apr 2006, jmaxwell <[EMAIL PROTECTED]> wrote:
> I am trying to use a fileset reference with the tar task
>
>
>
>
>
>
>compression="gzip">
>
>
Since you don't use any of the additional features of tarfileset,
there is no reason to use it at all, simply use
Hi there,
I have posted a patch to implement sftp task at
http://issues.apache.org/bugzilla/show_bug.cgi?id=39373#c13
If you are interested in it, please try. Commnets, suggetions and questions are
welcome.
PS. that task is implemented as
'org.apache.tools.ant.taskdefs.optional.ssh.SFTP',
You might consider creating some wrapper scripts that pass in the
appropriate properties on the command line, then use the unless
attribute of target. Something like this...
Wrapperscript
==
ant -Dsomeproperty=something targetname
Build.xml
==
Then when you run the wrap
Jeff,
Thanks for the quick response.
It turns out this doesn't work in 1.6.5 but filesets have been refactored in
1.7.
I reviewed the ant svn trunk and the 1.6.5 tag.
This issue is fixed in trunk.
Cheers,
Jeff
--
View this message in context:
http://www.nabble.com/Tar-Error%3A-fileset-doe
The error message is spot-on: fileset
!= tarfileset
If you want to use lib.fileset as a
tarfileset you must declare it as such.
Jeffrey E. (Jeff) Care
[EMAIL PROTECTED]
IBM WebSphere Application
So you want to prompt for input without
the actual prompt?
Jeffrey E. (Jeff) Care
[EMAIL PROTECTED]
IBM WebSphere Application
Server Development
WAS Pyxis Lead
Release Engineer
"BOUSQ
Hello,
I had some fun with task in my generic build process with ANT,
to ask users for various things (labels, passwords ...).
But now teams use more and more automation, and I could not find any way
to easily make these silent !
I know default values can be a solution, but sometimes these d
I am trying to use a fileset reference with the tar task
When run I receive the following error:
lib.fileset doesn't denote a Tar$TarFileSet
Details: Ant 1.6.5
JVM: 1.4.2_10
Platform: SPARC
OS: Solaris 10
Any Ideas?
Cheers
Jeff
--
View this message in context:
http://www.nabble
I would use ClearCase outside of the main build file. For example,
CruiseControl supports ClearCase:
http://cruisecontrol.sourceforge.net/main/configxml.html#clearcase .
- Alexey.
Irfan J Sayed wrote:
Hi,
We are using clearcase as version control system . I need to write a Ant
script to tak
http://ant.apache.org/manual/OptionalTasks/clearcase.html
http://ant.apache.org/manual/index.html
-Rob A
> -Original Message-
> From: Irfan J Sayed [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 25, 2006 8:56 PM
> To: user@ant.apache.org
> Subject: Ant script with clearcase
>
> Hi,
I need to copy data files that are in the source tree with their related
*.java files into a single directory. does
that. What I am looking for is a warning or error to be produced if
there are two files with the same name. "overwrite" does not address
this problem, it only controls what is d
Hi Keith,
I've ended up going down route 1. Seems easiest to explain, and as I won't be
maintaining these personally, going forward, that's pretty important.
Cheers,
Jo
-Original Message-
From: Keith Hatton [mailto:[EMAIL PROTECTED]
Sent: 26 April 2006 16:52
To: Ant Users List
Subject:
Two possibilities that spring to mind:
1. the files you require from either source tree to a single
working directory structure, then from there.
2. the generated files you don't want before invoking .
As a general rule, I prefer introducing simplicity over hiding
complexity, by which I mean
That is how i am circumventing the FileNotFound exceptions.
If the testing ant script (with junit) is called directly, then relative
file paths work OK.
If that script is invoked via another ant script then relative paths do not
work.
Is this a limitation of ant? Perhaps I coded something incorrec
>>> On Wed, Apr 26, 2006 at 8:06 am, in message
<[EMAIL PROTECTED]>, "Andrew Close"
<[EMAIL PROTECTED]> wrote:
> On 4/25/06, Andrew Goodnough <[EMAIL PROTECTED]> wrote:
>
>> Yeah, I forgot that part of what you were looking for. The closest
>> I've come is this, using a separate "branch- build"
Where you declare the directory, use
instead of
Basically, files/directories should be declared using the location
attribute.
Ben
-Original Message-
From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 7:24 AM
To: ant user
Subject: problem with junit/Fi
On 4/25/06, Andrew Goodnough <[EMAIL PROTECTED]> wrote:
Yeah, I forgot that part of what you were looking for. The closest
I've come is this, using a separate "branch-build" file located at the
root of your local workspace (same level with the projects):
===branch-build.xml===
javac (command-line) can easily be forced to be privy to whatever you so wish
it to be.
IIRC the default sourcepath is your working directory. javac will use that to
look-up any source files it needs for any implicit compilation it deems
necessary. If the sourcepath is suppressed by issuing 'so
Wildish, Joe STASCO-OTO/72 wrote:
java root_a/One.java root_b/Two.java root_b/Three.java
javac handles this OK (ie. it is not privy to root_a/Two.java, so does not attempt to compile it).
Like I warned, this is not always the case
java.exe will pull in any java files it sees fit to compile
On Wednesday, April 26, 2006, at 4:53:20 AM, Brian Agnew wrote:
> I would recommend that if you're doing XML manipulation like the below
> that it's worth looking at the optional task xmltask (
> http://www.oopsconsultancy.com/software/xmltask ). It's designed
> precisely for doing the sort of s
I have several ant scripts that invoke the next ant script via .
The last ant script has a task that invokes Java code.
There is a problem in the Java code that the File class cannot find the file
with a relative path.
I can resolve this by using the complete path to the file.
This problem does no
I have several ant scripts that invoke the next ant script via .
The last ant script has a task that invokes Java code.
There is a problem in the Java code that the File class cannot find
the file with a relative path.
I can resolve this by using the complete path to the file.
This problem does no
Hi Steve,
Thanks for the suggestion; however, the "src" attribute is a path-like
structure, and as such you cannot use include or exclude elements (hence trying
to use the filesets in the first example).
It would seem that the javac task is taking directories specified by the "src"
attribute,
Wildish, Joe STASCO-OTO/72 wrote:
All,
New to the list, not new to ANT. Am using v1.6.5. I've had a scan through the
archives of this list but I can't find an answer to my question.. so here goes:
I have two source roots, root_a and root_b. Beneath those directories are some
source files, som
All,
New to the list, not new to ANT. Am using v1.6.5. I've had a scan through the
archives of this list but I can't find an answer to my question.. so here goes:
I have two source roots, root_a and root_b. Beneath those directories are some
source files, some of which are for the same class. e
I would recommend that if you're doing XML manipulation like the below
that it's worth looking at the optional task xmltask (
http://www.oopsconsultancy.com/software/xmltask ). It's designed
precisely for doing the sort of stuff you appear to be doing.
Brian
Michael Atlas wrote:
This is the
29 matches
Mail list logo