the way to pass things in is -d

this is how you can have the same build.xml on several systems...just use -d
to pass in "specific" env vars.

fillup


On 5/29/02 3:49 PM, "Martin van den Bemt" <[EMAIL PROTECTED]> wrote:

> <!-- Note: this is a kludge until we figure out how to pass this value
> in -->
>   <property name="tomcat-home" location="C:/Program Files/Apache
> Tomcat 4.0"/>
> 
> Checkout http://jakarta.apache.org/ant/manual/CoreTasks/property.html
> especially the parameter environment needs looking at ;)
> 
> Mvgr,
> Martin
> 
> On Thu, 2002-05-30 at 00:45, Whitcomb, Roger wrote:
>> Rich -
>> I have NO classpath defined and am doing almost minute-by-minute builds using
>> "Ant".  Here is my build.xml file as an example.  Notice the "tomcat-home"
>> definition at the top which probably would change and then the "servlet-path"
>> element which points to all the Tomcat servlet .jar files.
>> 
>> Roger Whitcomb
>> Computer Associates
>> Senior Software Engineer
>> Development
>> Phone: +1 408 965 8653
>> FAX: +1 408 965 8805
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> 
>> 
>> -----Original Message-----
>> From: Richard Diaz [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, May 29, 2002 3:14 PM
>> To: Tomcat Users List
>> Subject: Re: please fix my stupid classpath
>> 
>> 
>> I am using the command line (javac) to compile my java
>> files. And now I am trying to .jar them...
>> 
>> Rich
>> 
>> --- Martin van den Bemt <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>> 
>>> Tomcat handles your classpath, you don't have to set
>>> that.. I even think
>>> you get some classloader issues with that..
>>> If you need it for compiling, you should have a look
>>> at ant, who can
>>> arrange these things a lot easier..
>>> 
>>> Mvgr,
>>> Martin
>>> 
>>> On Thu, 2002-05-30 at 00:08, Richard Diaz wrote:
>>>> I set this up like a year ago and now that I look
>>> at
>>>> it, it seems wacked. Looks like I had to add all
>>> the
>>>> servlet jar files?
>>>> 
>>>> Suggestions most welcome.
>>>> 
>>>> I'm using Apache, Tomcat 4, Sun sdk 131
>>>> 
>>>> Rich
>>>> 
>>>> SET
>>>> 
>>> 
>> CLASSPATH=c:\sunsdk131;c:\sunsdk131\lib;c:\sunsdk131\src.jar;c:\sunsdk131\lib
>> \tools.jar;C:\Program
>>>> Files\Apache Tomcat
>>>> 4.0\webapps\twc\Web-inf\lib;C:\Program
>>> Files\Apache
>>>> Tomcat 4.0\lib\tools.jar;C:\Program Files\Apache
>>>> Tomcat 4.0\common\lib\servlet.jar;C:\Program
>>>> Files\Apache Tomcat
>>>> 4.0\lib\jasper-runtime.jar;C:\Program Files\Apache
>>>> Tomcat 4.0\lib\naming-factory.jar;C:\Program
>>>> Files\Apache Tomcat
>>>> 4.0\common\jasper\jaxp.jar;C:\Program Files\Apache
>>>> Tomcat 4.0\jasper\jasper-compiler.jar;
>>>> 
>>>> =====
>>>> 
>>>> 
>>>> __________________________________________________
>>>> Do You Yahoo!?
>>>> Yahoo! - Official partner of 2002 FIFA World Cup
>>>> http://fifaworldcup.yahoo.com
>>>> 
>>>> --
>>>> To unsubscribe, e-mail:
>>> <mailto:[EMAIL PROTECTED]>
>>>> For additional commands, e-mail:
>>> <mailto:[EMAIL PROTECTED]>
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> To unsubscribe, e-mail:
>>> <mailto:[EMAIL PROTECTED]>
>>> For additional commands, e-mail:
>>> <mailto:[EMAIL PROTECTED]>
>>> 
>> 
>> 
>> =====
>> 
>> 
>> __________________________________________________
>> Do You Yahoo!?
>> Yahoo! - Official partner of 2002 FIFA World Cup
>> http://fifaworldcup.yahoo.com
>> 
>> --
>> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>> 
>> ----
>> 
> 
>> --
>> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to