Re: tools.jar not found

2015-04-28 Thread David J. B. Hollis
Hi Jan, The DITA Open Toolkit uses ANT to build docs. This is a question that comes up occasionally on the DITA Users forum. A number of document CMS products use the DITA Open Toolkit, so a large number of Technical Authors can potentially see this message. If it could be suppressed, I'm sure

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread David J. B. Hollis
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

ANT application.xml add runtime

2010-12-14 Thread Ashokkumar B
project. Say if I have 'n' number of EJB jar files, I need to mention all such jar files as modules in my application.xml file. How to achieve this? Please let me know if it is clear or not. Thanks and Regards, As

Re: property file syntax

2009-05-13 Thread David J. B. Hollis
Hi, David http://ant.apache.org/manual/CoreTasks/property.html The rules for this format are laid down by Sun. http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream) David I'm having 'fun' with a properties file syntax. E.g. white space on the end of a

Re: Xincludes and Ant XSLT task

2008-10-01 Thread David J. B. Hollis
Hi, Guys Have you come across something called DITA? 'Darwin Information Typing Architecture'. Based on XML, and using Ant build scripts, it processes modular, structured XML files linked by DITA Maps to produce multiple format outputs. DITA XML Focus Area. http://dita.xml.org/ DITA Open

Re: AW: antrc & ant.conf files

2008-05-21 Thread David J. B. Hollis
: if [ -n "$ANT_HOME" ] then ANT_HOME=/usr/local/ant fi You can pass unexported environment variables in ANT by using the following: ant -Dmy.variable=$MY_VARIABLE This sets the ant property ${my.variable} to the value of the environment variable $MY_VARIABLE On Tue, May 20, 2008

Re: AW: antrc & ant.conf files

