The only place where you have a "dir" is in
......
The manual to javac sais :
's srcdir, ... attributes are path-like structures and can also be set
via nested ...
So IS a path.
And s doesnt support any (besides id/refid) attributes.
Use
instead.
Jan
>-Urspr
I would like to get the CVS sticky tag of the source I am compiling.
Anyone have a recipe to do that?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I can't see anything amiss in your code, although the --> in your
description attribute did catch my eye :-).
It's better if you can show the actual error printed by Ant in most
cases and the corresponding line in your build. Ant usually includes
line numbers and these can help know where to look.
Dear,
I have the following part of a build file :
But when I run it, I get :
The type doesn't support the "dir" attribute.
\T,
Any fool can write code that a computer can understand.
Good
I have developed a build system architecture which uses one common,
generic build.xml file to build each module in the project. This build
file can then recursively call itself with a different basedir to build
modules upon which the current module depends (dependencies are
configured in a per
Thank you .It works
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Copying the ant installation from another machine should be fine. Ant is
platform independant and self contained within $ANT_HOME, so this should work
fine. Check to make sure you have the dependant jars in $ANT_HOME/lib. See the
dependency section of the manual to find out what dependencies you
There are many options to accomplish this. Check out the manual pages for the
, , and tasks.
-Rob Anderson
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 09, 2005 8:11 AM
> To: user@ant.apache.org
> Subject: Copy Question - Between UN
On 8/9/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
> this is another alternative for the same :
>
>
>
Hi Antoine,
This works. It is also more compact and elegant (compared to my
version). Thanks.
/Pankaj.
> - Original Message -
> From: "Pankaj Kumar" <[EMAIL PROTECTED]>
> To:
Sorry, was thinking of NAnt
-Original Message-
From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 1:09 PM
To: Ant Users List
Subject: Re: How to test whether a particular environment variable is
set or not
The second will not work, because the proper
The second will not work, because the property is already set
earlier. You may want to execute them in reverse order.
- Alexey.
[EMAIL PROTECTED] wrote:
This will trim down the previous post
--
/
This will trim down the previous post
mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 12:55 PM
To: Ant Users List
Subject: Re: How to test whether a particular environment variable is
set or not
Using the task (from the ant-contrib project) you
can do it like this:
Using the task (from the ant-contrib project) you
can do it like this:
Though I am not sure if it is less verbose, it is more
readable at least
--- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
> hello Kumar,
>
> this is another alternative for the sa
Hello Sándor,
it looks like you need to do the copy.
Antoine
- Original Message -
From: "Sándor Tamás" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Tuesday, August 09, 2005 11:17 AM
Subject: Re: AW: howto include files only - without dirtree
> Thank Jan and thanks Nicolas! Flattenmap
hello Kumar,
this is another alternative for the same :
might work.
Cheers,
Antoine
- Original Message -
From: "Pankaj Kumar" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 09, 2005 4:41 PM
Subject: How to test whether a particular environment variable is set or not
Hi Folks,
I
please do not include .class files in the class path.
Peter
Bill Rich wrote:
You need something like the following to define the classpath:
Then when you use it use something like this in the task:
Setting the value of the file name in a property won't do it for
You need something like the following to define the classpath:
Then when you use it use something like this in the task:
Setting the value of the file name in a property won't do it for you.
HTH Bill
-Original Message-
From: Arti Singh [mailto:[EMAIL
I would like to zip the contents of a folder in unix and copy them to a
mapped drive under windows. What is the right syntax of doing this ?
Eager to see the suggestions or pseudo code to accomplish this.
Thanks
srikrishna
Hi ,
I just want to clarify a few things.I am trying to compile a few java
files in my ant build script using a classpath variable to point to required
libraries.I tried the approach below.I tried to define my classpath in
properties and then used them in javac, but that doesnt seep t
Hi Folks,
I want to set a property to the value of an environment variable if
that variable is set, otherwise to a different string.
I am able to do this with the following:
TEST_HOME: ${test.home}
Is there a better (read: less verbose)
If you need to preserve existing permissions then it's probably easiest to
use to run the native zip/tar on your platform.
If you only need to set permissions on certain files then you can use a
nested to manually set permissions on those files in the
archive.
Given that Java does not (curre
Thx. jacques
>At the top of the zip task definition, it says this:
>
>"Note that file permissions will not be stored in the resulting
>zipfile."
>
>If you need to store permissions, try tar or exec to use "zip".
>
>
>On Aug 9, 2005, at 9:40 AM, [EMAIL PROTECTED] wrote:
>
>> Hello all,
>>
>> I ne
At the top of the zip task definition, it says this:
"Note that file permissions will not be stored in the resulting
zipfile."
If you need to store permissions, try tar or exec to use "zip".
On Aug 9, 2005, at 9:40 AM, [EMAIL PROTECTED] wrote:
Hello all,
I need to zip a the contents of a
Hello all,
I need to zip a the contents of a folder on Mac OSX (10.[3|4]) Unfortunatly
permissions are broken (executables are no longer executable) after I unpack my
zipped components and empty directories are gone. This breaks my deliverables.
If I call zip on the command line I have no such
NB, out of curiosity, I've now also tried using the scp function in place
of the ftp one; again, this doesn't work, although this time, the build
just grinds to a halt - nothing is copied and the command doesn't come to
an end. Seems to me there's something fundamentally wrong with the box...
Sorry bad example
What I am trying to include a jar that holds a java
logging handler
I am trying to use java logging on the ant build
process
I created a listener that uses java logging and have
configured the logging system to use a custom handler
that is included in a jar
I seem to be having
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Sándor Tamás <[EMAIL PROTECTED]>
08/09/2005 04:40 AM
Please respond to
"Ant Users List"
To
user@ant.apache.org
cc
Subject
howto include files only - without dirtree
Hi
can u show a code sample please?
i have no idea on how to do it.
ty very much for your help.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 12:13 PM
To: user@ant.apache.org
Subject: AW: Copying files to unknown folder name (jboss war d
Just thoughts:
- create a fileset from the jboss directory including your deploy-dir
-- use selectors to get the newest one
- use to get the target location
- use that property as todir for
Jan
>-Ursprüngliche Nachricht-
>Von: Nir Geier [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag,
Thanks for the response, Rob (sorry, been on holiday for the last week).
Have uninstalled an existing version and this hasn't fixed the problem.
The install may be causing the problem, though, since I didn't use rpm to
install ANT - I just copied over an existing install that worked on another
Hi all,
I'm trying to achieve this simple task:
I want to copy files to my jboss deploy dir.
The deploy dir is generated automatically every server start/deploy and get the
following name pattern:
XMyAppName.war
now i want to copy files from c:\aaa into the above directory.
Thank Jan and thanks Nicolas! Flattenmapper is great!
One more question: can I use it in a element somehow to have
the or shall I copy all my jars with
flatten="true" and then specify ?
and are not allowed in , ,
, .
Any suggestion?
Thanks,
Thomas
Jan.Materne wrote:
http://ant.ap
http://ant.apache.org/manual/CoreTypes/mapper.html#flatten-mapper
Jan
>-Ursprüngliche Nachricht-
>Von: Sándor Tamás [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 9. August 2005 10:41
>An: user@ant.apache.org
>Betreff: howto include files only - without dirtree
>
>Hi Ant-users!
>
>I've
Hi,
you can check the "flatten" attribute of , or also the flatten mapper.
Nicolas
Sándor Tamás wrote:
Hi Ant-users!
I've checked the Directory-based Tasks page and googled the web to
find any solution to my problem, without success.
E.g. I have a dir tree like this:
/lib
|- jarlibname1
Hi Ant-users!
I've checked the Directory-based Tasks page and googled the web to find
any solution to my problem, without success.
E.g. I have a dir tree like this:
/lib
|- jarlibname1
| |-file1.jar
| |-file2.jar
|- jarlibname2
|-file3.jar
|-file4.jar
What I like
Hi Steve,
Great presentation!
I had a couple of thoughts after going through the presentation. I
wrote about those at my blog:
http://www.pankaj-k.net/archives/2005/08/ant17_for_build.html
Thanks,
Pankaj Kumar.
On 8/4/05, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> List subscribers may be in
36 matches
Mail list logo