AW: How to access the basedir of ANOTHER project in Eclipse?

2008-10-28 Thread Jan.Materne
Ok, I thought you want to Ant to search the other project, which isnt possible. But Eclipse knows that and could provide that information (like Carlos and Matt said). But in that case a CI tool must provide that information too. Jan >-Ursprüngliche Nachricht- >Von: Matt Benson [mailto:[

Using ivy to resolve in-build tools

2008-10-28 Thread Benjamin Damm
Hello, I'm looking for help with resolving dependencies for tools found in a build file but that are not dependencies for the project being built. My company has started a strong effort to migrating our builds to incorporate ivy mostly for dependency management as part of getting control o

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
Thank you for at least looking at it. - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 2:30 PM To: Ant Users List Subject: RE: Update Manifest I'm not sure what's going on now. It seems like it should work. The only difference I see b

RE: Update Manifest

2008-10-28 Thread ray . harper
I'm not sure what's going on now. It seems like it should work. The only difference I see between my code and yours is I am updating the manifest file first, then performing the copy and jarring all the files last ... Sorry I couldn't be any help ... Ray Harper, Jr. Software Engineer II Wa

Re: How to access the basedir of ANOTHER project in Eclipse?

2008-10-28 Thread Matt Benson
If you just have your projects all checked out directly into the workspace, there's no real trick to using: Alternatively you could possibly add such a property to your base Ant config in Eclipse, but since I'm not using that there may be some reason I don't presently recall. ;) HTH, Matt ---

Re: How to access the basedir of ANOTHER project in Eclipse?

2008-10-28 Thread Carlos Ortiz
Actually it is posible but you must run the build.xml as a external tool in eclipse then send as a argument -D= Yet there is a small trick since ${workspace_loc} variable won't work you have to create a new variable with the same value of ${workspace_loc} for example MyVar=/home/myuser/mywork

Re: java.security.PrivilegedActionException in Jython scriptdef

2008-10-28 Thread Steve Loughran
Morgan Kinne wrote: Thanks Steve. You were correct of course. I was evidently trying to delete files in a directory that didn't exist! Who would have thought that would result in a security related exception. Bad on me for jumping to the conclusion I jumped to. All is working properly now. we

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
This is not working: This is working [Without the file attribute]: - Pascal -Original Message- From: [EMAIL PROT

RE: Update Manifest

2008-10-28 Thread ray . harper
I read something about the Ant Manifest Tag not liking dashes "-" in the names of files ... try to create a file called test.mf and see if this works ... Make sure you hardcode the name first before trying to pass in as a parameter ... Ray Harper, Jr. Software Engineer II Wachovia Corporation

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
The MANIFEST.MF file does exist in both, the jar and war, I just want to update them with new values. ${env.deploy.path}-${env.repos.revision}/local/comact_Optimizer_main.jar ${env.deploy.path}-${env.repos.revision}/web/EdgExpert.war Those are translated to : ./deploy-HEAD/local/[filename] And

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
That's what I tough at the beginning. But they do exist. - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 12:32 PM To: Ant Users List Subject: Re: Update Manifest You may be getting the error because you are trying to perform an update

Re: java.security.PrivilegedActionException in Jython scriptdef

2008-10-28 Thread Morgan Kinne
Thanks Steve. You were correct of course. I was evidently trying to delete files in a directory that didn't exist! Who would have thought that would result in a security related exception. Bad on me for jumping to the conclusion I jumped to. All is working properly now.

RE: Update Manifest

2008-10-28 Thread ray . harper
try creating a blank file and hardcoding the filename in the the manifest task to see if this corrects the issue If it does, this means the file has to be created prior to performing the manifest task ... If not, try hardcoding the filename anyway and see if that works ... Ray Harper, Jr. Soft

Re: Update Manifest

2008-10-28 Thread ray . harper
You may be getting the error because you are trying to perform an update and the file may not exist Ray Harper, Jr. Software Engineer II Wachovia Corporation 1525 West WT Harris Blvd. Charlotte, NC, 28270 Tel: 704-427-1717 ? Fax: 704-427-3234 ? Mailcode: NC1077 CONFIDENTIALITY NOTICE: The

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
Another weird thing is that when specifying the file attribute, the first manifest task is not working anymore and the build quits. Working on Windows XP Ant 1.7.0 - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 12:14 PM To: Ant Users

RE: Update Manifest

2008-10-28 Thread Pascal Lalonde
Humm, that's quite weird, because the first manifest task works, it's both following that aren't. I'll add it to follow specs anyway. Any idea about the two following ? - Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 28, 2008 12:14 PM To: Ant

Re: Update Manifest

2008-10-28 Thread ray . harper
Hi Pascal, Looks like you left the filename out in the first manifest task ... this is required: http://ant.apache.org/manual/CoreTasks/manifest.html Hope thi

Update Manifest

2008-10-28 Thread Pascal Lalonde
I am attempting to update two manifest files from existing jar and war. The goal of my ant task is to update their manifest file and jar the parent folder. This is what my task looks like: Copying the binaries

Re: java.security.PrivilegedActionException in Jython scriptdef

2008-10-28 Thread Steve Loughran
Morgan Kinne wrote: Hi, I'm a newbie here and a newbie to Jython and scripting in Ant. In that vein: I've created a scriptdef task which I wrote in Jython. I'm using BSF as the manager. My intent was to delete files within this task. Everything works right up to the point where a file is to