On Sunday 07 May 2006 02:44, aaron smith wrote:
I just installed the latest ant build with the latest Java jdk/jre. when
I try and run ant it says this:
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.5.0_06\lib\tools.jar
Only the JDK has the tools.jar and if
Hi Folks,
I'm having problems with junitreport... its picking up every other
transformation engine than the default Xalan one (via the
javax.xml.transform.TransformerFactory=xxx mechanism).
So basically, I get;
- Could not find a valid processor version implementation from xxx
I've got
Narahari 'n' Savitha wrote:
Oops. Mr. Stephen you are correct.
Let me re write how the MANIFEST.MF inside the jar file looks like.
Class-Path: commonscollections3.1.jar commons-lang.jar axis.jar anothe
rverylong.jar reallycoolfile.jar
Thanks for correcting me.
In that case Ant is working
Hi,
Can you help?
How can I download an empty folder from FTP? Or is there any way to zip the
folders on Ftp using ANT?
Tushar Meshram
SCM / Build
Lionbridge
6 Spectra Building, Hiranandani Business park
Powai, Mumbai - 400 076, India.
+91-22-55567000
Hello,
Is there any way we can use xml configuration file in place of
.properties file with ant.
Thanks
Manisha
I don't think FTP in and of itself will let you grab a folder. You can
certainly grab individual files... I don't think this is ant specific
but FTP related. FTP only supports a fixed number of commands - of
which zip is not one of them...
Meshram, Tushar wrote:
Hi,
Can you help?
How
Have you looked at the xmlproperty task?
Manisha Mauni wrote:
Hello,
Is there any way we can use xml configuration file in place of
.properties file with ant.
Thanks
Manisha
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect
Thanks Scot!!!
It solved my task :)
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 11:15 AM
To: Ant Users List
Subject: Re: Properties in xml file
Have you looked at the xmlproperty task?
Manisha Mauni wrote:
Hello,
Is there any way we
Anytime :) Glad to help ;)
Manisha Mauni wrote:
Thanks Scot!!!
It solved my task :)
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 11:15 AM
To: Ant Users List
Subject: Re: Properties in xml file
Have you looked at the xmlproperty task?
Hi,
I am using Ant (runant.pl) with a custom wrapping Perl script (that does
some validation, fetch some build options etc, that are then passed to
runAnt.pl).
The problem is that I need to make a call to that same script inside my Ant
(I have redirectors to subprojects), using the exec task.
Your usage of the find command is incorrect. To find all the jars in
./myDir you would run the following:
Find ./myDir -name *.jar
You should change the arg line to:
arg line=$basedir}/myDir -name *.jar/
-Rob A
-Original Message-
From: Venkat Kotu [mailto:[EMAIL PROTECTED]
Sent:
That won't work as a shell expands the asterisk
Anderson, Rob (Global Trade) wrote:
Your usage of the find command is incorrect. To find all the jars in
./myDir you would run the following:
Find ./myDir -name *.jar
You should change the arg line to:
arg line=$basedir}/myDir -name
On 5/8/06, Scot P. Floess [EMAIL PROTECTED] wrote:
That won't work as a shell expands the asterisk
exec is not a shell, so there's no need to escape the asterisk,
unless one uses vmlauncher=false or use a shell in 'executable'.
--DD
Anderson, Rob (Global Trade) wrote:
Your usage of the
There are many ways to do that. I like this:
?xml version=1.0 encoding=UTF-8?
project name=Test default=all basedir=.
scriptdef name=file-list language=jython
element name=fileset type=fileset/
attribute name=name/
![CDATA[
#file-list
property=str(attributes.get(name))
Not in this case. The shell does not need to expand the asterisk for the
find command to work. In fact, the shell can often times cause an error
when running the find command because it expands the asterisk when it
should not.
For example:
$ touch something.txt antherthing.txt yetanother.txt
$
$ rm *.txt # be carefull to run this in some temp dir
$ mkdir newdir
$ touch newdir/something.txt newdir/anotherthing.txt
newdir/yetanother.txt
$ find ./ -name *.txt
./newdir/something.txt
./newdir/anotherthing.txt
./newdir/yetanother.txt
It works as expected because the shell does not expand
I stand corrected ;)
Now can anyone help me get both feet out of my mouth :)
Anderson, Rob (Global Trade) wrote:
Not in this case. The shell does not need to expand the asterisk for the
find command to work. In fact, the shell can often times cause an error
when running the find command
No, bash is the same way...
You have to really do a find dir \*.jar
I was sorta wrong in what I was saying...find in this case is doing the
expansion (in the case where one escapes the asterisk)...
Dominique Devienne wrote:
$ rm *.txt # be carefull to run this in some temp dir
$ mkdir
At least on Cygwin, Bash does not expand asterisk, if there are no
matching files. I thought this is a new standard behaviour.
- Alexey.
Scot P. Floess wrote:
No, bash is the same way...
You have to really do a find dir \*.jar
I was sorta wrong in what I was saying...find in this case is
Thanks for the suggestion. Unfortunately that only produces this at
the top of the
file :
#
#Mon May 08 15:57:42 EDT 2006
ant 1.6.2 OSX jdk 1.5
Are timestamps part of the Properties spec or something?
On 4/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Maybe with an empty comment
Not part of the spec per-se,
but IIRC yes: writing out a properties file using the APIs in java.util.Properties
will put a timestamp in the serialized output.
Jeffrey E. (Jeff) Care
[EMAIL
Hi,
I'm trying to use a replace task to recursively replace
a string in a set of files, but it only seems to work if
the file names have an extension (e.g. **/*.java). In my
case, I am trying to recursively edit the set of files
named Root that exist with the CVS subdirectories of
project
On Monday May 8, 2006 16:18, [EMAIL PROTECTED] wrote:
I'm trying to use a replace task to recursively replace
a string in a set of files, but it only seems to work if
the file names have an extension (e.g. **/*.java). In my
case, I am trying to recursively edit the set of files
named Root
That was the problem.
Thanks,
Joe
On Mon, 8 May 2006 16:31:34 -0400
Robert Clark [EMAIL PROTECTED] wrote:
On Monday May 8, 2006 16:18, [EMAIL PROTECTED]
wrote:
I'm trying to use a replace task to recursively
replace
a string in a set of files, but it only seems to work if
the file names
Hello Toby,
I am thinking of changing junitreport to make it wrap around ant's style
task.
Regards,
Antoine
Weston, Toby wrote:
Hi Folks,
I'm having problems with junitreport... its picking up every other
transformation engine than the default Xalan one (via the
Hi,
I am using j2sdk 1.4.2_10 and Ant 1.6.5. I am using Ant Java API and
calling and executing Ant target from within my java program. I am
seeing Out Of Memory errors on Solaris on Windows 2000 it works
perfectly fine - no leaks.
Any advise or pointers?
Thanks
Ritesh
On 7/18/05, Ritesh
On Mon, 08 May 2006, Grant Lewis [EMAIL PROTECTED] wrote:
In my child project I have the following path definition:
path id=module.classpath
path refid=global.classpath/
/path
Is that inside or outside of a target? I vaguely recall that only one
of the alternatives worked, so if it is
27 matches
Mail list logo