hanks,
Francisco Tolmasky
714-224-6179
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a common.xml file that I import in all my build.xml throughout
my project (subdirectories included). One of the tasks defined in
this common.xml has to reference a file in a java task, as so:
I am having issues with the basedir not being correct in SubAnt
again. This time it's because it seems that the java task does not
seem to respect the basedir. I have the following structure:
My-Project/
build.xml
Tools/
Tool1/
build.xml
Tool2/
I'm trying to use a build file that is located in a different
directory by doing the following:
ant -f a/b/thebuild.xml
However, this has the side effect of changing my basedir to a/b/ as
well, which I don't want,
I just want to run ant in my current directory with the build file of
a diff
I'd like to use an environment variable for my build directory if it
exists, basically:
However, I also want a default Build directory "Build", if ENV.BUILD
doesn't exist, how
do I do this given that setting the property cannot be undone?
Thank you,
Francisco
--
Just use a fileset. You can't make it be "just one file", because
commons-io-*.jar
has the potential of being several files.
On Jan 15, 2008, at 11:14 AM, Hariharasudhan R wrote:
Hi experts!
Is there a way to search for a file matching a condition and assign
it to a
variable ?
Basic
uot;b" is not present.
If you want that "a" should always be copied, set "overwrite"
attribute to true.
See manual::CoreTasks::copy
Jan
-Ursprüngliche Nachricht-
Von: Francisco Tolmasky [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 8. Januar 2008 07:13
Is there a way to have copy not copy regardless of whether there is a
newer or older version already there?
Francisco
On Jan 7, 2008, at 10:05 PM, <[EMAIL PROTECTED]> wrote:
Easier would be just to do a
would check if the target file exists or is older than the
cop
I wrote up a "short" install target in my ant file to make sure I have
everything necessary to run script tasks, but it seems overly verbose
for such a simple task:
"Tools/Ant/${JarName}.jar" />
I am running into a problem when outputing files using an identity
mapper, since sometimes the
relative paths don't exist. For example, I use GCC in ant as so:
When I run this, if there is a file in "Sources" such as "D
e: javalobby article: http://www.javalobby.org/java/forums/t102936.html
What is the JDK version?
run: ant -debug
What echo message do you get from ${env.CLASSPATH} ?
Francisco Tolmasky wrote ..
Hello, I am attempting to use JavaScript within ant and am running
into a few difficulties.
I used to be able to
Hello, I am attempting to use JavaScript within ant and am running
into a few difficulties.
I used to be able to do the following in Mac OS X Tiger just fine:
/* whatever */
However, since moving to Mac OS X Leopard, I get the following error:
java.lang.Clas
http://ant.apache.org/manual/CoreTasks/ant.html
Francisco
On Dec 12, 2007, at 3:25 PM, Z W wrote:
Hi
I have multiple tasks and I like to move a few tasks into another
xml file.
What's the syntax to call another task in another xml file from the
original
buildfile ?
Eg:
task_f
I would ant to process a certain file if a dependent file has
changed. Currently, only if the file in question itself has changed
does it process it, which is expected behavior. But what I'm looking
for is something similat to makes dependencies:
somefile : other files
Is this possible?
1)
2)
Francisco
On Dec 8, 2007, at 11:59 AM, bsbiran wrote:
Hello,
Can someone please help me. I need to create a file jim.txt
1) Delete jim.txt
2) create jim.txt
Please help
BS.
--
View this message in context:
http://www.nabble.com/How-to-create-a-file--tf4968225.html#a14232007
Sent
ah yes, somehow I missed that. thanks!
On Nov 30, 2007 7:25 PM, Dominique Devienne <[EMAIL PROTECTED]> wrote:
> On Nov 29, 2007 1:21 PM, Dominique Devienne <[EMAIL PROTECTED]> wrote:
> > On Nov 29, 2007 12:40 PM, Francisco Tolmasky <[EMAIL PROTECTED]> wrote:
&g
ies the current (master) script into the projects.
Therefore you'll get a cycle between and .
Jan
-----Ursprüngliche Nachricht-
Von: Francisco Tolmasky [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 29. November 2007 13:43
An: user@ant.apache.org
Betreff: Alternative to subant
My p
:53 AM, <[EMAIL PROTECTED]> wrote:
The problem is that you use the "genericantfile" attribute.
This implies the current (master) script into the projects.
Therefore you'll get a cycle between and .
Jan
-----Ursprüngliche Nachricht-
Von: Francisco Tolmasky [mai
e luck. Any thoughts
or suggestions?
Thanks,
Francisco Tolmasky
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
19 matches
Mail list logo