reduce Ant output

2005-11-29 Thread DHARNA, AJAY [AG/1000]
When I was using Ant 1.5.4 there was not all that much information being displayed, it only ran the target that I asked it to from within my Java IDE. However, I have recently updated my Java IDE and it now comes with Ant 1.6.5 and when I run a single target, it also displays additional information

Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
Simon Kitching wrote: Thanks for the responses. I've managed to create a simple example that demonstrates the problem. See the attached files. Running the ant script for me generates no errors. Oddly, removing the from the input.in file does cause the errors to be emitted. Hmm..the last att

Re: AW: Obtaining error messages from xslt task

2005-11-29 Thread Simon Kitching
Thanks for the responses. I've managed to create a simple example that demonstrates the problem. See the attached files. Running the ant script for me generates no errors. Oddly, removing the from the input.in file does cause the errors to be emitted. Cheers, Simon [EMAIL PROTECTED] wrote:

RE: Url Syntax for invoking adminitrative task on mysql database

2005-11-29 Thread David
>Are the JDBC classes in the classpath? On the classpath I have defined, the property id: db.driver.classpath pointing to the following jar files: mysql-connector-java-3.1.11-bin.jar commons-collections-2.1.jar commons-dbcp-1.2.jar commons-logging-1.0.4.jar commons-pool-1.2.jar I have no problem

Url Syntax for invoking adminitrative task on mysql database

2005-11-29 Thread David
Dear memebers, I am using the following task for invoking some administrative task on mysql database, but I guess the syntax is not properly for the where: db.admin.url = jdbc:mysql://localhost:3306 If I run this, I get the following error: BUILD FAILED P:\SLZ\AMENA-CC\build.xml:276: java.s

Re:AntDoc fails under JDK 1.5

2005-11-29 Thread David
Thanks to people answer to me about this topic. The following invokation: http://ant.apache.org"; processor ="org.apache.xalan.processor.TransformerFactoryImpl" welcome = "${doc.dir}/antdoc/antDoc_welcome.html" buildfile="build.xml" /> With: Works but not

Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Leon Pu
Hi all, is it possible to configure the max memory usage of org.apache.tools.ant.Task extends class? Here is my current build script. It will out of memory when the task is memory cosuming. [build-script] [build-script] Best regards, Leon _

Re: Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Dominique Devienne
> I searched Ant's FAQ but didn't find the relevant explanation. I knew > several Ant tasks have the attribute for max memory, but there seems no > one for ant command itself and org.apache.tools.ant.Task extends class. http://www.google.com/search?q=xmx512m --DD -

Re: Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Leon Pu
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > is it possible to configure the max memory usage of > > org.apache.tools.ant.Task extends class? > > > > Here is my current build script. It will out of memory when the > task is > > memory cosuming. > > No. Only one a forked JVM can you do th

Re: Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Dominique Devienne
> is it possible to configure the max memory usage of > org.apache.tools.ant.Task extends class? > > Here is my current build script. It will out of memory when the task is > memory cosuming. No. Only one a forked JVM can you do that. You can OTOH set a higher maxmemory for the Ant JVM inside whic

Re: Confusion of jar in Ant's classpath and system's CLASSPATH

2005-11-29 Thread Dominique Devienne
> > How so invoked? Is that class that's not found used directory by the > > code, or indirectly thru a Class.forName() call? If the later, you > > may > > need to use the Context ClassLoader to correctly locate the class > > (see > > overloaded form of forName()). > > > > Could be something else t

Max memory usage of org.apache.tools.ant.Task extends class

2005-11-29 Thread Leon Pu
Hi all, is it possible to configure the max memory usage of org.apache.tools.ant.Task extends class? Here is my current build script. It will out of memory when the task is memory cosuming. [build-script] [build-script] Best regards, Leon

Re: Confusion of jar in Ant's classpath and system's CLASSPATH

2005-11-29 Thread Leon Pu
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > I met a very strange problem that one jar doesn't become useful > after I > > put it to Ant classpath setting, ClassNotFoundException will be > thrown > > out. After I put the jar to system's CLASSPATH, Ant target runs > without > > problem. [.

Re: Confusion of jar in Ant's classpath and system's CLASSPATH

2005-11-29 Thread Dominique Devienne
> I met a very strange problem that one jar doesn't become useful after I > put it to Ant classpath setting, ClassNotFoundException will be thrown > out. After I put the jar to system's CLASSPATH, Ant target runs without > problem. [...] > Here is the sample classpath declaration in my build script

Confusion of jar in Ant's classpath and system's CLASSPATH

2005-11-29 Thread Leon Pu
Hi all, I met a very strange problem that one jar doesn't become useful after I put it to Ant classpath setting, ClassNotFoundException will be thrown out. After I put the jar to system's CLASSPATH, Ant target runs without problem. The cannot be found java class in the special jar is not directly

Re: Re:AntDoc fails under JDK 1.5

2005-11-29 Thread Dominique Devienne
> I have tested also adding the property > processor ="com.icl.saxon.TransformerFactoryImpl" That's the old package name for Saxon. The 8.5 (or is it 8.6 now) version has a net.sf.saxon package. > with the same result. As you can see saxon.jar is on the classpath. > Probably it has to come fir

Re: build failed error

2005-11-29 Thread Jakob Fix
Could this be an XML declaration at the wrong place (ie., for example after the root element, instead before)? On 29/11/05, Suzana Barreto <[EMAIL PROTECTED]> wrote: > Hi, my build file which previously worked is now failing to build - no > changes to the file were made. This is the error messag

Re: build failed error

2005-11-29 Thread Gisbert Amm
What does your build.xml look like? Regards, Gisbert Amm Suzana Barreto wrote: Hi, my build file which previously worked is now failing to build - no changes to the file were made. This is the error message I am getting, can anybody offer any advice BUILD FAILED C:\Documents and Settings\sub\

build failed error

2005-11-29 Thread Suzana Barreto
Hi, my build file which previously worked is now failing to build - no changes to the file were made. This is the error message I am getting, can anybody offer any advice BUILD FAILED C:\Documents and Settings\sub\My Documents\cvstrial\build.xml:8: The processing instruction target matching "[

Re: AntDoc fails under JDK 1.5

2005-11-29 Thread Jakob Fix
On 28/11/05, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > I am trying to use antDoc with JDK 1.5, but it doesn't work. I get an error > > (see below). Do I have to install another JDK version in order to get it > > work or I have to install specific library?, I am using Ant 1.6.5 > > This is t

Re:Re:AntDoc fails under JDK 1.5

2005-11-29 Thread David
>Read the messages David. Looks like AntDoc wants to use an XSL 2.0 >processor, and the only one I know for Java is Saxon, so it must be in >your path so that the Trax API picks it up ahead of the default XSL >processor of the JDK, which is a 1.0 one only. --DD

AW: Writing files

2005-11-29 Thread Jan.Materne
You could use the format="xml", but I dont know which schema comes out. Maybe you have to write a stylesheet for conversion between the output of and the log4j.xml syntax. Then use for transformation. Jan >-Ursprüngliche Nachricht- >Von: Rakesh Patel [mailto:[EMAIL PROTECTED] >Gesen

Re: Writing files

2005-11-29 Thread Rakesh Patel
I saw this the other day and was impressed. The task was creating a log4j.properties file and putting in the correct properties. Is there anything similar for xml files?(I prefer to use log4j.xml). Thanks RP Jon Skeet wrote: Does any body know how to create a property file and write some pr