AW: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-17 Thread Stadelmann Josef
-Ursprüngliche Nachricht- Von: Kristian Rosenvold [mailto:kristian.rosenv...@gmail.com] Gesendet: Freitag, 14. Januar 2011 08:40 An: Maven Users List Betreff: Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute? I have looked at this code earlier, and it actually

Re: AW: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-17 Thread Kristian Rosenvold
-winterthur.ch -Ursprüngliche Nachricht- Von: Kristian Rosenvold [mailto:kristian.rosenv...@gmail.com] Gesendet: Freitag, 14. Januar 2011 08:40 An: Maven Users List Betreff: Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute? I have looked at this code earlier

why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-13 Thread Stadelmann Josef
On OpenVMS, with JDK 1.5, and maven 3.0 I can download now perfectly forcing basic authentication toward our proxy server. But as downloading artefacts from repositories works now perfect, I want to do bigger steps. i.e. building the svnkit so here we go IA64mvn -Dhttp.auth.preference=Basic

Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-13 Thread Wayne Fay
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on project svnkit: Error assembling JAR: Failed to read filesystem attributes for: /dkb3/sw-projekte/asf/svnkit/tags/1_3_3/pom.xml: Failed to retrieve numeric file attributes using: '/bin/sh -c ls

Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-13 Thread Laird Nelson
Hi, Wayne; this has nothing to do with the JDK and everything to do with Plexus. http://plexus.codehaus.org/plexus-components/plexus-io/xref/org/codehaus/plexus/components/io/attributes/PlexusIoResourceAttributeUtils.html#255 Best, Laird On Thu, Jan 13, 2011 at 1:51 PM, Wayne Fay

Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-13 Thread Wayne Fay
Thanks Laird! I actually looked (very briefly) for this code but I was looking in plexus-utils, not plexus-components, doh. Surely there is a better way to implement this. I need to trace this code around and figure out why its doing this and see if maybe we can use another approach to get the

Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-13 Thread Kristian Rosenvold
I have looked at this code earlier, and it actually forks *2* shells to get file attributes when creating any kind of xAR archive. There is definitely room for improvement here, especially on the posix implementation. The last time I googled this it was not as trivial as one could think.