Re: taskdef, class not found

2006-03-13 Thread Dominique Devienne
> classname="org.apache.tools.ant.taskdefs.optional.RasterizerTask" /> This is not necessary. It's implicitly done by Ant, for all core and optional task. > Now, when I run the task, ant keeps complaining that the RasterizerTask > cannot find one of the classes it relies upon (which I have found

taskdef, class not found

2006-03-13 Thread François
Sorry for the double post: Hi, I'm certain this is the most simple problem that will be addressed today by competent ant users (I exclude myself of this group, of course) I have been trying for a while now to make a taskdef for Batik to convert svg files to jpeg and other file formats. I ha

taskdef, class not found

2006-03-13 Thread François
Hi, I'm certain this is the most simple problem that will be addressed today by competent ant users (I exclude myself of this group, of course) I have been trying for a while now to make a taskdef for Batik to convert svg files to jpeg and other file formats. I have succesfully compiled the t

Re: how to access a SQL database through ANT

2006-03-13 Thread Greg Akins
ant sql just uses jdbc. You'll need the jdbc drivers for your database. If you dont have access to a database already, then yes, you'll have to install the database. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: A problem with the ant task in a WLS 9.1 enviro nmen t

2006-03-13 Thread John Lindwall
(Truly) final status: In case this helps sonmeone out in the future I'll post my hacky solution to this issue: I added the following to my ANT_OPTS: set ANT_OPTS=-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl This causes the Java 5

Re: ant/maven integration and optional tasks

2006-03-13 Thread Laurie Harper
Hmm, I missed double-jar requirement for using non-JDK impls, so I can give that a try. But it does seem odd that Ant couldn't use the Jdk14RegexpRegexp impl. L. Antoine Levy-Lambert wrote: Hello Laurie, please look at this manual page : http://ant.apache.org/manual/CoreTypes/regexp.html may

Re: how to access a SQL database through ANT

2006-03-13 Thread Shailesh Sharma
Honestly, i googled on the ant SQL task and found out some examples. But if you can let me know what is needed before these tasks can be used , that will save lot of my time (ofcourse if you want). do i need to install SQL Server on my box ? what drivers ? any specific ant package ?

Re: how to access a SQL database through ANT

2006-03-13 Thread Antoine Levy-Lambert
Hello, please simply read the ant manual. There is a SQL task with which you can execute SQL statements. Regards, Antoine - Original Message - From: "Shailesh Sharma" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, March 13, 2006 10:46 PM Subject: how to access a SQL database th

how to access a SQL database through ANT

2006-03-13 Thread Shailesh Sharma
Hi, I have a small ANT script that iam using to remote deploy my weblogic applications. It uses weblogic.Deployer internally and after deployment, it backs up my EAR/WAR files in a separate folder. Now, I wanted to make an entry in the SQL database after iam done deploying > backing

Re: ant/maven integration and optional tasks

2006-03-13 Thread Antoine Levy-Lambert
Hello Laurie, please look at this manual page : http://ant.apache.org/manual/CoreTypes/regexp.html maybe this paragraph can help you : The property ant.regexp.regexpimpl governs which regular expression implementation will be chosen. Possible values for this property are : a.. org.apache.tools.

Re: AW: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Matt Benson
It's been bandied about around Harmony of late... according to Harmony classlib buildfiles, Ant will need jdtCompilerAdapter.jar (Ant adapter) and org.eclipse.jdt.core_3.1.0.jar (JDT compiler). Then set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" and away you should go... or use t

Re: AW: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread TH Lim
Thanks for the info. Guess I was wronged for a good reason :) I manage to execute Eclipse compiler from command line and had it compiling my codes. It behaves just like Sun compiler. Do you or anyone know what is the option to set its behaviour to what I have described in my original email? Than

RE: A problem with the ant task in a WLS 9.1 enviro nmen t

2006-03-13 Thread John Lindwall
Final status: The BEA Support person assigned to me is not conversant enough with JAXP, junitreport, and XSLT to help me efficiently. I'll pursue a solution on my own. -Original Message- From: John Lindwall [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 8:43 AM To: 'Ant Users L

