Re: Parameters in descriptions

2001-07-02 Thread Stefan Bodewig
Kazandjian Erik <[EMAIL PROTECTED]> wrote: > Can I use parameters in description attributes ? Only for description attributes of tasks or data types. ${} constructs will not be expanded for any attributes of target or project. Stefan

Re: war file : writing a webxml file

2001-07-02 Thread Stefan Bodewig
Viraj Purang <[EMAIL PROTECTED]> wrote: > Hi, When building a War file, do we have to make the the "webxml" > file ourselves or is the default one for each application server > good enough for use ? I'm not aware of application server specific content in web.xml - actually this file is supposed

Re: Using existing taskdefs in custom tasks

2001-07-02 Thread Stefan Bodewig
Jeremy Crosbie <[EMAIL PROTECTED]> wrote: > I created my own task that uses the SQLExec task already provided as > a sub element. I have the following method in my class: > > public SQLExec createSql() > { > this.sql = new SQLExec(); > return this.sql; > } > > It appears that the 'proje

Re: JavaDoc and patternsets

2001-07-02 Thread Stefan Bodewig
Jamie Lawrence <[EMAIL PROTECTED]> wrote: > Is it possible to use the same patternset I define for javac in the > javadoc task? No, sorry, you can't. I don't think it would be that hard to make the task support patternsets, but it doesn't do so yet. Stefan

How to Create Master Build

2001-07-02 Thread Srinivas Subbaraju
I have build.xml file for each and every directory in the child directories. Instead of running ant for each and every build.xml file in the child directories, I would like to have one Master build file in the parent which can trigger the build files in the subdirectories. Does Ant support t

Re: [Packaging more than one EJB in the same jar file]

