AW: missing page in manual

2004-12-15 Thread Jan . Materne
Mmh, that file was not touched since 7 months. Where do you have found the link which is broken? For the meanwhile the file can be viewed directly from cvs [1]. Jan [1] http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/docs/manual/CoreTypes/regex p.html?content-type=text%2Fplain > -Ursprüng

Re: Environment variables and mac osx

2004-12-15 Thread Joel
> Having issues with my ant build script finding (B> environment variables on the mac osx. We are running (B> 10.3, it works fine on Windows, but on Mac OSX, under (B> bash or t-shell, they show up when we shell and echo (B> them out, but they are not getting picked up by ant at (B> all. (B 

Using the expansion from

2004-12-15 Thread Tim McNerney
I am using from an task. I would like to be able to use the expanded portion (equivalent to extractVariablePart from the code) within the task. So for example: Where @{variable.part} (or the equivalent) would be "Bob" for "BobTest.xml" and "Larry" for "LarryTest.xml". Is there so

Re: Environment variables and mac osx

2004-12-15 Thread Erik Hatcher
Works for me JAVA_HOME = ${env.JAVA_HOME} java.vendor = ${java.vendor} os.name = ${os.name} os.version = ${os.version} [echo] [echo] JAVA_HOME = /Library/Java/Home [echo] java.vendor = Apple Computer, Inc. [echo] os.name = Mac OS X

Java hung when called from ant

2004-12-15 Thread Nick_Gianakas
After struggling w/ this problem for over a week, I'm at wits end. I'm remotely executing a batch file on a Windows box via rsh. Everything is fine until ant calls java. At that time, the process "freezes". By freeze I mean it doesn't run, nor does it complete. And there is no output. So ba

Re: Environment variables and mac osx

2004-12-15 Thread Erik Hatcher
On Dec 15, 2004, at 3:56 PM, Kevin Duffey wrote: Hmm, so we set TOMCAT_HOME, and a few others, and we can't get to them. JAVA_HOME, java.vendor and those do work. It's the ones we set ourselves. Paths are valid, etc, we have checked all that. Is there a specific user level to put them in, such as r

Re: How to get ANT + CVS to work in Eclipse?

2004-12-15 Thread Gilbert Rebhan
Hi, [EMAIL PROTECTED] wrote: (1) Well, when I run the "checkout" command alone, I get these errors: [cvs] cvs checkout: warning: failed to open C:\Documents and Settings\Administrator\.cvspass for reading: No such file or directory [cvs] cvs checkout: authorization failed: serve

Re: Environment variables and mac osx

2004-12-15 Thread Kevin Duffey
Hmm, so we set TOMCAT_HOME, and a few others, and we can't get to them. JAVA_HOME, java.vendor and those do work. It's the ones we set ourselves. Paths are valid, etc, we have checked all that. Is there a specific user level to put them in, such as root as opposed to our own user that we log in wit

Re: How to get ANT + CVS to work in Eclipse?

2004-12-15 Thread Gilbert Rebhan
Hi, and remember : _Before starting your antscript_ for accessing the cvs-repository you have to login _once_ via CommandLine for the required .cvspass-file, which is created then. Also your username and a low encrypted password is written in .cvspass You have to do this initial login for _every_ c

RE: How to get ANT + CVS to work in Eclipse?

2004-12-15 Thread Erskine, Chris
Do a CVS login command at a command prompt. That will hash a password for you in the .cvspass file. After that, you should be able to get by without having to login for your CVS commands on that repository Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Spr

and Processor Version

2004-12-15 Thread Arro
I have been getting this error when running JunitReport from ant. JDK 1.4.2 and Ant 1.6.2 did download xalanj2.6 in ant lib. still same error BUILD FAILED C:\projects\osc\pret\build_config\build.xml:753: Could not find a valid processor version implementation from web

Environment variables and mac osx

2004-12-15 Thread Kevin Duffey
Hi all, Having issues with my ant build script finding environment variables on the mac osx. We are running 10.3, it works fine on Windows, but on Mac OSX, under bash or t-shell, they show up when we shell and echo them out, but they are not getting picked up by ant at all. Is there a problem wit

Re: How to get ANT + CVS to work in Eclipse?

2004-12-15 Thread rolarenfan
(1) Well, when I run the "checkout" command alone, I get these errors: [cvs] cvs checkout: warning: failed to open C:\Documents and Settings\Administrator\.cvspass for reading: No such file or directory [cvs] cvs checkout: authorization failed: server awbcvs.foo.bar.com reject

Re: AW: ftp issue

2004-12-15 Thread Peter Gershkovich
It was working fine for 2 years!? Besides, ant's ftp is optional task and have some issues with firewalls. I'll try it if this is the only way. Any other suggestions? Peter You´re using the wrong task. Try instead of . Jan -Ursprüngliche Nachricht- Von: Peter Gershkovich [mailto:[EMAI

Re: How to get ANT + CVS to work in Eclipse?

2004-12-15 Thread Gilbert Rebhan
Hi, the error message would be helpful. here's a post about using ant with cvsnt (cvs port to windows platform, even running on unix now): http://marc.theaimsgroup.com/?l=ant-user&m=107052931011992&w=2 cvs works similar, put it on %PATH% ... When using cvs commands with ant out of eclipse you have

missing page in manual

2004-12-15 Thread Gilbert Rebhan
Hi, btw i just had a look in the manual and either in local copy : /ant_1_6_2/docs/manual/CoreTypes/regexp.html or online : The requested URL /manual/CoreTypes/regexp.html was not found on this server. the page on regexp is missing. No one else using regular expressions with Ant ?! Gilbert --

How to get ANT + CVS to work in Eclipse?

2004-12-15 Thread rolarenfan
(First time trying to "post" -- hope this works) I am using Eclipse 2.1.3 (or 3.0.1) and would like to write an ANT-script, to be run from within Eclipse, that would check out some list of projects, but when I try to run the cvs-task, it crashes because I have not logged in; when I try to log

Re: exec and who am I cmd

2004-12-15 Thread Steve S.
Jeffery, Thanks. Yeah I changed to use: username=`echo $USER|awk '{print $1}'|tr "[a-z]" "[A-Z]"` and that seemed to work. Thanks for the help. Steve On Wed, 15 Dec 2004 09:52:36 -0500, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > Why not just use the user.name system property? You should be a

Re: Me Too! Re: Ant and CCC-harvest

2004-12-15 Thread Ken Gentle
At 11:51 2004-12-15, you wrote: We used to have version control commands in our build script, but eventually it became apparent that it was wrong. It is much better to handle all VCS stuff outside of the build by another script (for example, by Maven). No argument -- I normally handle SCM stuf

AW: trying to post a message

2004-12-15 Thread Jan . Materne
what do you have done with this? :) maybe you´ve tried to send not as simple text. Jan > -Ursprüngliche Nachricht- > Von: Peter Gershkovich [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 15. Dezember 2004 17:53 > An: [EMAIL PROTECTED] > Betreff: trying to post a message > > I am tryi

ftp issue

2004-12-15 Thread Peter Gershkovich
Here is a piece of code that used to work fine: ftp://ftp.ncbi.nih.gov/refseq/LocusLink/LL_tmpl.gz";> now I am getting an error: [get] Error opening connection sun.net.ftp.FtpProtocolException: PORT :500 Illegal PORT command, EPSV ALL in effect [get] Error opening connection java.io.Fi

Re: trying to post a message

2004-12-15 Thread Gilbert Rebhan
Hi, i just read your message ;-) so posting seems to work properly. Sometimes there's a lag between posting and the arrival of your mail on the list. Gilbert Peter Gershkovich wrote: I am trying to post a question and for some reason do not see it on the list. Could anyone clarify what am I doing

AW: ftp issue

2004-12-15 Thread Jan . Materne
You´re using the wrong task. Try instead of . Jan > -Ursprüngliche Nachricht- > Von: Peter Gershkovich [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 15. Dezember 2004 18:22 > An: [EMAIL PROTECTED] > Betreff: ftp issue > > Here is a piece of code that used to work fine: > ftp://ftp.

RE: yet another regex question

2004-12-15 Thread Vadim Kazakov
What about using scriptdef. I've never used it, but maybe someone else on this list can advise how you can define a script using scriptdef to do this. -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: December 14, 2004 8:55 AM To: ant_user (E-Mail) Subject: yet anot

trying to post a message

2004-12-15 Thread Peter Gershkovich
I am trying to post a question and for some reason do not see it on the list. Could anyone clarify what am I doing wrong? -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Me Too! Re: Ant and CCC-harvest

2004-12-15 Thread Alexey N. Solofnenko
We used to have version control commands in our build script, but eventually it became apparent that it was wrong. It is much better to handle all VCS stuff outside of the build by another script (for example, by Maven). In any case, or can cover anything, so why wait for somebody else to

Me Too! Re: Ant and CCC-harvest

2004-12-15 Thread Ken Gentle
I too am currently having CCC Harvest inflicted on me. Ant tasks or an example of using Ant to work with Harvest would be greatly appreciated! Ken At 10:06 2004-12-13, you wrote: Hi, I was wondering if someone is working with ant and ccc_harvest ( a version control system ). are there an

Re: exec and who am I cmd

2004-12-15 Thread Jeffrey E Care
Why not just use the user.name system property? You should be able to reference it via ${user.name} -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "Steve S." <[EMAIL PROTECTED]> w

Re: exec and who am I cmd

2004-12-15 Thread Conor MacNeill
It should be whoami - i.e. no spaces Steve S. wrote: I am trying to run the following: test_script tries to do something like: username=`who am i|awk '{print $1}'|tr "[a-z]" "[A-Z]"` where username is used as input for another script. I get the following error though: [exec] Must be attached

Re: Need help understanding dependencies and destdir

2004-12-15 Thread James Abley
On Wed, 2004-12-15 at 13:02, Joel wrote: > James Abley wrote > > > On Wed, 2004-12-15 at 11:42, Joel wrote: > > > > For that last part, I think that you need to look at . > > > > Have a > > > > > > > > > > > > > > > > is not aware of dependencies and inheritance hierarchies. > > > > > > Is

AW: java cup and ant

2004-12-15 Thread Jan . Materne
runs an executable in a platform independent manner. But the executable itself most of the time is not platform independent. If the way for redirection via shell-call is not ok, maybe the redirectors would work (havent played with them). Jan > -Ursprüngliche Nachricht- > Von: Sadaf_Cho

exec and who am I cmd

2004-12-15 Thread Steve S.
I am trying to run the following: test_script tries to do something like: username=`who am i|awk '{print $1}'|tr "[a-z]" "[A-Z]"` where username is used as input for another script. I get the following error though: [exec] Must be attached to terminal for 'am I' option This seems simple b

srcDir and destDir semantics

2004-12-15 Thread Joel
Long question here -- (B (BI've been assuming that srcDir in the task essentially sets the (Bdirectory from which the compile will occur, so that, for instance, the (Bpackage (B (Bjp.co.ddcom.sample (B (Bwould reflect a directory structure (B (Bjp/co/ddcom/sample (B (Bundernea

Re: java cup and ant

2004-12-15 Thread Stefan Bodewig
On Wed, 15 Dec 2004, Sadaf Choudhry <[EMAIL PROTECTED]> wrote: > I understand that I can use , but that would make it > os-dependent. So I was too terse. The problem is that you pass your input file via < filename and this simply doesn't work (and the FAQ says so). Use 's input attribute instea

RE: java cup and ant

2004-12-15 Thread Dick, Brian E.
Just because you use exec doesn't mean you are os-dependent. If the same exec-utable is available on all os's, then you maintain os independence. I use executables in my builds (i.e. m4, isql, sqlplus) and the same build files work on Windows, Solaris and RH. -Original Message- From: Sadaf

AW: Comparing Files on Two Servers

2004-12-15 Thread Jan . Materne
The song is available via our online music store http://ant.apache.org/manual/CoreTypes/selectors.html#modified Jan > -Ursprüngliche Nachricht- > Von: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 15. Dezember 2004 13:36 > An: Ant Users List > Betreff: RE: Comparing F

Re: Need help understanding dependencies and destdir

2004-12-15 Thread Joel
James Abley wrote (B (B> On Wed, 2004-12-15 at 11:42, Joel wrote: (B> > > For that last part, I think that you need to look at . (B> > > Have a (B> > > (B> > > (B> > > (B> > > is not aware of dependencies and inheritance hierarchies. (B> > (B> > Is supposed to be able to tell when

RE: java cup and ant

2004-12-15 Thread Sadaf_Choudhry
Hi Stefan, I understand that I can use , but that would make it os-dependent. I want the same ant script to run on windows and solaris. Any way out? Sadaf -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 5:55 PM To: [EMAIL PROTECTED] S

RE: Comparing Files on Two Servers

2004-12-15 Thread Dick, Brian E.
No, but if you hum a few bars I can sing along. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 2:06 AM To: [EMAIL PROTECTED] Subject: AW: Comparing Files on Two Servers Hhmmm - do you know the modified selector? Jan > -Ur

Re: maven

2004-12-15 Thread Yves Martin
[EMAIL PROTECTED] writes: > nice to hear of your efforts. Yes. It was nice for me to see your design decisions too. It will be too long to answer you now - but I'm sure when my work will be published you may have a look inside it and see if it suits your needs and what can be improved. Regar

Re: java cup and ant

2004-12-15 Thread Stefan Bodewig
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Need help understanding dependencies and destdir

2004-12-15 Thread James Abley
On Wed, 2004-12-15 at 11:42, Joel wrote: > > For that last part, I think that you need to look at . > > Have a > > > > > > > > is not aware of dependencies and inheritance hierarchies. > > Is supposed to be able to tell when a particular source file > is newer than its class file? > > --

java cup and ant

2004-12-15 Thread Sadaf_Choudhry
Hi, I have the following script I get the following problem: [java] Unrecognized option "< condition.cup" [java] Usage: java_cup [options] [java]

Re: Need help understanding dependencies and destdir

2004-12-15 Thread Joel
> For that last part, I think that you need to look at . (B> Have a (B> (B> (B> (B> is not aware of dependencies and inheritance hierarchies. (B (BIs supposed to be able to tell when a particular source file (Bis newer than its class file? (B (B-- (BJoel Rees <[EMAIL PROTECTED]

Re: maven

2004-12-15 Thread jfuller
> I simplified the model to consider a static module dependency (compile > and > runtime are identical for that first implementation - I really think it > is far > enough). A module simply declares it needs a third-party jar (log4j, > velocity...) or another module. this approach can also tak

Re: maven

2004-12-15 Thread Yves Martin
[EMAIL PROTECTED] writes: > neat.I find that managing and compositing data is potentially the hardest > problem after defining/managing component dependencies...how are u managing > dependencies? do u manage any aspect of data? any versioning of data being > performed? does it scale to enterpr

RE: Comparing Files on Two Servers

2004-12-15 Thread Fintan Hynes
Hi, I had this problem some time ago and I implemented an Ant task using the Java.util.jar API to compare the manifests of both jarfiles. In my case both jarfiles were signed so the manifests were different if the jarfiles were different. This was on a local filesystem also so I had no FTP requi

Re: maven

2004-12-15 Thread jfuller
> > Eventually we dropped Maven in favor of Magic. > > I found it ! (not so easy) > >http://www.dpml.net/central/products/magic/index.html thx! > What is the project license ? ditto > It is really really interesting. It looks like the build system I'm currently > implementing. Diff

Re: why doesn't work on ant 1.6.1

2004-12-15 Thread Engin Erdem
thanks, i removed init() calls and it worked --- Yves Martin <[EMAIL PROTECTED]> wrote: > Engin Erdem <[EMAIL PROTECTED]> writes: > > > we have a piece of code that uses ant api and a > build > > file to control our build process. this code > works on > > ant 1.4.1 version but not in 1.6.1 ver

RE: PVCS ANT TASK

2004-12-15 Thread ed . wittmann
Well, the first problem may be that you need to run your ant task on the machine that stores the pvcs archives - if the only access you have to PVCS is the vm-inet client, you may not have that - and ant will not work no matter what you do. If you do have access, depending on which version of pvcs

RE: Conditional processing

2004-12-15 Thread James Abley
On Tue, 2004-12-14 at 20:25, Charles Daniels wrote: > You can use ant-contrib tasks: http://ant-contrib.sourceforge.net/ > (click on the "Other tasks" link to see the list of available tasks). > Alternatively, you can use Maven (http://maven.apache.org) instead of > Ant.

Re: maven

2004-12-15 Thread Yves Martin
"Stephen McConnell" <[EMAIL PROTECTED]> writes: >> Has anybody used Maven to build large project infrastructure. > > I was using Maven for an infrastructure involving about 120 projects. > Eventually we dropped Maven in favor of Magic. I found it ! (not so easy) http://www.dpml.net/central

Re: why doesn't work on ant 1.6.1

2004-12-15 Thread Yves Martin
Engin Erdem <[EMAIL PROTECTED]> writes: > we have a piece of code that uses ant api and a build > file to control our build process. this code works on > ant 1.4.1 version but not in 1.6.1 version, I searched > mailing lists but I did'nt find any suggestions. > what is the problem??? > you can te

RE: yet another regex question

2004-12-15 Thread Rebhan, Gilbert
Hi, thx a lot for your script splitter.sh I may use it @home, but here @work i may not use 'yet another language/tool' beside Java/Ant/Rexx ... thx anyway !! Gilbert -Original Message- From: Nemana, Satya V [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 8:27 PM To: Ant User

RE: maven

2004-12-15 Thread jfuller
"Stephen McConnell" <[EMAIL PROTECTED]> wrote .. > > > > -Original Message- > > From: Radha Sangal [mailto:[EMAIL PROTECTED] > > Sent: 14 December 2004 18:20 > > To: Ant Users List > > Subject: maven > > > > Hi, > > > > > > > > Has anybody used Maven to build large project infrastruct

why doesn't work on ant 1.6.1

2004-12-15 Thread Engin Erdem
we have a piece of code that uses ant api and a build file to control our build process. this code works on ant 1.4.1 version but not in 1.6.1 version, I searched mailing lists but I did'nt find any suggestions. what is the problem??? you can test them with the code and build file below --