-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Severity: moderate
Affected versions:
- - Apache Ivy 1.0.0 through 2.5.1
Description:
Improper Restriction of XML External Entity Reference, XML Injection (aka Blind
XPath Injection) vulnerability in Apache Software Foundation Apache Ivy.This
Simple solution
Another possibility is using a template file and
.
The simple solution is based on your "requirement"
> Replace:
> 12467abc => 34567abc
> 12467def => 34567def
> 12467xyz => 34567xyz
For heavy
I want to replace three values from files(12467abc,12467def,12467xyz).
IF( TEXT( $User.ABC_USR_Brand__c )="Maruti",
"/servlet/servlet.FileDownload?file=12467abc",
IF ( TEXT($User.ABC_USR_Brand__c )="Maruti Suzuki",
"/servlet/servlet.FileDownload?file=12467def",
"/servlet/servlet.FileDownload?fil
gt; An: user@ant.apache.org
> Betreff: Ant get-m2.xml question
>
> Hi all,
>
> I am trying to upgrade my PowerMac G4 from ant 1.6.5/JDK 1.5 to ant
> 1.7.0 and am running the command:
>
> ant -f fetch.xml -Ddest=system
>
> to get and build dependencies for the new ant and am
Hi all,
I am trying to upgrade my PowerMac G4 from ant 1.6.5/JDK 1.5 to ant
1.7.0 and am running the command:
ant -f fetch.xml -Ddest=system
to get and build dependencies for the new ant and am getting an error
from get-m2.xml at Line #70
The error is:
Class
s correct I don't know why it's trying as
> there is a 'webhelp/xsl/webhelp.xsl' entry within Catalog.xml.
I'm just guessing here. C:\Projects\Tools_RK\DocBook-System\WebHelp
seems to be your project's basedir and this is the default location to
resolve relativ
ar", and ${catmanpath} is
the full path to Catalog.xml.
where previously I got :
"Apache resolver library not found, internal resolver will be used
Warning: XML resolver not found; external catalogs will be ignored
Failed to load Apache resolver: java.lang.NoClassDefFoundEr
On 2013-09-13, Kerry, Richard wrote:
> "ant-resolver.jar and xml-resolver.jar "
> hang on a moment . what are these ?
> I thought I just needed resolver.jar from xml-commons-resolver-1.2
> (assuming that's the latest), so what are these two ?
xml-resol
o $ANT_HOME/lib if I don't need to.
"ant-resolver.jar and xml-resolver.jar "
hang on a moment . what are these ?
I thought I just needed resolver.jar from xml-commons-resolver-1.2 (assuming
that's the latest), so what are these two ?
And (previous response) I
> From: richard.ke...@atos.net
> To: user@ant.apache.org
> Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example
> Date: Fri, 13 Sep 2013 16:08:08 +
>
>
>
> Ok, right, good, back on this again for a while after a break .
>
>
&
e your jars that depend on each other.
In the case of ant-resolver.jar and xml-resolver.jar I'd recommend to
put them both into $ANT_HOME/lib or use -lib (this is equivalent) but
never split them. The alternative is to not put them into
ANT_HOME/lib but use a nested holding both of th
On 2013-08-30, Kerry, Richard wrote:
> The text is in
> ant.apache.org/manual/Types/xmlcatalog.html<http://ant.apache.org/manual/Types/xmlcatalog.html>
> and says (hoping the italic work) "In order to use an external catalog
> file, the xml-commons resolver library (&qu
says (hoping the italic work) "In order to use an external catalog file,
the xml-commons resolver library ("resolver.jar") must be in your path." (ie
"path")
and then
"If the xml-commons resolver library is not found in the classpath, external
catalog fi
is
virus-free and will not be liable for any damages resulting from any virus
transmitte
From: Martin Gainty [mgai...@hotmail.com]
Sent: 30 August 2013 14:37
To: Ant Users List
Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example
On 2013-08-30, Martin Gainty wrote:
> As the vast majority of Ant Developers came from C++ backgrounds
> (usually writing JNI code...)
I wouldn't expect this assertion to hold true.
> Unless there is a JNI Library (which would have to be located on path
> in order for the Java xslt task to execu
: user@ant.apache.org
> Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example
> Date: Fri, 30 Aug 2013 12:34:20 +
>
>
>
> "PATH is for shell scripts to locate binaries (C++ programs)"
>
>
>
> Yep, got that.
>
> M
"PATH is for shell scripts to locate binaries (C++ programs)"
Yep, got that.
My uncertainty is because the Ant docs use "path" and "classpath" in
consecutive sentences - I think one of them is wrong.
(in http://ant.apache.org/manual/Types/xmlcatalog.html)
&qu
Mssr Kerry
regarding use of .properties or .xml configuration
place ant configuration files such as .properties or .xml files into 1st item
in classpath e.g.
assume resolver.jar is located in $ANT_HOME/lib
set $CLASSPATH=$ANT_HOME%/lib;$TOMCAT_HOME%/lib
export $CLASSPATH
if you place
l effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: richard.ke...@atos.net
> To: user@ant.apache.org
> Subject: RE: Use of XML Catalog with Ant (xslt
To: Ant Users List
Subject: Re: Use of XML Catalog with Ant (xslt task) - request for example
I'm walking in late here, so I may be missing the point.
Have you seen
http://stackoverflow.com/questions/14165765/how-to-use-saxon-built-in-catalog-feature
and http://www.saxonica.com/documentat
I've changed my build file to pass the xslt task the location of the xsl style
file.
I can now see it reading that in the build log.
However, it isn't using my resolver to look up imports.
Please can someone answer the following questions.
1. I have xml-commons-resolver-1.2,
I'm walking in late here, so I may be missing the point.
Have you seen
http://stackoverflow.com/questions/14165765/how-to-use-saxon-built-in-catalog-feature
and http://www.saxonica.com/documentation/using-xsl/xsltfromant.html
The first is about Saxon and catalogs, the second is about the problem
On 2013-08-23, Kerry, Richard wrote:
> Can I add this as a feature request ?
Sure:
https://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=enhancement
> Saxon is able to do this, but it is run as a Java application so is
> able to do anything a Java app can do, in whatever way
he.org
> Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example
> Date: Fri, 23 Aug 2013 13:28:47 +
>
>
>
> "you want the catalog to resolve the stylesheet itself - I'm afraid this is
> not supported."
>
> "it does not use th
Gainty [mgai...@hotmail.com]
Sent: 17 August 2013 13:31
To: Ant Users List
Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example
you wont need to write anything...Im just showing you the parameters you would
need to create
a working test harness
if you could approach the situat
sender endeavours to maintain a computer
virus-free network, the sender does not warrant that this transmission is
virus-free and will not be liable for any damages resulting from any virus
transmitte
From: David J. B. Hollis [dhol...@aandoconsultancy.ltd.uk]
Sent:
ode...@apache.org]
Sent: 16 August 2013 19:48
To: user@ant.apache.org
Subject: Re: Use of XML Catalog with Ant (xslt task) - request for example
On 2013-08-14, Kerry, Richard wrote:
> I'm trying to get DocBook WebHelp building working, which uses Ant to
> control the various processes
rt à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: mgai...@hotmail.com
>
que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: richard.ke...@atos.net
> To: user@ant.apache.org
> Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example
> Date: Fri, 1
Hi,
Trying to resolve this with ANT might possibly be too late, although I know
nothing about ANT's xmlcatalog.
The point is that Saxon loads a Java classpath defined
CatalogManager.properties file, so it's possible that it has read this before
ANT gets started.
So, you might be better off fi
I'm not in a position to verify just at the moment, but I don't think
Martin was suggesting you write code so much as showing you the properties
used by the task which should translate into XML attributes.
Matt
On Aug 16, 2013 11:40 AM, "Kerry, Richard" wrote:
> Goodness
uot; indicates Ant doesn't try to use the catalog at all to me.
How (a build.xml snippet) are you trying catalogs to do what?
The task only uses catalogs to resolve DTDs and entities inside
the XML documents - it does not use the catalog when locating the
documents to transform or the styles
ble for any damages resulting from any virus
transmitte
From: Martin Gainty [mgai...@hotmail.com]
Sent: 16 August 2013 13:39
To: Ant Users List
Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example
Richard
the best way to handle this is to turn on fu
Richard
the best way to handle this is to turn on full debugging ..here are the
parameters you will want to supply to the taskdef
/** destination directory */
private File destDir = null;
/** where to find the source XML file, default is the project's basedir */
private
n't appear to use a catalog to get the style
file - there is no mention of "xml/doc.xsl" in the shown.
3. The Ant documentation implies resolver.jar needs to be in the system
classpath, but I can't see where this should be set. As far as I can tell I
haven't got one -
>From Ants test directory:
snippet from the buildfile
xsl
http://www.w3.org/1999/XSL/Transform";
version="1.0">
xml
http://chemical/brothers";
>
I'm trying to get DocBook WebHelp building working, which uses Ant to control
the various processes involved, in particular Xslt.
I would like to use Catalogs for resolving my XSL stylesheet locations, and
have thus far been unable to make this work.
I've tried to follow Ant's documentation reg
If I understand you correctly, you want to take a file that looks to
contain the output from an Ant run and extract valid XML from it, is
that correct?
If so, there are two parts you need in a filterchain. The first is
something to strip the "[api] " tags from the beginning of
Check out XMLTask for XML processing in Ant.
http://www.oopsconsultancy.com/software/xmltask
Brian
On Mon, November 28, 2011 13:15, Vinodh Kumar wrote:
> My final output after stripping will be an XML. I tried using regex but
> not
> able to achieve.
>
> --Vinodh Kumar
>
My final output after stripping will be an XML. I tried using regex but not
able to achieve.
--Vinodh Kumar
--
View this message in context:
http://ant.1045680.n5.nabble.com/Stripping-Contents-from-XML-tp5027993p5028824.html
Sent from the Ant - Users mailing list archive at Nabble.com
Hello. Is your input an actual XML file or is it a text file containing all the
"[api]" and extra text as indicated?
If it's pure text, you'll probably need to investigate using to
remove the unwanted text, using a regex pattern to match all the text you don't
want
Hi,
Can I know how to achieve with ant? Basically I need xml tag content from
[api] to [api] as output
Any hint?
* [api] DBTime is 2028005710
[api] Invoking api: getServerList, expectedtofail: false
[api]
[api]
[api]
...
[api] *
to
Yeah, that would suit my purposes. Seems like the first line is the only one
likely to contain a space before the word " more" anyway, aside from the line
we want to strip.
Bob
On Aug 5, 2011, at 8:40 AM, Stefan Bodewig wrote:
> On 2011-08-04, Robert E. Billings III wrote:
>
>> OK, I'll fil
On 2011-08-04, Robert E. Billings III wrote:
> OK, I'll fill out a bugzilla report. Thanks for verifying! :)
Would it be enough if we simply started filtering after the first line
of the stack trace? That fix would be easiest to implement.
Stefan
--
OK, I'll fill out a bugzilla report. Thanks for verifying! :)
Bob
On Thu, Aug 4, 2011 at 11:05 AM, Stefan Bodewig wrote:
> On 2011-07-28, Bob Billings wrote:
>
> > However, the Ant junit XML formatter strips off the first line with
> > the failure message in any test fa
On 2011-07-28, Bob Billings wrote:
> However, the Ant junit XML formatter strips off the first line with
> the failure message in any test failure where the failure message
> contains the word " more", resulting in just the "at " line
> remaining, which is
t SQL
scripts they checked in worked properly, whether our test data loaded
correctly, etc. I was noticing that some of the test failures shown in the
emails were missing the actual reason for the test failure -- they just said
"at ".
I've tracked down the issue to the Ant junit task
ild.properties' in
>> folder 'C:\folder\main', I have another xml file 'test.xml' which should
>> read properties from 'test.properties' which are in the folder
>> C:\folder\subfolder.
>>
>> when I call the targets of 'test.
It'd help if we can see your code...
On Fri, 8 Jul 2011, avenger wrote:
Hi all,
I have a 'build.xml' which reads properties from 'build.properties' in
folder 'C:\folder\main', I have another xml file 'test.xml' which should
read properties fro
Hi all,
I have a 'build.xml' which reads properties from 'build.properties' in
folder 'C:\folder\main', I have another xml file 'test.xml' which should
read properties from 'test.properties' which are in the folder
C:\folder\subfolder.
when I ca
* Settings tab
* Property files
From: Prakash Karnati
To: "ivy-u...@ant.apache.org"
Sent: Tue, April 26, 2011 8:38:12 AM
Subject: Issue : In ivy xml declaration variables.
I have the following ivy.xml
The ${version} property is inside a build.
> Sent: Monday, February 07, 2011 15:17
> To: user@ant.apache.org; d...@ant.apache.org
> Subject: Apache Ant JUnit XML Schema
>
> Hi,
>
> I've been looking for a schema for the XML output produced by the JUnit and
> JUnitReport tasks. Google couldn't find it for me, so
Hi Gary,
For better re-usability, you might consider adding a license (The Apache
License v2.0 for example, see http://www.apache.org/licenses/LICENSE-2.0.html)
in a comment at the top of your schema.
I've already placed the license information at
xs:schema/xs:annotation/xs:documentation
Hi,
I've been looking for a schema for the XML output produced by the JUnit and
JUnitReport tasks. Google couldn't find it for me, so I've created one. You can
get if from http://windyroad.org/2011/02/07/apache-ant-junit-xml-schema/
Hopefully someone else might find it u
Hi,
I've been looking for a schema for the XML output produced by the JUnit and
JUnitReport tasks. Google couldn't find it for me, so I've created one. You can
get if from http://windyroad.org/2011/02/07/apache-ant-junit-xml-schema/
Hopefully someone else might find it u
l have been
> created by the time the cron triggers.
> If the output is not XML then can ANT understand the results at all?
It depends on what you want to do with them.
The task basically aggregates XML files and applies a
custom XSLT reansformation - this one expects a specific XML format.
ux/solaris boxes
which are basically cron jobs. They dont run as soon as a build is
completed. They run once every night on a build we assume will have been
created by the time the cron triggers.
If the output is not XML then can ANT understand the results at all? For
example if results are in TAP f
On 2010-08-11, tabber wrote:
> We are evaluating ANT to setup out build process. We have a lot of our tests
> written in c and functional test written in an ih house developed language.
> There tests produce text output which I can parse and generate JUnit like
> XML output.
> Ho
We are evaluating ANT to setup out build process. We have a lot of our tests
written in c and functional test written in an ih house developed language.
There tests produce text output which I can parse and generate JUnit like
XML output.
How do I make ANT run these tests for each build? Is
Original Message
Subject: Re: Remove duplicate JAR file names from an XML file
From: Michael Ludwig
To: Ant Users List
Date: 31.07.2010 19:19
> Looks like the is not needed in this case as
> seems to imply removal of duplicates.
yep, you
> not required in that case, as xmltask uses a blank as default
I think that was for the case of a whitespace-separated list of jars
taken from the XML by using the text() node test.
> >
> >
> >
> >
> >
> >
> >
> &g
Original Message
Subject: Re: Remove duplicate JAR file names from an XML file
From: Michael Ludwig
To: Ant Users List
Date: 31.07.2010 13:21
> Gilbert Rebhan schrieb am 31.07.2010 um 00:47 (+0200):
>
>> Whenever some kind of xml processing occurs within your
Gilbert Rebhan schrieb am 31.07.2010 um 00:47 (+0200):
> Whenever some kind of xml processing occurs within your ant workflow
> i recommend the use of the xmltask[1].
> From your first posting i assume you have some xml like :
>
>
>
> antlr-2.7.6.jar antlr-2.7.
Original Message
Subject: Re: Remove duplicate JAR file names from an XML file
From:
To: user@ant.apache.org
Date: 27.07.2010 08:32
>> I have an xml file which lists JAR file names in it with space
>> specified as a delimiter. There are duplications of JAR files
On Mon, Jul 26, 2010 at 2:22 PM, Rao Chaudhri wrote:
> I have an xml file which lists JAR file names in it with space specified as a
> delimiter. There are duplications of JAR files name in the file and I was
> wondering if there is a way to some how get ride of the duplication,
Rao Chaudhri schrieb am 26.07.2010 um 11:22 (-0700):
> I have an xml file which lists JAR file names in it with space
> specified as a delimiter. There are duplications of JAR files name in
> the file and I was wondering if there is a way to some how get ride of
> the duplication, t
temporary variable in the next iteration.
Thanks
Usman Chaudhri
-Original Message-
From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de]
Sent: Monday, July 26, 2010 11:33 PM
To: user@ant.apache.org
Subject: AW: Remove duplicate JAR file names from an XML file
>I have an xml f
>I have an xml file which lists JAR file names in it with space
>specified as a delimiter. There are duplications of JAR files
>name in the file and I was wondering if there is a way to some
>how get ride of the duplication, to get a file which has a
>unique set of
I have an xml file which lists JAR file names in it with space specified as a
delimiter. There are duplications of JAR files name in the file and I was
wondering if there is a way to some how get ride of the duplication, to get a
file which has a unique set of JAR file names?
Example of
uvons accepter aucune responsabilité
pour le contenu fourni.
> From: graham.he...@ts.fujitsu.com
> To: user@ant.apache.org
> CC: bode...@apache.org
> Date: Tue, 11 May 2010 11:04:55 +0200
> Subject: using task with XML Schema 1.1 and Saxon
>
> Well readers,
>
plement
>both the xmlvalidate and schemavalidate tasks.
>This will be released in Saxon-EE 9.3.
>
>Michael Kay
Graham (esel) Heath
-Original Message-
From: Stefan Bodewig [mailto:bode...@apache.org]
Sent: Monday, May 10, 2010 12:02 PM
To: user@ant.apache.org
Subject: Re: u
On 2010-05-10, Heath, Graham wrote:
> I include here Mike Kay's offline assessment of using saxon validate
> inside ant.
>> It looks as if this task relies on the validation engine implementing
>> XMLReader - that is, it's assuming validation is something that
>> parsers do. I would have expect
ilto:graham.he...@ts.fujitsu.com]
Gesendet: Montag, 10. Mai 2010 11:19
An: user@ant.apache.org
Cc: Michael Kay
Betreff: using task with XML Schema 1.1 and Saxon
Greetings readers,
just to add my take on this..
I use ant extensively and with saxon too. My first attempts used the ant
task, but that fel
Greetings readers,
just to add my take on this..
I use ant extensively and with saxon too. My first attempts used the ant
task, but that fell over when my stylesheets needed to use xslt2.0.
So I switched to , except that then I could not switch on
line-numbers and tracing. After a discussion o
mp; Co KG
Marxergasse 25, 1030 Wien
FN 8333f, Handelsgericht Wien
http://www.lexisnexis.at/
-Ursprüngliche Nachricht-
Von: Stefan Bodewig [mailto:bode...@apache.org]
Gesendet: Donnerstag, 6. Mai 2010 14:14
An: user@ant.apache.org
Betreff: Re: using task with XML Schema 1.1 and Saxon
O
rüngliche Nachricht-
Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
Gesendet: Donnerstag, 6. Mai 2010 13:14
An: Ant Users List
Betreff: AW: using task with XML Schema 1.1 and Saxon
Did you use the saxon tasks?
I use Saxon for XSLT inside Ant and I installed the Saxon
AW: using task with XML Schema 1.1 and Saxon
> Date: Thu, 6 May 2010 13:13:45 +0200
> From: juergen.knuple...@icongmbh.de
> To: user@ant.apache.org
>
> Did you use the saxon tasks?
> I use Saxon for XSLT inside Ant and I installed the Saxon Anttasks
>
> -Ursprünglic
On 2010-05-06, Huditsch, Roman (LNG-VIE) wrote:
> Hi Stefan,
> Sorry, I forgot to include the ant output from the command line :(
> H:\Projekte\Stylesheets\LND\ZeitschriftenProduktion\build.xml:713: Could not
> start xml validation: com.saxonica.Validate implements nor SAX1 Parser
Did you use the saxon tasks?
I use Saxon for XSLT inside Ant and I installed the Saxon Anttasks
-Ursprüngliche Nachricht-
Von: Huditsch, Roman (LNG-VIE) [mailto:roman.hudit...@lexisnexis.at]
Gesendet: Donnerstag, 6. Mai 2010 09:30
An: Ant Users List
Betreff: AW: using task with XML
Hi Stefan,
Sorry, I forgot to include the ant output from the command line :(
H:\Projekte\Stylesheets\LND\ZeitschriftenProduktion\build.xml:713: Could not
start xml validation: com.saxonica.Validate implements nor SAX1 Parser nor SAX2
XML Reader.
Best regards,
Roman
Mag. (FH) Roman
On 2010-05-06, Huditsch, Roman (LNG-VIE) wrote:
> Hi,
> I tried to use the xmlvalidate task with an XML Schema 1.1 and Saxon EE,
> but failed.
failed in which way? Is there any (verbose) output that may give
additional hints?
> Has anyone tried this successfully?
Never tried, bu
Hi,
I tried to use the xmlvalidate task with an XML Schema 1.1 and Saxon EE,
but failed.
Has anyone tried this successfully?
My task looks like:
Any help is highly welcome.
Thanks,
Roman
Mag. (FH) Roman Huditsch
Teamleader XSLT-Development
Tel.: +43 (1) 534 52
I had a similar problem running "ant". After burning almost a half a day
trying to figure it out, I finally fixed it.
Install the xml-commons-apis package.
:blush:
Harry_ wrote:
>
> Hi,
>
> I have to run some jmeter scripts on ant. But I am getting the following
Betreff: Re: Question ant script --> extract RAR-File --> XALAN -->
XSLT, XML
Thx for the suggest, but don't you think I've even look at there and
still dont know how its gonna work?
I have no clue of ant. And it would be very nice to have a short
example about the four command
Jan
-Ursprüngliche Nachricht-
Von: Tamer Demirel [mailto:demi...@in.tum.de]
Gesendet: Donnerstag, 17. Dezember 2009 11:11
An: Ant Users List
Betreff: Re: Question ant script --> extract RAR-File -->
XALAN --> XSLT, XML
Thx for the suggest, but don't you t
; extract RAR-File -->
>XALAN --> XSLT, XML
>
>Thx for the suggest, but don't you think I've even look at there and
>still dont know how its gonna work?
>I have no clue of ant. And it would be very nice to have a
>short example
>about the four commands,
ands or example File.
What i have:
Folder: PROJECT
Subfolder: RAR (here are my RAR-File)
Subfolder: XSLT (here are my XSLT-Files)
Subfolder: XML (here are my XML-Files)
Subfolder: OUTPUT (here comes the results)
What i need:
1. I need a Script that creates first the OUTPUT-Folder
2. Then i must e
body give me a short example how i can use ant to achieve it?
> I need the commands or example File.
>
> What i have:
>
> Folder: PROJECT
> Subfolder: RAR (here are my RAR-File)
> Subfolder: XSLT (here are my XSLT-Files)
> Subfolder: XML (here are my XML-Files)
> Subfolder:
(here are my XSLT-Files)
Subfolder: XML (here are my XML-Files)
Subfolder: OUTPUT (here comes the results)
What i need:
1. I need a Script that creates first the OUTPUT-Folder
2. Then i must extract from the RAR-File one XML-File and cut and paste
it in Subfolder OUTPUT
3. Then i must use XALA
Hello Harry,
ant is shipping with its own xml-apis.jar. Read the
/usr/bin/build-classpath script - I do not know what this is ? maybe
some company specific java build script ?
Regards,
Antoine
Harry_ wrote:
Hi,
I have to run some jmeter scripts on ant. But I am getting the following
Hi,
I have to run some jmeter scripts on ant. But I am getting the following
error on running the scripts.
/usr/bin/build-classpath: error: Could not find xml-commons-apis Java
extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
If I simply type ant on
not4google,
for me the file is not in the classpath...
2 possibilities:
1) adding it the classpath (after copying it to the lib folder)
2) adding the xml file to the jar (copying it the build/classes folder)
after that, it may work !
hope this help
supareno
Hi here are some more details
Hi here are some more details:
As you can see I do copy the XML file to the JAR and
not4google a écrit :
Hi all
I have some code which relies on a xml configuration file being available. I
have built my JAR from ant ANT task and after looking in the JAR i can see
that the file is there.
However when I try and execute the JAR on Windows from the command line e.g.
java -jar
Hi all
I have some code which relies on a xml configuration file being available. I
have built my JAR from ant ANT task and after looking in the JAR i can see
that the file is there.
However when I try and execute the JAR on Windows from the command line e.g.
java -jar Test.jar I get an
2009/9/14 Scott Stark :
> Joe wrote:
>> That's not correct: ant properties in the file are expanded inline.
>> See http://ant.apache.org/manual/CoreTasks/property.html for details
>> (I don't know about ${file.separator}, though)
>
> I see that in the documentation; however it's not working for me.
Joe wrote:
> That's not correct: ant properties in the file are expanded inline.
> See http://ant.apache.org/manual/CoreTasks/property.html for details
> (I don't know about ${file.separator}, though)
I see that in the documentation; however it's not working for me.
My properties file:
script_dir
On Fri, Sep 11, 2009 at 20:35, Scott Stark wrote:
>
> Hi, this is probably a dumb question but I couldn't find the answer in the
> online doc.
>
> I want to import a set of properties from an XML file when I run an Ant
> build from the command line. I can do that with the
2009/9/11 Scott Stark :
>> Any particular reason you're not using a plain old properties file?
>
> Also I've noticed you can't "inherit" properties in a properties file. For
> example, this doesn't work:
>
> projectRoot=C:\\working
> documentSource=${projectRoot}\\documents
>
> And you can't even u
> Any particular reason you're not using a plain old properties file?
Also I've noticed you can't "inherit" properties in a properties file. For
example, this doesn't work:
projectRoot=C:\\working
documentSource=${projectRoot}\\documents
And you can't even use ${file.separator}...
Scott
1 - 100 of 446 matches
Mail list logo