2001-07-02 Thread omenred
Actually I faced with similar problem and I did not find any simple solution. Problem is - you have to merge XML descriptors (ejb-jar.xml, weblogic-ejb-jar.xml) and sometimes it is not trivial task (all descriptors have strong DTD validation, sometimes you have conflicts in ejb component names, et

Not able to find modern/classic compiler

2001-07-02 Thread Arun Gupta
Hi, I'm starting to use ANT for the first time. I downloaded ver 1.3 from jakarta.apache.org and wrote a vanilla "Hello World" example. Then I'm trying to build the example. However I'm getting the following: Buildfile: build.xml init: compile: [javac] Modern compiler is not available -

RE: Problems with Optional Task (FTP)

2001-07-02 Thread Kismarton, Laszlo
Ooppss.. I was missing optional.jar. Thanks. -Original Message- From: Kevin Cummings [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 8:55 AM To: [EMAIL PROTECTED] Subject: RE: Problems with Optional Task (FTP) Did you put the NetComponents jar in your Ant\lib directory? Do you

RE: Problems with Optional Task (FTP)

2001-07-02 Thread Kevin Cummings
Did you put the NetComponents jar in your Ant\lib directory? Do you have the optional.jar file in there too? If you've done these then how about sending a little more info.. HTH, -- Kevin -Original Message- From: Kismarton, Laszlo [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 1

FW: Problems with Optional Task (FTP)

2001-07-02 Thread Kismarton, Laszlo
> I am having problems trying to use Ant's FTP. > I have downloaded NetComponents.jar from > http://www.savarese.org/oro/downloads/index.html#NetComponents , and > placed the jar file in my CLASSPATH. According to Ant's documentation, > this is the only step that one needs to take in order to ca

javadoc: how to get the log

2001-07-02 Thread Angus Chan
How can i capture the log for javadoc task and put it in a seperate file?

RE: Error with the foreach task

2001-07-02 Thread Diane Holt
See: http://marc.theaimsgroup.com/?l=ant-dev&m=98838238130156&w=2 Diane --- Mark Womack <[EMAIL PROTECTED]> wrote: > I did a little more digging into the exception. Line 206 in Ant.java is > this: > > // Are we trying to call the target in which we are defined? > if (p1.getBaseDir().equa

Relative dir in classpath (was: RE: Ant book?)

2001-07-02 Thread Diane Holt
--- Viraj Purang <[EMAIL PROTECTED]> wrote: >I am using value="../classes/shared"/> to set classpath ...it does not seem to pick > up the location unless I specifically go and hardcode the name of the > current working directory or my parent directory ..Any lead ? I'm guessing "it" is a task

FYI - ExecOn - Parallel attribute defaults to false!

2001-07-02 Thread Pawan Kumar Katharikuppam
Hi, [This is just for your info] The Ant 1.2 documentation says that the parallel attribute of ExecOn task defaults to true but the code clearly shows that it defaults to false! I did not realize this before and spent a couple of hours trying to know the problem why my task is not being executed

Re: Ant book?

2001-07-02 Thread Dave Dribin
On Mon, Jul 02, 2001 at 05:33:34PM -0400, Jesse Tilly wrote: > First off, Managing Projects with Make is *OLD*. In fact, it celebrated 10 > years this year. [ .. snip .. ] Yes, I do know this. My personal copy is probably close to 5 years old. The only parallel I wanted to draw to the Make bo

RE: Ant book?

2001-07-02 Thread Viraj Purang
Hi, I am using to set classpath ...it does not seem to pick up the location unless I specifically go and hardcode the name of the current working directory or my parent directory ..Any lead ? Regards, Viraj Purang -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: M

RE: Error with the foreach task

2001-07-02 Thread Mark Womack
I did a little more digging into the exception. Line 206 in Ant.java is this: // Are we trying to call the target in which we are defined? if (p1.getBaseDir().equals(project.getBaseDir()) && p1.getProperty("ant.file").equals(project.getProperty("ant.file")) && target.equals(this.

RE: Ant book?

2001-07-02 Thread Diane Holt
--- Jesse Tilly <[EMAIL PROTECTED]> wrote: > (watch Peter V. or Diane say otherwise). Won't be me -- I've never heard of it. I actually have very few software- type books (K&R, an old Perl book, an HTML reference) -- I'm more the learn-by-doing/check-the-manual-for-syntax sort (most of my non-fic

RE: Ant book?

2001-07-02 Thread Jesse Tilly
First off, Managing Projects with Make is *OLD*. In fact, it celebrated 10 years this year. There are a ton of patterns that have come about in those 10 years making the book a decent shelf-sitter for the beginning make user, but not very useful for large projects and especially web application

Ant book?

2001-07-02 Thread Dave Dribin
Hi, I've been a huge fan of Ant for the last 8 months or so. There is a lot of Ant information on the web these days, however there is no book. A good book could bring together all this great information in one easy to find place. I have seriously considered approaching O'Reilly with a proposi

exception running javadocs task

2001-07-02 Thread Aaron Haspel
I recently began to get a peculiar ZipException when running the javadocs task in ant.  My ant script to run javadocs hasn't changed in any way, so I suspect it's some kind of path or jar problem, but I'm not sure what.  It also doesn't seem to affect the javadoc output, which is produced fi

XML Parsers... was display java command line

2001-07-02 Thread Lauren Commons
I sort of answered my previous question, by running ant with the -debug option. Seperately, My problem with finding one library when running from the command line and another from Ant was that I am using Xerces in the app, but Ant was already loading jaxp.jar and parser.jar So as I started to

display java command line

2001-07-02 Thread Lauren Commons
I apologize if this is a basic question; I've looked for the answer, but can't find it I have an Ant script which compiles a project and runs a test class. Or not. I currently have a classpath problem that I'm having trouble trouble-shooting. If I run Java at the command line (or actuall

ANT and VAJ

2001-07-02 Thread Trogdon, David
Well ... I have sucessfully used ANT and the ANT Visual Age fo Java Plugin. I have: moved projects to the workspace created directories exported projects in to the directories "jared" specific directories filtered the exported directories/jar files into the created directories All is well and g

Error with the foreach task

2001-07-02 Thread Mark Womack
This is probably something obvious that I am missing. But I have defined the following targets: Took me a while to figure out I needed to add the . But after adding that, I still get the following error: build_experimental: BUILD FAILED java.lang.Null

Re: Is the flatten attribute of "move" a mapper?

2001-07-02 Thread Diane Holt
See: http://marc.theaimsgroup.com/?l=ant-user&m=99189255112149&w=2 Diane --- Daniel Becker <[EMAIL PROTECTED]> wrote: > Hi > Consider this sample: > > > > > type="regexp"/> > > > If I have a Source tree of j

Is the flatten attribute of "move" a mapper?

2001-07-02 Thread Daniel Becker
Hi Consider this sample: If I have a Source tree of java classes in temp and then execute the above, I would expect all my java files to be moved into requests and renamed to *_request.java. This doesn't happen

Specifying N:1 mappings between source and target files

2001-07-02 Thread Doug Morse
Hi, I have what I think is a simple need but I unfortunately cannot figure out the correct way to setup the build file to accomplish my goal. Essentially, I want to use the Replace feature of Ant to replace the tokens in a file in a template directory as it the target file. The problem is that

release 1.2 of checkstyle

2001-07-02 Thread Oliver Burn
Announcing release 1.2 of checkstyle. The changes are: - Added checking for redundant importing from the java.lang package, and importing from the package the file is declared in. - Added a flag to ignore checking whitespace (a much requested feature:-). - Added a flag to ignore checking braces

Re: FW: tar task blues

2001-07-02 Thread Cook, Levi
Thanks for the tips-- Figuring out how to design around immutable properties was a fairly tricky issue at first, but it seems quite sensible now. I've attached my script, which works great for me, minus the apparent errs made by the tar task. As far as property initialization goes, I'm not passi

Latest optional jar

2001-07-02 Thread Conor MacNeill
I have put up a new snapshot of the optional jar here http://jakarta.apache.org/builds/jakarta-ant/nightly/optional/2001-07-02 This version contains more of the optional packages than are typically available in the nightly builds. In particular this includes the new jDepend task and the recent ej

RE: vssget and ftp problems

2001-07-02 Thread O'Hara, Patrick
Title: RE: vssget and ftp problems In the first case I am guessing that vssget does not have a password, or the correct password set.  The FTP problem is probably similar in that you have logged in incorrectly, or your user id does not have access. Patrick O'Hara 262-408-3849 [EMAIL PROTECTED

RE: Copying gif files

2001-07-02 Thread O'Hara, Patrick
Title: RE: Copying gif files It is probably a mistake to filter a gif file.  global search and replace on binary files is usually a bad idea. Patrick O'Hara 262-408-3849 [EMAIL PROTECTED] -Original Message- From: Gerald E. Bennett [mailto:[EMAIL PROTECTED]] Sent: Saturday, June

vssget and ftp problems

2001-07-02 Thread Timothy Van Hooser
Dear Ant-user list, I am having 2 problems using ant. The first is with vssget. When I run ant, I get the following message: clean: dtd: checkout: [vssget] Username: xx For some reason, ant hangs at this point and does not do anything else. I am trying to checkout the latest versions