Re: v1.3 -- problems retrieving properties from

2001-05-01 Thread Diane Holt
--- Nico Seessle <[EMAIL PROTECTED]> wrote: > > (Maybe this should go in the FAQ.) > > > The better place would be Bugzilla with a little testcase :-) So we can > fix that and don't need to describe wrong behaviour... As I recall, it may not be fixable -- I think it has to do with the order in wh

Re: v1.3 -- problems retrieving properties from

2001-05-01 Thread Nico Seessle
- Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 4:09 AM Subject: Re: v1.3 -- problems retrieving properties from > Not exactly. The properties do get set -- the known issue is that it's > just the log message you get when

Jar/ EJBs / Weblogic (general weirdness)

2001-05-01 Thread Andy Yates
hi - so I have a somewhat confusing problem... (but then, aren't they all? :)) we're creating an EJB jar using the jar task: and then running weblogic.ejbc on it, so as to make the deployable jar so far so good however, when we try a

RE: Can ant do something for each file in a fileset

2001-05-01 Thread Tim Vernum
From: M.A.Dunphy [mailto:[EMAIL PROTECTED]] > Unfortunately this compiler appears not to understand the concept of a webapp > but rather it compiles a single file at a time. I cant see it working but I'll ask.. > Would it be possible to get a java command to be invoked for each .jsp file derived

Using the exec task with SSH

2001-05-01 Thread Marvin Chiang
Hi all, I just started using Ant, and basically I want to run remote scripts through SSH. I am currently working on a Win2K workstation, and I'm using the SSH2 command-line executable from ssh.com. The problem I'm encountering is that SSH2 does not return control back to the exec task after it'

RE: same old question(slightly long)

2001-05-01 Thread Viraj Purang
Hi, I am new to the ANT scene, so a silly question. I have multiple modules in CVS each having its own src directory CVS Structure for module ... --- properties com

Re: Using different compilers?

2001-05-01 Thread Diane Holt
--- Dominic Pilbeam <[EMAIL PROTECTED]> wrote: > I'm attempting to create a build file which compiles Java source from > several different directory trees using different compilers for each > tree, puts all the class files into one directory tree and then jars > them all. > > So, I have a target,

Re: v1.3 -- problems retrieving properties from

2001-05-01 Thread Diane Holt
--- "Webb, James" <[EMAIL PROTECTED]> wrote: > Are there any known issues in 1.3 or config tricks for > retrieving properties from a properties file? > I have not seen any bugreports or patches for this kind > of issue. Not exactly. The properties do get set -- the known issue is that it's just

Re: same old question(slightly long)

2001-05-01 Thread Diane Holt
--- Aarti Chandnani <[EMAIL PROTECTED]> wrote: > I could accomplish this by Propertyfile but it replaces the ":" with "=" You can do it using -- just have it deal with the version number as a separate property. (Assuming I've understood your question correctly.) Diane = ([EMAIL PROTECTE

Where can I find a sample build.xml for a typical J2EE application?

2001-05-01 Thread Thai Thanh Ha
I'm looking for a sample build.xml for a J2EE application (with web applications, ejb-jar modules). I have a sample from http://jakarta.apache.org/commons/cactus/index.html . But this sample is only for one web application module. Please help me! Thanks in advance! Thai

RE: same old question(slightly long)

2001-05-01 Thread JohnL
Title: same old question(slightly long) Hi,   Have you considered using the SCRIPT task?  This sounds like a task that requires a bit of program logic.   You could write Javascript that set a variable to be either "NIGHTLY--MM-DD" or "VERSION-NO" and then do the replace using that variab

Configuration management.

2001-05-01 Thread Andre Cesta
Is anybody integrating Ant with configuration management tools? Something like Aegis or equivalent? __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/

RE: v1.3 -- problems retrieving properties from

2001-05-01 Thread Webb, James
yes, the properties are being set as in a typical java.util.Properties file. some.property.key=some.value i have tested this file from my own properties reader within my codebase so i know it is OK as far as format goes. -Original Message- From: Anuj Agrawal To: [EMAIL PROTECTED] Sen

RE: same old question(slightly long)

2001-05-01 Thread Peter Donald
>well so i wasnt clear :-) ;) >thats the way i have it >Package-Version:which > >and in ANT > > >and i use the commandline to pass the value of ver as wither nightly or 2.1 > >But the prb is: >If i replace my manifest with a token either which or @@version@@ or whatever else, >at the t

RE: same old question(slightly long)