RE: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread TH Lim
I have individual build.xml in each sub project. The problem is I need to add sourcepath in each build.xml to refer to the sources in the other project. As a result, the sources from the other sub project are compiled into this sub project and vice versa. This is something I don't want. What can I

RE: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Stephen McConnell
> -Original Message- > From: TH Lim [mailto:[EMAIL PROTECTED] > Sent: Sunday, 12 March 2006 4:53 PM > To: user@ant.apache.org > Subject: Compile Sources Specific to Its Subproject But Not > Sources They Depend On > > Hi, > > I have a directory structure that looks something like this

Need to change .xsd file name extension to .map

2006-03-13 Thread Mehdi.Rakhshani
PathConvert seems to work only on the file path and not the name and extension. Basename suffix=".xsd" let's me remove the .xsd extension of each file, but how do I add .map to each one? Note that I am not actually renaming files, I want a property or file set or pattern set with the file names wit

RE: Need to change .xsd file name extension to .map

2006-03-13 Thread Mehdi.Rakhshani
Found the answer: mapper -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 1:52 PM To: user@ant.apache.org Subject: Need to change .xsd file name extension to .map PathConvert seems to work only on the file path and not the name and extensi

AW: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Jan.Materne
>I am under the impression that Eclipse uses SUN compiler >because it uses the libraries i.e. tools.jar from the JDK >directory. Am I wrong? Yes - you´re wrong. The Eclipse team has implemented their own compiler. E.g. the incremental compiling is not part of the Sun compiler (AFAIK). And they

Re: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread TH Lim
I totally agreed with you for not having circular dependencies between projects. Sometimes, you can't say much when you inherit codes from the contractors which you have no control over. Unless I bite the bullet and break all circular dependencies in the code there is nothing much I can do. Other

Re: Compile Sources Specific to Its Subproject But Not Sources They Depend On

2006-03-13 Thread Dominique Devienne
Hmmm, I don't know of any way to have the SUN compiler generate the classes the way you describe if you really have circular dependencies between the 2 projects. Eclipse must be using its own compiler to do that. Again, assuming you really have circular dependencies, you can't compile projectA and

Re: Ant and Junit

2006-03-13 Thread Adam Stroud
Thank you for the info. Do know where in the subversion repo the fix is? I dont know my way around ants svn repo. Thanks A On 3/13/06, Peter Reilly <[EMAIL PROTECTED]> wrote: > This is an on-going problem. > There is a fix in the SVN repository for this. In the meantime > my advice would be to

Calling an from my own applocation

2006-03-13 Thread Klaus
Hi, I have a problem calling ant from my own application. As lonag as I just call the standard ant task, there is no problem. But if I want to use some external tasks, like jaxb etc. ant craches while execution. The entire application is packed into one single jar file. This jar-file contains t

Re: Ant, JUnit, debugging

2006-03-13 Thread Steve Loughran
Robert Taylor wrote: Greetings, I would like to step through some code in a JUnit test kicked off by an Ant target running in Eclipse. I've setup a remote debugging client in Eclipse and have used the following VM args using value="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,sus

Ant, JUnit, debugging

2006-03-13 Thread Robert Taylor
Greetings, I would like to step through some code in a JUnit test kicked off by an Ant target running in Eclipse. I've setup a remote debugging client in Eclipse and have used the following VM args using value="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"/> I wait u

Re: Ant and Junit

2006-03-13 Thread Peter Reilly
This is an on-going problem. There is a fix in the SVN repository for this. In the meantime my advice would be to place the junit.jar in $ANT_HOME/lib or in ~/.ant/lib. For a full explation read: http://ant.apache.org/faq.html#delegating-classloader Peter On 3/12/06, Adam Stroud <[EMAIL PROTECT

Re: And I want to input two args at a time through console

2006-03-13 Thread Patrick Martin
Hello, You can also use [1] instead of . It has a element which allows you to select multiple elements from a list. You can then use an ant-contrib or task to loop on the resulting list and do what you want for each item. Rgds, Patrick Martin [1] http://antforms.sourceforge.net/ On 3/12/06,