2008-05-20 Thread David J. B. Hollis
ng a batch script which sets the path at run time, then that might set up ANT_HOME as part of the process of setting up the Ant environment before calling Ant. In which case, it would be superfluous! Many thanks, David On Tue, May 20, 2008 at 3:05 AM, David J. B. Hollis <[EMAIL PROTEC

Re: AW: antrc & ant.conf files

2008-05-20 Thread David J. B. Hollis
Hi, David, Jan Many thanks for taking the trouble to explain all this! I've ended up with this in an ant.conf file: #!/bin/sh DITA_HOME=~/DITA-OT1.4.2.1 DITA_HOME=`cd "$DITA_HOME" && pwd` #export ANT_HOME="$DITA_HOME"/tools/ant export ANT_HOME=/Developer/Java/Ant export ANT_OPTS="-Xmx512m" e

antrc & ant.conf files

2008-05-18 Thread David J. B. Hollis
Hi, All I apologise if I'm asking an obvious question! I'm running Ant 1.6.5, which was installed as part of Apple's XCode 2 on Mac OS X.4. I'm using Ant in conjunction with DITA and DITA's Toolkit. I'm more of a Mac User, and still learning about the BSD under- pinnings! That should expla

Re: oracle.ojc.ant.taskdefs.OjcAdapter

2007-09-19 Thread Mitja B.
Hi, big thx, works like a charm now! -- L.P. Mitja B. - Original Message From: Ant Users List To: Ant Users List Subject: Re: oracle.ojc.ant.taskdefs.OjcAdapter Date: 19/09/07 13:07 > Mitja B. wrote: > > Hi, > > > > i will read the book, good idea a

Re: AW: oracle.ojc.ant.taskdefs.OjcAdapter

2007-09-19 Thread Mitja B.
Hey, uh sorry my mistake, i think he said that he is bastard in some other city language so i said that he is not. Sorry again -- L.P. Mitja B. - Original Message From: Ant Users List To: user@ant.apache.org , [EMAIL PROTECTED] <[EMAIL PROTECTED]> Subje

Re: oracle.ojc.ant.taskdefs.OjcAdapter

2007-09-19 Thread Mitja B.
Hi, i will read the book, good idea and you are not biased. Can you just tell me about set up oracle extras. I search but can not find anything with this. Thx -- L.P. Mitja B. - Original Message From: Ant Users List To: Ant Users List Subject: Re

oracle.ojc.ant.taskdefs.OjcAdapter

2007-09-19 Thread Mitja B.
I want to run ant by console but i get this error compiler adapter oracle.ojc.ant.taskdefs.OjcAdapter can't be found in Jdeveloper works nice this is buildfile build.compiler=oracle.ojc.ant.taskdefs.OjcAdapter how can i run it by console Message

Re: AW: import file inside target

2007-09-19 Thread Mitja B.
Hi, i use task for now and works nice Thx -- L.P. Mitja B. - Original Message From: Ant Users List To: user@ant.apache.org Subject: AW: import file inside target Date: 19/09/07 09:07 > <project name="main"> > <import file="build_Model

Re: AW: import file inside target

2007-09-19 Thread Mitja B.
Hi, thx boath Maybe i did not write ok what i want. Inside i want to call other xml file (build_ModelIRC2000.xml,..) which is separate project for compiling ModelIRC2000,... In this files i have ant compiler Thx -- L.P. Mitja B. - Original Message From: Ant Users List To

import file inside target

2007-09-18 Thread Mitja B.
hi, g i get error that import is only allowed as a top-level task. I need to call this files inside compile target. How can i make this? thx Message sent using UebiMiau 2.7.10

Re: AW: war inlcude problem

2007-09-17 Thread Mitja B.
hi, hmm how do you mean that? -- L.P. Mitja B. - Original Message From: Ant Users List To: user@ant.apache.org , [EMAIL PROTECTED] <[EMAIL PROTECTED]> Subject: AW: war inlcude problem Date: 17/09/07 11:50 > multiple <lib>s? > > Jan > > &g

Re: war inlcude problem

2007-09-17 Thread Mitja B.
any idea? thx -- L.P. Mitja B. - Original Message From: Ant Users List To: user@ant.apache.org Subject: war inlcude problem Date: 14/09/07 13:22 > i want to create war file, but i have problem with including lib files into > lib folder > > I have lib files in d

war inlcude problem

2007-09-14 Thread Mitja B.
i want to create war file, but i have problem with including lib files into lib folder I have lib files in different lib dirs. How can i include it? This does not work thx

ant compile problem

2007-09-13 Thread Mitja B.
Hi, ircbutton.java has this lines package irc.irc2000.ircSwing.komponente; import irc.kis.view.dm.sifranti.TipiDelovnihMestTabela; i am running ant compile under Model2000 project direktorij, but this packages are ubder ../View/src/irc... now i get error like this [javac] C:\Projekti

RE: package compile problem

2007-09-13 Thread Mitja B.
hej, nono this is just name for business aplication in our language :D by -- L.P. Mitja B. - Original Message From: Ant Users List To: Ant Users List Subject: RE: package compile problem Date: 13/09/07 12:00 > "TipiDelovnihMestTabela" > > sounds like som

package compile problem

2007-09-13 Thread Mitja B.
Hi, ircbutton.java has this lines ... package irc.irc2000.ircSwing.komponente; import irc.kis.view.dm.sifranti.TipiDelovnihMestTabela; ... i am running ant compile under Model2000 project direktorij, but this packages are ubder ../View/src/irc... now i get error like this [javac] C:\Projekti\

ant compile whole Jdeveloper project

2007-09-13 Thread Mitja B.
Hi, Is it possible that ant compile whole jdeveloper project. project have 3 different applications. Model Model x200 View I need to compile java files in all of three becouse they are connected to each other but i do not know if ant can do this and how? -- L.P. Mitja B

Xms memory limit problem

2007-09-12 Thread Mitja B.
I want to use Xms to minimum heap size but i do not know how to use it in ant. This does not work -- L.P. Mitja B. Message sent using UebiMiau 2.7.10 - To unsubscribe, e

Re: include file in ant

2007-09-12 Thread Mitja B.
Hi, i already try this property.xml: but not working -- L.P. Mitja B. - Original Message From: Ant Users List To: Ant Users List Subject: Re: include file in ant Date: 12/09/07 11:25 > Mitja B. wrote: > > Is it possible to include other files in ant? > &

include file in ant

2007-09-12 Thread Mitja B.
Is it possible to include other files in ant? I have over 500 lines of code and i want to include some files with ant code that there will be less code in build.xml. I search in march mailing list and google but i did not find anything usefull. regards Mitja B

RE: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
This idea is also very good but i have problem. java.lang.NoClassDefFoundError: org/apache/bsf/BSFException" error which library do i need for running ruby? Thx - Original Message From: Ant Users List To: Ant Users List Subject: RE: Open and read file with ant and then copy

Re: AW: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
his line: C:\projekti\test\build.xml:23: Warning: could not find file c:\Projekti\test\${from} to copy Total time: 0 seconds :: line 19 is this is message.txt /a/b/c.xml=/d/e/f.xml - Original Message From: Ant Users List To: user@ant.apache.org Subject: AW: Open and r

Re: AW: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
Thx you for your help, i will work on your solution. It is verry good idea. Thx again regards -- L.P. Mitja B. - Original Message From: Ant Users List To: user@ant.apache.org Subject: AW: Open and read file with ant and then copy Date: 10/09/07 11:53 > Just an idea and

RE: Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
Thx for so quick answer, i will lok for filterchain and try to solve my problem. regards - Original Message From: Ant Users List To: Ant Users List , Mitja B. <[EMAIL PROTECTED]> Subject: RE: Open and read file with ant and then copy Date: 10/09/07 09:50 &g

Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
I have big problem. I search but can not find and solution. We want to open some file, for example project.txt in it we will have content like this inst\mm\connection.xml proj\rtu\connection.xml we want now that ant read this file and copy connectiion.xml from inst\mm directory to proj\rtu dire

Open and read file with ant and then copy

2007-09-10 Thread Mitja B.
I have big problem. I search but can not find and solution. We want to open some file, for example project.txt in it we will have content like this inst\mm\connection.xml proj\rtu\connection.xml we want now that ant read this file and copy connectiion.xml from inst\mm directory to proj\rtu dire

Ant 1.7: Problem in windows when path to ant contains spaces

2007-02-01 Thread Mads B. Tandrup
Hello I'm not sure if this is the correct place, but here goes: I've updated from Ant 1.6 to 1.7 using the binary distribution at ant.apache.org. But when I try to run the new version it returns an exception before reading my build file: java.lang.ClassNotFoundException: org.apache.tools.ant.M

Re: JAVA_HOME to be changed dynamically

2006-07-17 Thread Anthony B. Coates
You effectively can do this by forking off a separate Java/Ant process that uses 1.4 instead of 1.5. Cheers, Tony. On Mon, 17 Jul 2006 15:02:03 +0100, 1800 tbsfunny <[EMAIL PROTECTED]> wrote: I know that Ant needs a JDK. But can we start CC setting JAVA_HOME=1.5 and ANT_HOME= and then du

Re: Deriving something from from within

2006-04-06 Thread b
ht have to recommend antcontrib's . Even if we added the ability to duplicate and/or , "foo.in" would still be a separate argument from "blah". -Matt --- b <[EMAIL PROTECTED]> wrote: I'm trying to code up an in ANT. I need to run a utility which takes

Deriving something from from within

2006-04-06 Thread b
I'm trying to code up an in ANT. I need to run a utility which takes 2 parameters, 1) a source file name (), and 2) something derived from the source file name (value="...">). The output of this program is a file, whose name is derived from the source file name (, which is used for timestam

what XSLT processor does Ant use? (to report bug)

2005-04-14 Thread Daniel B.
What XSLT processor does Ant 1.6.2 use when run on Sun JDK 1.5.0 (5.0)? (I'm trying to find the right place to report an XSLT-processing bug.) Thanks, Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: XSLT Task with external Saxon8

2005-01-17 Thread Anthony B. Coates
I'm not planning to develop the 'mtxslt' task further, since I haven't felt it as necessary for Ant 1.6 as it was for Ant 1.5. That said, I use Saxon 8 regularly, but I do so by setting the classpath environment variable to include the Saxon JAR file. I must admit, it is a disappointment to

RE: Don't how ant interacts with directories

2004-12-08 Thread Holliday, Donald B. (LNG-CSP)
Great response. You hit every nail directly on the head, including the ones I didn't mention. Your recommended placement of the build file, and thus the base directory is dead on. I will move it. Obviously you are correct that I misunderstood . I will try to RTFM a bit more closely in the futu

Don't how ant interacts with directories

2004-12-08 Thread Holliday, Donald B. (LNG-CSP)
I am having difficulty getting ant 1.5.1 to look in the correct directories for source and put classes and jars in the right place. I work in a large IT shop and this is the latest version of ant that we have, so please don't tell me to upgrade to 1.6.2. I would take months. I suspect this is

Problem with Cactus Client Project - in WSAD 5.0

2004-12-01 Thread Krishna Prasad B
at java.lang.Class.forName1(Native Method) . I have used same jar files as said in the document except for one called log4j-1.2rc1.jar instead of this, I have used log4j-1.2.9.jar Please suggest me about the likely reason for this. Thanks Regards B. KRISHNA PRASAD

Ant BuildFileTest [on Gump]

2004-06-03 Thread Adam R. B. Jack
ang.OutOfMemoryError [junit] --- Nested Exception --- [junit] java.lang.OutOfMemoryError - Original Message ----- From: "Adam R. B. Jack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 3:58 PM Subject: Increasing memory for junit tests

RE: deleting specific files

2004-02-06 Thread Holliday, Donald B. (LNG-CSP)
The usual approach is to not compile both your implementation and tests to the same place. Instead compile your implementation to ${base.dir}/build/classes/com/ and your test to ${base.dir}/build/test/com/ This makes it easy to write a "clean" target for implementation,

Conditionally setting property values

2004-02-06 Thread Holliday, Donald B. (LNG-CSP)
I have ant build scripts that need to run on both Win2K and Solaris. The JDK/SDKs, JREs, and locally constructed jar files are in different directories, depending on the operating system. I want to write a script that says something like set a bunch of properties

Re: Forking JUnit (was Re: Ant not passing System values to JUnit task)

2003-12-03 Thread Adam R. B. Jack
> > Is there any way to influence this without expecting the user to > > write script changes & rely upon 'environment portal' scripts? > > No. The syspropertyset in 1.6 (see my previous mail in the original > thread) would work - but the user still has to add it manually. > > We might be able to

Re: Ant to collect 3rd party libraries

2003-08-29 Thread Jeffery B. Rancier
on > > Here's some pseudocode for what I'd like to be able to do: > > > Array requiredLibs = { xerces, struts }; > for (i=0; i copy from remoteserver/requiredLibs[i] to > local_masterbuild.dir/lib/ > } > > > Is ther

RE: InheritAll=false Leaves Java System Properties Undefined

2003-07-11 Thread Murray, Mike B.
is /home/preilly/apps/apache-ant-1.5.3-1 Peter On Thu, 2003-07-10 at 04:39, Murray, Mike B. wrote: > When using InheritAll=false for Ant and AntCall tasks, this seems to leave the > "built-in" system properties from Java undefined. Is there anyway to cause these to > be init

RE: includesfile

2003-07-10 Thread Murray, Mike B.
Is your file located relative to your basedir? You might need to use an absolute path. -Original Message- From: Ciramella, EJ [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:20 AM To: 'Ant Users List' Subject: RE: includesfile That's an example of include, I understand that,