Sure, the JavaDocs inside the -src.zip are inside the java sources :-)
Jan
> -Ursprüngliche Nachricht-
> Von: Conelly, Luis (GE Energy, Non GE, GENE)
> [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 14. April 2005 00:04
> An: Ant Users List
> Betreff: RE: api ref doc
>
> I was brow
Hello Roman,
this would be the most simple solution using ant :
Cheers,
Antoine
Huditsch Roman wrote:
Hi,
Thanks for the snippet!
I found out that you can reset a property.
What I want to do is quite simple (although unachievable for me):
I would like to copy all files from a di
On Apr 13, 2005, at 4:49 PM, Conor MacNeill wrote:
Yes, easy in Unix. Can you do the same in Windows? You probably can,
somehow.
Well sure, of course. Um... a... :-)
Touché!
cheers,
—ml—
P.S.:
Actually, we can do the same in Windows: http://cygwin.com
Is that cheating?
:-) :-)
Mark Lundquist wrote:
On Apr 13, 2005, at 7:18 AM, Conor MacNeill wrote:
There is not much Ant can do here - there is no real way for it to
pass an argument that has quotes and spaces. How do you even do that
yourself at the command line?
Huh?! That's not even a problem...
echo \"foo\"
Ups... sorry, I believe you are trying to achieve the opposite as I
mentioned.
However, IIRC, that question has been asked before. I believe that by
tweaking a bit the xsl for the log, you can achieve what you want. The
$ANT_HOME/etc/log.xsl file contains the following line
Maybe tweaking a bi
this might help a bit:
ant -logger org.apache.tools.ant.XmlLogger -verbose -logfile log.xml
HTH
Luis
-Original Message-
From: Ninju Bohra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 5:05 PM
To: Ant Users Group
Subject: Setting log level of the XmlLogger
Hello all,
This
Hello all,
This is a question of how ANT is used by the CruiseControl project (some
cross-team synergy here, yea!!). If you are not using CruiseControl and/ANT
this message may not be very useful (but still educational :-) )
When CruiseControl kicks off my ant build.xml file, I set the useLo
I was browsing through my local installation and I found them on
/docs/manual/api/index.html
however, I was looking on the [apache-ant-1.6.2-src.zip] file and this
directory doesn't exists within that packed file; then, I dug on the
[apache-ant-1.6.2-bin.zip] file and voila! the /api/ directo
Michael,
Some times ago I wrote a task for ant.
This task has a report functionality which gives you the information you
want and some more
possibilities to solve classpath-related problems.
There is a chance that it will be released in Ant 1.7. (see
http://wiki.apache.org/ant/Ant17/Planning).
Y
Thanks, Rainer.
All I can tell you is the only way I can get my task to work is by adding the
necessary entries to my System $CLASSPATH. I'll check again, but I'm pretty
darn sure the classpath entries in my are correct.
Is there any way to print out the "special" classpath being used by an ant
Luke,
for Ant APIs try these:
1) APIs from distrib at:
http://antxtras.org/apis/thirdparty/ant/manual/api/
2) Massaged variant at JDocs (a JavaLobby site thingy):
http://www.jdocs.com/ant/1.6.2/api/index.html
At 08:50 PM 4/12/2005, you wrote:
Hi,
I've just subscribed to this list :-)
I'm look
On Apr 13, 2005, at 7:18 AM, Conor MacNeill wrote:
There is not much Ant can do here - there is no real way for it to
pass an argument that has quotes and spaces. How do you even do that
yourself at the command line?
Huh?! That's not even a problem...
echo \"foo\"
ls 'foo bar'
—
Hi,
This is probably the wrong forum to submit a bug for ant so I'll
apologize in advance and hope that someone can redirect me to a more
approrpriate place to discuss bugs.
I've noticed a subtle bug (I think it's a bug anyways) in the way ant
1.6.3 now forks off java processes. I've compared th
Check your settings again.
c> echo %ANT_HOME%
c> echo %CLASSPATH%
c> echo %PATH%
all these should point to the dir where you want them to be.
Its not finding ant/bin dir ... u will get through it, don't worry :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: W
please help me if you can or have sorted already my same problem with ant.
Following instructions on the installation manual, I do all things described
in installation but not able to build ant since the build -Ddist.dir=3D
ain_Ant_distribution>
dist command has the following response: access den
Oski Wee wrote:
James Abley <[EMAIL PROTECTED]>wrote:
James, thanks for your suggestion. I tried it, and it produces the same
behavior as
Namely, the actual argument Ant passes is "argument that has a literal "
as part of its value", including the surround quotations.
There is not much Ant
please help me if you can or have sorted already my same problem with ant.
Following instructions on the installation manual, I do all things described
in installation but not able to build ant since the build -Ddist.dir=3D
ain_Ant_distribution>
dist command has the following response: access den
Hello, the following untested snippet might help you.
basename is ${basename}
An easier way will be if there is a task which
compares two filesets and returns a list with the
out-of-date files, so tha
Maybe instead of would work.
It's also a task from ant-contrib, it's a enhanced version of
Huditsch Roman wrote:
Hi,
Actually, I am already trying to go this way, but I am struggling with the
comparison since the names of my source files vary from my target
files
(please see my former po
Hi,
Actually, I am already trying to go this way, but I am struggling with the
comparison since the names of my source files vary from my target
files
(please see my former post)
Thanks for the help!
wbr,
Roman
> -Ursprüngliche Nachricht-
> Von: Nicolas Vervelle [mailto:[EMA
Hi,
Maybe you could try using tasks from ant-contrib project at sourceforge.
I was thinking of something like:
Huditsch Roman wrote:
Hi,
Thanks for the snippet!
I found out that you can reset a property.
What I want to do is quite simple (although unachieva
I forgot to mention that the files in the "target" directory have other endings
that those in "source"
e.g. a.xml => a_1.xml
b.xml => b_2.xml
Is there any kind of substring function?
wbr,
Roman
> -Ursprüngliche Nachricht-
> Von: Huditsch Roman [mailto:[EMAIL PROTECTED]
> Gesendet: Mit
Hi,
Thanks for the snippet!
I found out that you can reset a
property.
What I want to do is quite simple (although unachievable for me):
I would like to copy all files from a directory "source", which are newer to
those in "result", to an own directory "input".
So, source/a.xml needs to be c
Hello, I am not sure if this will do your job, but
here is a working snippet.
basename is [EMAIL PROTECTED]
Here we bump in the following issue: ant properties
are immutable so if we use basename in the following
way
the first iteration of will set a property named
James Abley <[EMAIL PROTECTED]>wrote:
James, thanks for your suggestion. I tried it, and it produces the same
behavior as
Namely, the actual argument Ant passes is "argument that has a literal " as
part of its value", including the surround quotations.
So, if I do an echo for each variable
Ah, I see.
But how can I incorporate it into an statement?
I would like to test @{file} againt the same basename within the "result"
directory
I tried it first with "result/@{file}" which gave me
"result/c:\Programme\test.xml".
I also tried
Huditsch,
You can use task[1].
HTH Ivan
[1]http://ant.apache.org/manual/CoreTasks/basename.html
--- Huditsch Roman <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> After using
>
>
>
>
>
>
> @{file} gives me the "complete" file name inlcuding
> directory
> informat
Hi,
After using
@{file} gives me the "complete" file name inlcuding directory
information.
How can I pick just the file name itself (leaving out all the directory
structure)?
wbr,
Roman
Michael,
Java.class.path allways shows the System classpath (i.e. typically the one
you define via $CLASSPATH plus ant/lib).
If you define a classpath in a , a "special" classloader is
created for your task.
In "normal" situations this should work as expected.
An ant-speciality: If an classpath ent
Found out that I need to use
since otherwise is not supported.
This works fine, but I still have problems with the transformation,
since there seems to be a mixup of input files and output directories for
Saxon...
It seems that the macro is also expecting a directory as input, but getting a
Hi Jim,
I just tried to get adapt my build file to your suggestions,
but unfortunately I failedagain
It seems that my antcontrib.jar can be found, but the command is unknown :
C:\ANT-TEST\produktion.xml:80: Could not create task or type of type: for.
Ant could not find the task or a cla
On Tue, 2005-04-12 at 12:36, Oski Wee wrote:
> >temp.cmd argument^ that^ has^ a^ literal^ ^"^ as^ part^ of^ its^ value
> >
> >The above is properly treated as 1 argument.
>
> Actually, turns out that the ^ does not even work from the command prompt.
>
> I guess I can try doing this:
> temp.cmd "a
Thanks,
I tried this but it doesn't seem to help. By printing out
System.getProperty("java.class.path") from within my task, it seems that the
taskdef classpath argument isn't picking up the values I put in there. The only
way I can seem to effect changes to the classpath of the running task is by
33 matches
Mail list logo