Have you tried setting the ANT_ARGS to "-lib /yourcompany/ant/ext" ?
Jan
> -Ursprüngliche Nachricht-
> Von: Erskine, Chris [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 5. Januar 2005 05:50
> An: Ant Users List
> Betreff: RE: Ant should have an ext directory
>
> I do not think that
Hello Edouard,
I think your problem is the one described in the FAQ
http://ant.apache.org/faq.html#delegating-classloader
the work around is to have your xalan or saxon in the classpath before
starting ant, or to start ant with :
ant -lib [path to xalan]
or
ant -lib [path to saxon]
on top of that,
And we have answered that question already.
See http://marc.theaimsgroup.com/?l=ant-user&w=2&r=1&s=encryption&q=b
Jan
> -Ursprüngliche Nachricht-
> Von: Magnus Svensson (HF/EAB) [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 28. Dezember 2004 11:58
> An: 'Ant Users List'
> Betreff:
I do not think that we are saying to use Maven. I am asking for a way to
support different versions of third party jars from the same instance of
ant. Maven is being used as an example of one way to do it. I do not need
the auto-download functionality of Maven or the automatic repository. I
wou
Hi to all;
Having faced a problem too long without precise answer. My problem is the
following.
I have developed an Ant task that performs XSLT inside. So far, so good,
provided I put my XSLT implementation in Ant 'lib' directory, the task works
fine.
But as soon as I try to refer to this task v
I think you can use the Ivan Ivanov's macrodef[1] to start / stop tomcat
from your ant script
Also, Mani G. Iyer sent a very good piece of information[2] to perform tasks
in Tomcat from Ant
Ahh! The beauty of the archives ;)
Regards
[1] http://marc.theaimsgroup.com/?l=ant-user&m=1086936837
I think the "executable" should be "cmd.exe" and pass the batch file as
a nested argument. At least that's how we use it.
Best,
Robert
-Original Message-
From: Donald Strong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 2:41 PM
To: Ant Mail List
Subject: Launching Tomcat fr
--- "Mark D. Hansen" <[EMAIL PROTECTED]> wrote:
> I'm using Ant 1.6.2 and junit. When using
> ProjectHelperImpl.parse(...) to parse an existing
> build file, an NPE is thrown at
>
[SNIP]
It looks like a (not "the") cause for your problem is
your use of ProjectHelperImpl. Do you have this
expli
Hi all,
I am having a problem launching tomcat from ant.
It works fine when I run ant in a dos shell
but not when I run ant from a cygwin shell.
Any suggestions welcome.
Donald.
---
Yves Leung-Tack <[EMAIL PROTECTED]> writes:
> Hi,
>
> Is it possible for ant to get a filename , parsing it
> and get a substring of that filename for using it ??
>
> What I want to do exactly in build.xml is:
> if a file with *QAE.tar.gz exists then
> parse the that filename
--- Yves Leung-Tack <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> Is it possible for ant to get a filename , parsing
> it
> and get a substring of that filename for using it ??
>
You should be able to do this using pathconvert with a
regexp mapper.
-Matt
__
Hi,
Is it possible for ant to get a filename , parsing it
and get a substring of that filename for using it ??
What I want to do exactly in build.xml is:
if a file with *QAE.tar.gz exists then
parse the that filename to get the substring from index 4 to 9
use that substrin
Hi,
Is it possible for ant to get a filename , parsing it
and get a substring of that filename for using it ??
What I want to do exactly in build.xml is:
if a file with *QAE.tar.gz exists then
parse the that filename to get the substring from index 4 to 9
use that substrin
This is a problem in the Ant integration of Eclipse.
ant.home and ant.library.dir are not being set for the parsing occurring
in the Ant editor.
This problem has no impact on actually running the build...only an
incorrect indication of a problem in the Ant editor of Eclipse.
Logged as https://
I've downloaded and installed Ant 1.6.2 from apache.org and reset my
ANT_HOME environment variable to point to the new Ant 1.6.2 instead of Ant
1.6.1. I opened a command prompt (I'm in WinXP) and ran my build file with
the ${ant.home} line enabled; the build worked perfectly and both of the
imports
The problem occurs in Eclipse with its built-in copy of Ant 1.6.2. The
problem does NOT occur when I run Ant 1.6.1 from the command line outside of
Eclipse. (I have a copy of 1.6.1 outside of Eclipse for use in projects that
don't involve Eclipse.)
If you can tell me how to invoke Eclipse's Ant 1.
Peter,
I modified my build.xml to include the you suggested. Here is the
revised build.xml:
Create the jar files for the SDAC Editors so that they can be
transferred to the server.
ant.home is ${ant.home}
This is the result of running the buil
Peter Reilly <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] wrote:
>
> >Martin Cooper <[EMAIL PROTECTED]> writes:
> >
> >> You may be running into a bug that has been fixed but is not yet in a
> >> release. Does anybody know if this is true?
> No, it is not true.
Thank you for the answe
[EMAIL PROTECTED] wrote:
Martin Cooper <[EMAIL PROTECTED]> writes:
> You may be running into a bug that has been fixed but is not yet in a
> release.
Does anybody know if this is true?
No, it is not true.
I'm guessing there is still some
work to get ant working the way I was hoping.
Yes
Rhino wrote:
Hello Antoine,
I'm not sure why you say that this is an integration problem.
Using normal command-line ant, ant.home is set in Laucher.java.
In embedded ant in eclipse and netbeans, ant.home may be set by the
container.
In eclipse code (3.0.1) it seems to be set in:
./plugins/org.e
I did a bit of experimenting with this, and it does seem to be an Eclipse
issue. It looks to me like it's a problem with the Eclipse Ant editor trying
to resolve the filename without first resolving properties in the filename. If
so, that would explain why your work-around works.
Rhino, have
Hello Antoine,
I'm not sure why you say that this is an integration problem. The position
of 'ant.home' within Eclipse should always be within the
eclipse\plugins\org.apache.ant_1.6.2 directory as mine is: whether I have
Eclipse in C:\Program Files as you do or E:\eclipse\3.0.1\eclipse as I do,
d
I'm using Ant 1.6.2 and junit. When using ProjectHelperImpl.parse(...) to
parse an existing build file, an NPE is thrown at
org.apache.tools.ant.types.Description.getDescription(Description.java:78).
The Description.getDescription() method is shown below and line #78 is marked.
It seems that
Hello Rhino,
I would say you are suffering from an integration problem between ant and
eclipse. I would expect ant.home in Eclipse to be set to :
C:\Program Files\eclipse\plugins\org.apache.ant_1.6.2
(in the case of my PC).
An Eclipse user list might be a good forum to discuss your problem too.
Ch
I'm experiencing some weird behaviour with respect to certain ant properties
in my build.xml. I think this behaviour warrants a Bug Report but the manual
says I should discuss the issue with the mailing list first. It suggests
trying to get some concensus that it really is a bug first and that othe
"Poonam" <[EMAIL PROTECTED]> writes:
> Hello,
>
> Can you please help me to run a CMD file from ant?
> My CMD file contains 3-4 statements each dependent on previous one.
>
> I have tried using apply and exec.
>
>
>
>
> or
>
>
>
> Thanks,
> Poonam
Thi
Hello,
Can you please help me to run a CMD file from ant?
My CMD file contains 3-4 statements each dependent on previous one.
I have tried using apply and exec.
or
Thanks,
Poonam
- Original Message -
From: "Stephen McConnell" <[EMAIL PROTECTED]>
To: "'Ant Users List'"
Sent: T
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 04 January 2005 23:26
> To: Ant Users List
> Subject: Re: Ant should have an ext directory
>
> "Robert r. Sanders" <[EMAIL PROTECTED]> writes:
>
> > Yeah, but I don't think this is what the question was a
Our ant taskdefs use project-based property files to define their
location. That sounds similar to Maven's configuration file. Ant needs
to provide something similar for its optional tasks.
-Original Message-
From: Erskine, Chris [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 7
That's along the route that we have taken, except we work in a
disconnected environment so software has to be on the machines. Our
developers simply check out the development software to their machines.
Instead of reserving a drive letter, we set a DEV_HOME environment
variable and all software is
"Robert r. Sanders" <[EMAIL PROTECTED]> writes:
> Yeah, but I don't think this is what the question was about.
I understood that.
> It would be nice to have a place to put the (global) ant extensions
> you are using to keep them separate from the main/default ant
> libraries to help wi
The big issue that I see with all of these solutions the fact that you are
forcing all projects to use the same version of the external jars. This
means that when a major new version of some support jar comes out, I have to
either change all of my build scripts to use the new version at the same
t
The -lib switch sucks for everyday use. You don't want to modify the
distributed code because the next time you upgrade you have to do it all
over again.
An ext directory is self-documenting and easy to upgrade.
1) Install new distribution.
2) Copy ext from old distribution to new distribution.
3
Bingo.
-Original Message-
From: Robert r. Sanders [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 6:31 PM
To: Ant Users List
Subject: Re: Ant should have an ext directory
Yeah, but I don't think this is what the question was about. It would
be nice to have a place to put the
Oliver,
The only idea that comes to my mind is to place the
definition of weblogic.classpath path in a conditional
target:
HTH Ivan
--- Olivier Mocquais
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to define
It's OK,
thanks
- Original Message -
From: "Ivan Ivanov" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Monday, January 03, 2005 6:47 PM
Subject: Re: cvs with ant
--- [EMAIL PROTECTED] wrote:
> I believe the cvs login command accepts a password
> on the command line?
Yes, cvs login
Hi,
I want to define the fileset in the path only if the property
weblogic.root is set.
How can I do this ?
Thanks for your answers.
Olivier
-
To unsubscribe,
Hello Steve
this problem is the one described here :
http://ant.apache.org/faq.html#delegating-classloader
I had this happening also with a JNDI implementation class.
Are the JSSE interfaces part of the JDK you are using ?
I wonder whether a good wording for this type of problems would not be
38 matches
Mail list logo