2001-05-01 Thread Aarti Chandnani
Title: RE: same old question(slightly long) well so i wasnt clear :-) thats the way i have it Package-Version:which and in ANT and i use the commandline to pass the value of ver as wither nightly or 2.1 But the prb is: If i replace my manifest with a token either which or @@version@@

Re: same old question(slightly long)

2001-05-01 Thread Peter Donald
>I have a manifest file >which has in it the line say, > >Package-Version:2.1 > >I use this manifest file when I build my jar files. > >Now if its a nightly build , I need the file to say: > >Package-Version:NIGHTLY > >But if its a release, I need it to say Package-Version:2.2 (next release

same old question(slightly long)

2001-05-01 Thread Aarti Chandnani
Title: same old question(slightly long) I have a manifest file which has in it the line say, Package-Version:2.1 I use this manifest file when I build my jar files. Now if its a nightly build , I need the file to say: Package-Version:NIGHTLY But if its a release, I need it to say Pac

Re: v1.3 -- problems retrieving properties from

2001-05-01 Thread Anuj Agrawal
how are you setting the properties? assuming they are being set in the local.properties file, they should appear as: # e.g. weblogic.install.home=c:/whatever/the/path/is Anuj. "Webb, James" wrote: > Are there any known issues in 1.3 or config tricks for > retrieving properties from a propertie

v1.3 -- problems retrieving properties from

2001-05-01 Thread Webb, James
Are there any known issues in 1.3 or config tricks for retrieving properties from a properties file? I have not seen any bugreports or patches for this kind of issue. I am trying to set up a properties file containing local configuration such as paths,etc. for each developer's specific environme

RE: new user problem Target `build.xml' does not exist in this project

2001-05-01 Thread Aarti Chandnani
Title: RE: new user problem Target `build.xml' does not exist in this project i dont think the cvs files r posing a prb i use the cvs files all the time -Original Message-From: Rakshit Daga [mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 01, 2001 3:47 PMTo: [EMAIL PROTECTED]Subj

RE: new user problem Target `build.xml' does not exist in this project

2001-05-01 Thread Rakshit Daga
Title: RE: new user problem Target `build.xml' does not exist in this project I just discovered something, I get this problem , only when i try to run ant from folders that have files marked by cvs, which is very wierd.   btw ant -projecthelp throws up the same error -Original Mess

RE: new user problem Target `build.xml' does not exist in this project

2001-05-01 Thread Peter Donald
At 03:27 1/5/01 -0700, Rakshit Daga wrote: >Nope , i am just doing >$ ant >for some reason , it looks for build.xml as a target, and this problem is >peculiar to my installation, it may sound dumb but * Check your ANT_HOME * Check location of ant cscript on machine (correspond to ANT_HOME???) *

RE: new user problem Target `build.xml' does not exist in this project

2001-05-01 Thread Aarti Chandnani
Title: RE: new user problem Target `build.xml' does not exist in this project try doing ant -projecthelp and see what you get -Original Message- From: Rakshit Daga [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 12:45 PM To: [EMAIL PROTECTED] Subject: new user problem Target

Re: Changing the appearance of the output from javac

2001-05-01 Thread Peter Donald
At 02:47 1/5/01 -0500, Johnson, Robert wrote: >I am currently using ant and I would like to change the format of the errors >that are reported so I can use the "double click" functionality of my editor >(Dev Studio 6) > >Currently the error looks as follows in ant when using the -emacs flag: > >c

RE: new user problem Target `build.xml' does not exist in this project

2001-05-01 Thread Rakshit Daga
Nope , i am just doing $ ant for some reason , it looks for build.xml as a target, and this problem is peculiar to my installation, -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 1:17 PM To: [EMAIL PROTECTED] Subject: Re: new user problem Target

Using different compilers?

2001-05-01 Thread Dominic Pilbeam
Hi   I'm a new Ant user so please forgive the naive questions:   I'm attempting to create a build file which compiles Java source from several different directory trees using different compilers for each tree, puts all the class files into one directory tree and then jars them all.   So, I h

Re: new user problem Target `build.xml' does not exist in this project

2001-05-01 Thread Diane Holt
Are you trying to run it like: $ ant build.xml If you are, drop the "build.xml". Diane --- Rakshit Daga <[EMAIL PROTECTED]> wrote: > Hi all, > I am trying to run ant, and for some reason it gives me this error > message. > > BUILD FAILED > > Target `build.xml' does not exist in this project.

RE: Weblogic 6, ejbjar and pain

2001-05-01 Thread Chaganthi, Madhusudan R.
Just an idea.   What if you jar up all your common classes initially into "common.jar" have that jar in the classpath and then jar up all your beans by referring to that "common jar"?   While packaging your ear file, you use the "common jar", "jar1", "war1", etc into an "ear" file    

RE: updating jar - facing errors

2001-05-01 Thread Aarti Chandnani
Title: RE: updating jar - facing errors Excellent! It worked just fine! Thanks for your help Eli!! -Original Message- From: Eli Sherman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 1:35 PM To: '[EMAIL PROTECTED]' Subject: RE: updating jar - facing errors try using the

Changing the appearance of the output from javac

2001-05-01 Thread Johnson, Robert
I am currently using ant and I would like to change the format of the errors that are reported so I can use the "double click" functionality of my editor (Dev Studio 6) Currently the error looks as follows in ant when using the -emacs flag: c:\test\test.java:22: Error I would like to change the

new user problem Target `build.xml' does not exist in this project

2001-05-01 Thread Rakshit Daga
Hi all, I am trying to run ant, and for some reason it gives me this error message. BUILD FAILED Target `build.xml' does not exist in this project. and for some reason , if i create an empty target called build.xml ,it looks at other files in the directory and complains Target 'x' does not exis

RE: Weblogic 6, ejbjar and pain

2001-05-01 Thread Kurt Olsen
Hi Andy, I'm trying to use ant with weblogic 5.1 and haven't gotten anywhere with the ejbjar task. Another guy is doing the ejb's but doesn't have time for ant so the sys-admin guy and I have been trying to figure out the ejbjar task for 5.1. We'd appreciate any help you can offer and will b

Re: updating jar - facing errors

2001-05-01 Thread Diane Holt
I think you might want to be using the task. As I understand it, if you use the task, you get a manifest file, and if you use the task, you don't. Diane --- Aarti Chandnani <[EMAIL PROTECTED]> wrote: > Hi folks, > > I am creating a ejb jar using the ejbjar task. > Now i want to append some m

RE: updating jar - facing errors

2001-05-01 Thread Eli Sherman
try using the nested element of ejbjar, it does just that. -Original Message- From: Aarti Chandnani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 9:24 PM To: '[EMAIL PROTECTED]' Subject: updating jar - facing errors Hi folks, I am creating a ejb jar using the ejbjar task. N

updating jar - facing errors

2001-05-01 Thread Aarti Chandnani
Title: updating jar - facing errors Hi folks, I am creating a ejb jar using the ejbjar task. Now i want to append some more class files to this jar SO i am using something like :     > when i run this i get an error like: C:\bea\beabuild.xml:92: Problem creating jar: duplicate en

ERR MSG: Failed to load Main-Class manifest attribute

2001-05-01 Thread Anuj Agrawal
Hi folks - i'm running ant 1.3 on solaris 8 (with jdk1.3), but when i run the following antmake.sh file (below) i get the corresponding error message (below). 8(( This doesn't happen when i run basically the same script on a windows box. Anybody face the same issue, or have a workaround? Thanks

Re: Using compiled classes later in build?

2001-05-01 Thread dhay
Hi everyone. It appears the problem with this is setting the classpath before hand (I call env.bat), when the directories have not been created yet. Has anyone else run into this? I am trying to change it so that I set the classpath under my target as below, but can't figure out why it is not

Can ant do something for each file in a fileset

2001-05-01 Thread M.A.Dunphy
Title: Can ant do something for each file in a fileset Hi all, I'd like to compile my jsp pages to make sure that they are correct with respect to the other java code. I'm using the weblogic server which does have a JSP compiler. Unfortunately this compiler appears not to understand the conc

Weblogic 6, ejbjar and pain

2001-05-01 Thread Andrew Thompson
Title: Weblogic 6, ejbjar and pain Hi all, As you might have gathered from my last mail, I'm getting involved in a Weblogic 6 project - I have previously done some 5.1 stuff with ant. This new situation with the element seems to be a real pain, though from reading the archives I begin to

RE: Anyone got the element for to work with weblogic 6?

2001-05-01 Thread Andrew Thompson
Title: RE: Anyone got the element for to work with weblogic 6? >Conor wrote: >Andrew, >The location is a file path, and not a URL. Try that and let me know if >you still have problems. Yeah, I had a file path originally, but I was experimenting. It would be good if the documentation, i

SilverStream deployment tasks

2001-05-01 Thread Bill Pfeiffer
Has anyone written any SilverStream deployment tasks? TIA, Bill Pfeiffer