Re: help with copy and glob mapper

2005-12-13 Thread Stefan Bodewig
On Tue, 13 Dec 2005, EJ Ciramella <[EMAIL PROTECTED]> wrote: > > > > > > > > > But for whatever reason, this only picks up files at the top level > (things in source, but not source/somesubdir/someotherdir). This is because your other files are not matched by t

Re: Getting the drive letter and setting windows path

2005-12-13 Thread Stefan Bodewig
On Wed, 14 Dec 2005, Michael Silverman <[EMAIL PROTECTED]> wrote: > So what I want is to append the DLL's dir to the windows path just > before I run the task but it has to be done in the same process of > Ant in order to be visible to the first DLL (which runs in a child > process created by the

Re: Problems with building a servlet that refers an EJB

2005-12-13 Thread Stefan Bodewig
On Tue, 13 Dec 2005, <[EMAIL PROTECTED]> wrote: > > > > > > > > > > A classpath never points to the .class files but either to jar files or directories that are roots of directory hierarchies holding .class files. In your case you will want in

Re: javadoc

2005-12-13 Thread Stefan Bodewig
On Tue, 13 Dec 2005, Thom Hehl <[EMAIL PROTECTED]> wrote: > packagenames="heavyweight.gui.* heavyweight.io.* heavyweight.re.* > heavyweight.util.*" the separator for packagenames is "," not " ". >sourcepath="${src}" might be the most important information. > BUILD FAILED C:\src\hea

Re: Expanding ALL properties manually

2005-12-13 Thread Stefan Bodewig
On Tue, 13 Dec 2005, jim fuller <[EMAIL PROTECTED]> wrote: > Jonathan <[EMAIL PROTECTED]> wrote .. >> Hi. >> >> I'm writing an ant task that loads an external xml file. I want >> the user to be able to use standard ant properties in this file. >> Is there an easy way to pass the xml as a string t

Re: ant-contrib foreach performance

2005-12-13 Thread Stefan Bodewig
On Tue, 13 Dec 2005, Ninju Bohra <[EMAIL PROTECTED]> wrote: > Try using the task. The task has the overhead of > having to re-load the build file as it runs the target. The > task uses macrodefs and should be much faster. > > Also if you have such a well-defined complex usage it may make sen

Re: C preprocessor driven from ANT?

2005-12-13 Thread Stefan Bodewig
On Tue, 13 Dec 2005, Tim Gordon <[EMAIL PROTECTED]> wrote: > Our DB build is preceded by the SQL being subject to some C-style > pre-processing before the stored procs are run into the DB. Our DB > build is done outside of ANT using make at the moment but the only > barrier to driving it from ANT

RE: help with copy and glob mapper

