I am getting the following error when running the command "ant -f
antsnestbuild.xml"
E:\software\Ant GUI\antsnest-1.1\antsnest>ant -f antsnestbuild.xml
java.lang.InstantiationException: org.apache.tools.ant.Main
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.new
Thanx. it was bug in a earlier Ant version. The P4Change process
hanged !!!. Anyway using Ant 1.6 worked . Thanks everybody for the
help
Mahen
On Thu, 6 Jan 2005 10:04:27 +0100 (MET), Antoine Levy-Lambert
<[EMAIL PROTECTED]> wrote:
> Hello,
> 1) there are bugs in the ant perforce tasks in ant 1
Dick, Brian E. wrote:
There is a java.version property. Maybe you can use that instead of
checking the PATH.
That won't work. I want to use two different JDKs in the same build. The
java.version property just tells me the one it found. This also implies
that I have to spawn the JDK as a separate
And further, Ant itself was annotated with XDoclet @tags a few years
ago for auto-generation of documentation and with the plan to use it
for metadata generation for tools to use. As far as I know, no tool
vendor as picked up on this metadata sadly. I'm not sure how the
IntrospectionHelper im
There is a java.version property. Maybe you can use that instead of
checking the PATH.
-Original Message-
From: Scott Simpson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 6:42 PM
To: user@ant.apache.org
Subject: Want to build under multiple JDKs
We have some Java code that
We have some Java code that I want to build under multiple JDKs in Ant.
I have both JDK 1.3 and JDK 1.4 installed and I need to build certain
code under each version of the JDK. Any suggestions? I was thinking I
might have to create a custom task to look down the PATH and find the
latest versio
> From: Rich Wagner [mailto:[EMAIL PROTECTED]
>
> Have you considered using reflection, in addition to meta-model files?
In
> other words, imagine searching Ant's classpath for task classes, and
then
> using reflection to (for instance) discover what attributes each task
> class accepts.
Actually
Chris,
I saw this text on the "Ant's Nest" web site:
Yet there exists very few GUI's to help create Ant build files
and it is Ant's Nest's aim to change this. The main way it will
do this is through an intuitive drag 'n' drop interface, with
support on how to assemble valid tasks and targets. This
Does this tool not support or something? When I try to open any
of my build files, it tells me it's not a valid build file. ;-(
--
Martin Cooper
On Thu, 6 Jan 2005, Chris Clohosy wrote:
Hi all,
I would like to draw your attention to an open-source Ant GUI that I am
developing, called 'Ant's Nes
Guys you were right, it wasn't the SAX. There were a combination of problems
that I've been working on all night but now it's fixed and tomorrow I'll
release the new version. There was a problem with long string concatenation
in the build file beautifier, I use a buffer class instead now. Then t
I was just going to say that. I've used SAX parsing (even building a
DOM tree, or JDOM tree) on files that are over 1 MB in size. It has to
be what you are doing with the data. SAX itself won't build up stuff
in memory. Just be carefull how you store the data you gather from
there.
David
On Thu,
Never mind, another ImageMagick user suggested that Ant was finding another
convert.exe, so I used the full pathname and it works now.
-Original Message-
From: Gordon Bowman [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 1:28 PM
To: 'user@ant.apache.org'
Subject: Problems r
The ImageMagick command line "convert -sample 160x160 input.tif output.tif"
works perfectly for me. Now I am trying to run the same command via the Ant
task, but I cannot get it to work. I have tried the following:
Dear All,
as writtten is the subject, how to unsubscribe to this list ?
email to <[EMAIL PROTECTED]> is not working...
Bye.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
SAX parsers are created to work with big files. I think the problem is
with what it does during parsing.
- Alexey.
Chris Clohosy wrote:
Thanks for trying it Alexey, especially on a large build file as I
haven't got any to test it on. If my thinking is right, I think it
choked because I'm using
Thanks for trying it Alexey, especially on a large build file as I haven't
got any to test it on. If my thinking is right, I think it choked because
I'm using a SAX parser to read in the XML, and it just can't handle that big
a file. But that's just an idea, it might not be that, I'll investigat
Hi Alexey,
You make a good point, Borland does have some good Ant features, however I
believe Ant's Nest is more user-friendly. A tool should be independent of
the JDK the user owns, true. But for me to do that I would have to bundle
the Java 1.5 gear in with the download and that would put a lo
Hi Luis,
Thanks for the interest but I'm afraid it has to be Java 1.5 or higher. This
is due to the fact I use a couple of new methods, as well as annotations.
This is where a user's own Ant task can be marked up with meta-data and
Ant's Nest will automatically scan the compiled class, integrati
It chocked on my 700K (mostly generated) build file (still running about
10 minutes at 100% CPU).
- Alexey.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
True, but it does mean that we Mac OS X folks can't tinker with it. We have a
great, stable 1.4.2 environment, but no sign of JDK 1.5 until Apple decide to
ship it. Maybe it'll be in 10.4, supposed to be released this summer.
Simon
>-Original Message-
>From: Alexey N. Solofnenko [mailto
Borland does the same - development JDK and tool host JDK do not have to
be the same.
- Alexey.
Conelly, Luis (GE Energy, Non GE, GENE) wrote:
Hi, Chris,
Is really necessary to use JDK 1.5?? I believe most of the developments
out there are being done in Java 1.4.x and prior (yes, unbelievable,
Hello Poonam,
I believe you need to use a custom mapper..
read this :
http://ant.apache.org/manual/CoreTypes/mapper.html
I think you need to write a class which implements
|org.apache.tools.ant.util.FileNameMapper
Cheers,
Antoine
|
Poonam wrote:
Hi,
Thanks, that was really useful.
Actually I am t
Hi, Chris,
Is really necessary to use JDK 1.5?? I believe most of the developments
out there are being done in Java 1.4.x and prior (yes, unbelievable, but
true). I'd like to give a try to your product, but I don't want to install
another JDK in my Wintel machine (another one would colapse my
simply put the jar in ${user.home}/.ant/lib and all should work
Jan
> -Ursprüngliche Nachricht-
> Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 6. Januar 2005 16:37
> An: Ant Users List
> Betreff: Re: AW: help with propertyregexp of antcontrib
>
> Hi,
>
> T
Hi,
Thanks I can make it work when I copy the regexp package into the abt
lib directory.
I tried to put it in a separate directory. For that I have to specified
it my build.xml
in the following way but I need a .properties file!
Where can I get it or Is there another way to specify that package
You need a regexp utility. Since JDK 1.4 there is a built in (I think), or
you have to
use an external, e.g. ORO, RegExp... See Ant´s manual "installation | lib
dependencies"
Jan
> -Ursprüngliche Nachricht-
> Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 6. Jan
Hi,
I try to use the propertyregexp of ant-contrib
But when I run the following simple example from their
documentation, I got the error :
D:\Work\Dev\testbuild.xml:16: No supported regular expression
matcher found
The example is : to run on your machine just change antcontrib property
On Jan 6, 2005, at 8:03 AM, EJ Ciramella wrote:
That's exactly why we haven't upgraded to xdoclet 1.2.2. The first
assert warning prevents the file I need from being generated. Do you
know of a workaround other than hacking javacc source?
No, sorry. Though maybe XDoclet2 is in usable enough fo
That's exactly why we haven't upgraded to xdoclet 1.2.2. The first assert
warning prevents the file I need from being generated. Do you know of a
workaround other than hacking javacc source?
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thu 1/6/2005 4:25 AM
>From a windows box, I could did something very similar but couldn't find that
>class anywhere. That warning pops up with ant 1.5.4 (and ant 1.4.1) and
>xdoclet 1.1.2, but the file is created anyway. The real error is:
Running XDoclet failed. An IO error occured while reading context data.
1
Hi all,
I would like to draw your attention to an open-source Ant GUI that I am
developing, called 'Ant's Nest'. I'm keen for your feedback and bug reports on
it, as it's being made especially for you guys! As you will see it's largely
based around a drag 'n' drop interface and an XML model of
Hi,
Thanks, that was really useful.
Actually I am trying to copy a set of folders over network. Is there any way
to change the name of the folder while copying at runtime.
For eg. The folder name is like
ReleaseLock.4BA6844C-8F19-429F-BE93-B8A6AAA2E735. I want to change this name
to run1. Similarl
Why you dont use the pathconvert class?
The taskdefs/default.properties [1] refers to the implementing class
pathconvert=org.apache.tools.ant.taskdefs.PathConvert
which can be found on [2].
Jan
[1]
http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs
/defaults.properties
Is there a programmatic way to do what PathConvert task does? Something like
this would be nice:
String AntUtils.getPath(String filePathToBuildXml, Srting pathId)
This would be useful for implementing this NetBeans RFE:
http://www.netbeans.org/issues/show_bug.cgi?id=52880
--
On Jan 5, 2005, at 11:48 PM, EJ Ciramella wrote:
Hello, we're running (or attempting to run) ant 1.6.2 and xDoclet
1.1.2 (to avoid problems with assert statements. But I keep getting
this:
XDoclet 1.1.2 is *ancient*. I would highly recommend you use the most
current version. Is there a proble
Hello,
1) there are bugs in the ant perforce tasks in ant 1.5.4, so check
which version of ant you are using (1.6.2 should be fine, or a 1.4.x).
2) before you do a p4submit, you need to :
create a perforce change list using
then for instance
then
the p4.change property gets set by the p4c
36 matches
Mail list logo