RE: zip/tar and file permissions

2009-03-03 Thread Shawn Castrianni
I just discovered that the untar task does not restore the file permissions. So even if I could set the correct file permissions inside the tarfileset, untar would ignore them. There seems to be some glaring holes in ANT when it comes to stuff like this. With these new Java 1.6 methods, there

AW: JavaDoc problem

2009-03-03 Thread Jan.Materne
>I found javadoc had a hard dependency on ../etc/common.xml Where is common.xml? I dont know any. Can you point it to me? http://svn.apache.org/repos/asf/ant/core/trunk/ >BUILD FAILED >java.lang.NullPointerException >at org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(A

RE: zip/tar and file permissions

2009-03-03 Thread Shawn Castrianni
I just wrote a test program for these new methods in Java 1.6 and they work great. You are right that they don't give you full granularity into user, group, and other, but they do allow setting just the user or everybody (which sets user, group, and other). I think that is sufficient for my ne

Re: zip/tar and file permissions

2009-03-03 Thread Stefan Bodewig
On 2009-03-03, Shawn Castrianni wrote: > Java 1.6 seems to have available: > canRead > canWrite > canExecute (new to 1.6) > setReadable (new to 1.6) > setWritable (new to 1.6) > setExecutable (new to 1.6) which is insufficient since it only get/sets the bits for the current user and not the own

Re: Ivy Report License Column

2009-03-03 Thread Maarten Coene
Please create a jira ticket and attach the xml and html reports to it... Maarten - Original Message From: kaygee To: ivy-u...@ant.apache.org Sent: Friday, February 27, 2009 3:40:20 PM Subject: Re: Ivy Report License Column I'm using Ivy 2.0.0... >From my build output... Getting:

Re: IvyDE - Is it possible to have it download sources & javadocs?

2009-03-03 Thread Rod Mackenzie
Hi Kent, I got this working by adding the following configurations Then added configuration mappings to the dependencies, I'm still learning about Ivy so I don't know if there is a better way. One other thing I had to do was clean the Ivy cache. The source and javadoc

Re: ant clearcase task issue

2009-03-03 Thread Robert Anderson
The attribute is failonerr, not failonerr*or*. -Rob Anderson On Mon, Feb 23, 2009 at 8:50 AM, meher03 wrote: > > Hi > I am using ant 1.7.1. I am utilising the ant task ccmklabel within the > build.xml. > > According to the online documentation there is an attribute called > failonerror which ca

Re: zip/tar and file permissions

2009-03-03 Thread David Weintraub
I don't believe that tar task in Ant can be asked to simply leave file permissions alone. We have shell scripts that have the execute permission set, but keeps resetting them. You can define multiple tarfilesets, and have each one with a different permission. Each tarfileset can even be the same

RE: Oracle on Unix help

2009-03-03 Thread Martin Gainty
MG>see below Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party

RE: zip/tar and file permissions

2009-03-03 Thread Shawn Castrianni
Java 1.6 seems to have available: canRead canWrite canExecute (new to 1.6) setReadable (new to 1.6) setWritable (new to 1.6) setExecutable (new to 1.6) which makes me think this is now possible to do in a platform independent way from ANT. --- Shawn Castrianni From: Shawn Castrianni Sent: Tue

zip/tar and file permissions

2009-03-03 Thread Shawn Castrianni
I am trying to zip or tar up some files in a platform independent way but retain file permissions if on unix. I thought I found the answer when I saw that both zipfileset and tarfileset support the filemode attribute. However, I quickly discovered that this allows the file permissions to be se

Oracle on Unix help

2009-03-03 Thread Dylan Farre
Hi, any help will me much appreciated. I have been using Incanto for Oracle on Windows, but now I am having some issues using it on Unix, it sort of works, but gives errors. Also looking at the website, there is no mention of Unix. I assumed that it would support it, since that is the Ant philosoph

Re: JavaDoc problem

2009-03-03 Thread Troy Bull
I am not sure if this is my problem or not.. The stack trace looks to me like it is trying to scan for some files or something: BUILD FAILED java.lang.NullPointerException at org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:477) at org.apache.t

RE: JavaDoc problem

2009-03-03 Thread Martin Gainty
Troy- I found javadoc had a hard dependency on ../etc/common.xml which I solved with HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sen

Re: Buildnumber task - no way to specify resolver

2009-03-03 Thread Stephen Woods
Thanks for the quick reply... I'll take a look! On Tue, Mar 3, 2009 at 11:12 AM, Maarten Coene wrote: > This has already been added in SVN trunk: > https://issues.apache.org/jira/browse/IVY-1019 > > Could you give it a try? > > Maarten > > > > > - Original Message > From: Stephen Woods

Re: Buildnumber task - no way to specify resolver

2009-03-03 Thread Maarten Coene
This has already been added in SVN trunk: https://issues.apache.org/jira/browse/IVY-1019 Could you give it a try? Maarten - Original Message From: Stephen Woods To: ivy-u...@ant.apache.org Sent: Tuesday, March 3, 2009 4:56:33 PM Subject: Buildnumber task - no way to specify resolver

Buildnumber task - no way to specify resolver

2009-03-03 Thread Stephen Woods
First off, I just want to thank the development team for such a cool tool. My experience with Ivy has been great so far. I'm having an issue right now regarding publishing to local and shared repositories. My question is, is there any specific reason why I can't specify which resolver to use when

JavaDoc problem

2009-03-03 Thread Troy Bull
Greetings I have a "build system" built around ant. It was originally written with ant 1.6.5, recently I tried to upgrade to 1.7.1 and my javadoc task started failing with a NullPointer exception. Does anyone know if this is a known issue or is there something I can do? Switching back to 1.6.5

Re: How to increase memory used by JVM in Ant

2009-03-03 Thread Raja Nagendra Kumar
Add this line in ant.bat first line.. set ANT_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=120m Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/How-to-increase-memory-used-by-JVM-in-Ant-tp15499056p22308173.html Sent from the Ant - Users m