2005-12-13 Thread Brown, Carlton
> -Original Message- > From: EJ Ciramella [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 3:54 PM > To: user@ant.apache.org > Subject: help with copy and glob mapper > > We have a series of templates in a particular directory and I was hoping > to use copy/glob mapper/expand p

Re: Getting the drive letter and setting windows path

2005-12-13 Thread Michael Silverman
Hi Ivan, Thank you very much for your help. I will try ant-contrib and your macro and hopefully it will solve my first problem. > I suppose you are calling a windows command with > . You can use 's nested element and > pass through it the desired env variable. > > Actually, Ant runs a task tha

Re: Getting the drive letter and setting windows path

2005-12-13 Thread Ivan Ivanov
Hello Michael, --- Michael Silverman <[EMAIL PROTECTED]> wrote: > Hi All, > > I have two questions and I would really appreciate > your assistance. > > 1. How do I get the drive letter which ant is > running from (under windows of > course)? > Something like getting the first char of > ${ba

RE: J2ee application --- jsp files

2005-12-13 Thread Anderson, Rob (Global Trade)
This question is not really ant related. Contact BEA for weblogic support. -Rob A > -Original Message- > From: Jonnalagadda, Sumithra [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 11:18 AM > To: 'Ant Users List' > Subject: RE: J2ee application --- jsp files > > we are us

Getting the drive letter and setting windows path

2005-12-13 Thread Michael Silverman
Hi All, I have two questions and I would really appreciate your assistance. 1. How do I get the drive letter which ant is running from (under windows of course)? Something like getting the first char of ${basedir} is good enough for me (I think...) 2. Is there a way to set the windows path t

Problems with building a servlet that refers an EJB

2005-12-13 Thread nikhil
I am having problems with classpath, when trying to compile an EJB.  I am obviously missing the obvious :--), but I have gone over the classpath setting a number of times and am not able to see the error.  Should I copy the ejb.jar to WEB-INF/lib ?  I did try copying the package to the WEB-I

Re: javadoc

2005-12-13 Thread Thom Hehl
I have changed to: packagenames="heavyweight.gui,heavyweight.io,heavyweight.re,heavyweight.util" Same exact error. [EMAIL PROTECTED] wrote: Try this format for your packagenames attribute: packagenames="heavyweight.gui,heavyweight.io,heavyweight.re,heavyweight. util" HTH, Kajsa Anderson

RE: javadoc

2005-12-13 Thread Kajsa.Anderson
Try this format for your packagenames attribute: packagenames="heavyweight.gui,heavyweight.io,heavyweight.re,heavyweight. util" HTH, Kajsa Anderson > -Original Message- > From: Thom Hehl [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 1:46 PM > To: user@ant.apache.org > Sub

RE: help with copy and glob mapper

2005-12-13 Thread EJ Ciramella
nope, I'm not sure I was clear. Not only do we need to rename the individual files on the fly, but also expand ant properties within. Any suggestions people? I'm not so good with regexp but think that may be my only way out - -Original Message- From: Ferrer, Eric [mailto:[EMAIL PROTE

RE: help with copy and glob mapper

2005-12-13 Thread Ferrer, Eric
EJ, Maybe you can set up a target to do the copy for you and try something like this We have a project that its contents need to copied into partic

help with copy and glob mapper

2005-12-13 Thread EJ Ciramella
We have a series of templates in a particular directory and I was hoping to use copy/glob mapper/expand properties in order to move them into the build directory AND rename them. At a point, the directory paths are identical, so what I was hoping to do is something like this:

javadoc

2005-12-13 Thread Thom Hehl
I've actually used ant for quite sometime, but I've never messed with it enough at the same time to get truly proficient. At any rate, I've been using ant to build a library for me for sometime and now I need to get the javadoc working. Here is my directory structure. heavyweight+

Re: ant-contrib foreach performance

2005-12-13 Thread Ninju Bohra
Try using the task. The task has the overhead of having to re-load the build file as it runs the target. The task uses macrodefs and should be much faster. Also if you have such a well-defined complex usage it may make sense to create a custom task and drop into a compiled language (like JA

RE: J2ee application --- jsp files

2005-12-13 Thread Jonnalagadda, Sumithra
we are using weblogic -Original Message- From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 11:17 AM To: Ant Users List Subject: Re: J2ee application --- jsp files Wouldn't that depend on the application server that you are using? -- Jeffrey E. Care ([EMAIL

Re: J2ee application --- jsp files

2005-12-13 Thread Jeffrey E Care
Wouldn't that depend on the application server that you are using? -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Jonnalagadda, Sumithra" <[EMAIL PROTECTED]> 12/13/2005 01:52 PM Please respond to "Ant Users List" To "'Ant

J2ee application --- jsp files

2005-12-13 Thread Jonnalagadda, Sumithra
One of the main benefits of jsp that it can be updated dynamically by which I mean when a jsp is updated the application need not be re-deployed since jsp is complied run time. my question is the following : we have a j2ee application (standard architecture struts + ejbs+toplink). we deploy an e

RE: ANT EXECUTE TASK

2005-12-13 Thread Shinde, Vijay
I was trying following command sshexec host="servername" username="antuser" password="Password1" command="NET STOP IIS Admin Service" /> It Is throwing connection refused error. Thanx & Regards, Vijay Shinde,PMP eHARS Application Architect/Application Development Lead, CI

Re: Expanding ALL properties manually

2005-12-13 Thread jim . fuller
Jonathan <[EMAIL PROTECTED]> wrote .. > Hi. > > I'm writing an ant task that loads an external xml file. > I want the user to be able to use standard ant properties in this file. > Is there an easy way to pass the xml as a string to some method and have > it return the xml as a string with any/all

Expanding ALL properties manually

2005-12-13 Thread Jonathan
Hi. I'm writing an ant task that loads an external xml file. I want the user to be able to use standard ant properties in this file. Is there an easy way to pass the xml as a string to some method and have it return the xml as a string with any/all ant properties expanded? Basically i want to ex

ant-contrib foreach performance

2005-12-13 Thread Ephi Sachs
I have a task which runs on a list of >1000 strings, and calls an ant task which extracts 2 sub-strings, interprets them as numbers, calculates their sum, and replaces the 2 sub-strings with their sum (this is done by writing the sub-strings to a properties file, loading it and using the task). T

Re: ANT EXECUTE TASK

2005-12-13 Thread Ninju Bohra
Hello, This is more of an question related to Microsoft Admin tools, not ANT build tool !!! But, since I work with Windows Boxes I might be able to help you. Take a look at the sc.exe executable for starting/stopping/managing Windows Services (local and remote) later, Ninju - Original

ANT EXECUTE TASK

2005-12-13 Thread Shinde, Vijay
I am using this tasks to start/stop windows services. Is there any way I can able to START/STOP services on other server. Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: AW: How to detect missing jars in a ?

2005-12-13 Thread Matt Benson
To add to the discussion, one way I might do this from current Ant svn (longer than necessary but including info): Note that you would have to use some mechanism for accessing the not and exists resourceselectors, e.g. (with) or failure only, no properties or info (

RE: C preprocessor driven from ANT?

2005-12-13 Thread Dick, Brian E.
I once used gcc for this purpose. You can just run the pre-processor and save the output. I also have used m4. It's a bit more powerful than gcc and is language agnostic. I have since bagged both of those and use ant's filterchains. I use the ExpandProperties and ReplaceTokens filterchains instea

C preprocessor driven from ANT?

2005-12-13 Thread Tim Gordon
Hi Does anyone know of a pure-Java pre-processor that can handle c-style multiple #include and nested #defines? Our DB build is preceded by the SQL being subject to some C-style pre-processing before the stored procs are run into the DB. Our DB build is done outside of ANT using make at the momen