RE: [ANT] Where are installation instructions?

2002-12-06 Thread Garrett Smith
\ant > 4. ANT_HOME/bin in PATH > > > -Original Message- > From: Garrett Smith [mailto:[EMAIL PROTECTED]] > Sent: 06 December 2002 06:06 > To: Ant Users List > Subject: [ANT] How to install? > > > Okay, > > I installed a new OS and I am starting fr

[ANT] How to install?

2002-12-05 Thread Garrett Smith
Okay, I installed a new OS and I am starting from scratch again. Got TC going in only a few minutes, but now I'm stuck on Ant. Last time I was running Ant, I had a homegrown shell script that would set the necessary env. vars and run $ANT_HOME/bin/ant (or something like that). I'm looking for a s

Re: Generating jars without META-INF

2002-11-12 Thread Garrett Smith
Narayanan, More alternatives. You can delete the MANIFEST file after unjarring. Too simple? Or (provided unzip is installed on the sun mach) how about: username% unzip myArchive.zip Garrett --- Conor MacNeill <[EMAIL PROTECTED]> wrote: > Narayanan, Gopalakrishnan wrote: > > Let me explain thi

Re: How to make a jar file and exclude .java files?

2002-11-05 Thread Garrett Smith
Jacob, I actually got it from the manual. Thanks, Garrett --- Jacob Kjome <[EMAIL PROTECTED]> wrote: > > Well, you can either exclude *.java from the task or you can keep > your source in one directory structure and compile and output your classes > to another separate directory

How to make a jar file and exclude .java files?

2002-11-05 Thread Garrett Smith
I want to make a jar file that contains all of my classes but none of my java files. I run ant from WEB-INF/classes/. Is there a stepwise tutorial on how to do this with ant? something like -overview: blah, -step 1. in your application's root directory, make a file named build.xml. -step 2. ...

Re: How does Ant find classes? Exploring class files with happyaxis.jsp

2002-10-29 Thread Garrett Smith
in /WEB-INF/lib. I think I am on the way to solving my problem. Note: +"java.* or javax.* packages into CATALINA_HOME/commons/lib"; Should say: common/lib, not commons/lib. Very useful prog, though. Garrett --- Steve Loughran <[EMAIL PROTECTED]> wrote: > > - Original

Re: How does Ant find classes? ( ClassLoader problem )

2002-10-29 Thread Garrett Smith
> Is your build including the jars in the Tomcat lib directories in creating > a to use for classpaths in your taskdefs? No, I don't use any taskdefs.

Re: How does Ant find classes? ( ClassLoader problem )

2002-10-29 Thread Garrett Smith
--- Steve Loughran <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Garrett Smith" <[EMAIL PROTECTED]> > To: "'Ant Users List'" <[EMAIL PROTECTED]> > Sent: Monday, October 28, 2002 7:04 PM > Subject: How does Ant fi

How does Ant find classes? ( ClassLoader problem )

2002-10-28 Thread Garrett Smith
You probably wouldn't care and say, "It just does." ...until you had some serious ClassLoader. An ominous problem such as that that I now face is too much for one of my level of experience. I want to know where Ant finds javax.mail.Session. I took mail.jar out of my classpath. Tomcat also finds

Re: Command line flag to toggle javadoc

2002-10-22 Thread garrett smith
Hey, Hey, Thanks for the feedback so far. Here is what I use to run ant. I realize that I have no account for flags in my own script. What do I need to add to this or how should I change my setup? [localhost:reg/WEB-INF/classes] garrett% cat /bin/ant export JAVA_HOME="/System/Library/Frameworks

Re: Command line flag to toggle javadoc

2002-10-21 Thread garrett smith
That isn't working for me -- a javadoc target. I get a build, but no javadoc. [localhost:reg/WEB-INF/classes] garrett% ant javadoc But I don't get any javadoc, see: Buildfile: build.xml build: BUILD SUCCESSFUL Total time: 2 seconds [localhost:reg/WEB-INF/classes] garrett% Well, I don't know

Command line flag to toggle javadoc

2002-10-21 Thread garrett smith
Hey, How can I set a flag to determine if javadoc is run or not when I run ant. What I do now is just comment it out with an xml comment, like this: ... et c. Then when I want javadoc, I uncomment it. Show me a better way. = Garrett Needs A Job