Re: truezip-maven-plugin fails when run on CI server

2012-06-26 Thread David Hoffer
Thanks much for your help.  Unfortunately I don't have access to our CI
build server so there wasn't much I could do here.  I changed the build to
not use this plugin...I just unzip and then re-jar...solves this problem in
this case.

Thanks,
-Dave

On Mon, Jun 25, 2012 at 3:57 PM, Wayne Fay wayne...@gmail.com wrote:

  *[14:53:10]*Caused by: java.io.IOException: Failed to delete file
 
 F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
  Reason is unknown.
  *[14:53:10]* at
 
 org.codehaus.mojo.truezip.internal.TrueZipFileSetManager.delete(TrueZipFileSetManager.java:353)

 Does that path exist?
 Does the CI server user have permissions to delete that file?

 The code you're running into is roughly here:

 http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.mojo/truezip-maven-plugin/1.0-beta-7/org/codehaus/mojo/truezip/util/TrueZipFileSetManager.java#349

 If you have a specific change/patch to provide that might help solve
 this issue, please don't hesitate to provide it.

 Wayne

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: truezip-maven-plugin fails when run on CI server

2012-06-26 Thread Dan Tran
may want to try 'immediateUpdate=true'

-D

On Tue, Jun 26, 2012 at 12:05 PM, David Hoffer dhoff...@gmail.com wrote:
 Thanks much for your help.  Unfortunately I don't have access to our CI
 build server so there wasn't much I could do here.  I changed the build to
 not use this plugin...I just unzip and then re-jar...solves this problem in
 this case.

 Thanks,
 -Dave

 On Mon, Jun 25, 2012 at 3:57 PM, Wayne Fay wayne...@gmail.com wrote:

  *[14:53:10]*Caused by: java.io.IOException: Failed to delete file
 
 F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
  Reason is unknown.
  *[14:53:10]* at
 
 org.codehaus.mojo.truezip.internal.TrueZipFileSetManager.delete(TrueZipFileSetManager.java:353)

 Does that path exist?
 Does the CI server user have permissions to delete that file?

 The code you're running into is roughly here:

 http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.mojo/truezip-maven-plugin/1.0-beta-7/org/codehaus/mojo/truezip/util/TrueZipFileSetManager.java#349

 If you have a specific change/patch to provide that might help solve
 this issue, please don't hesitate to provide it.

 Wayne

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: truezip-maven-plugin fails when run on CI server

2012-06-25 Thread David Hoffer
Sorry for the delay..here is the log file with the debug info.  I can say
that it's not failing with one particular file in the jar...I've tried
changing the rules and it always fails to remove the file/folder.  However
this only happens on our CI server (TeamCity) when I run local it works
fine.  Also CI build is Windows7 so is mine.  Any ideas why this would fail?

*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.codehaus.mojo:truezip-maven-plugin:jar:1.0:
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.codehaus.mojo:truezip-core:jar:1.0:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
de.schlichtherle.truezip:truezip-file:jar:7.5.4:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
de.schlichtherle.truezip:truezip-driver-file:jar:7.5.4:runtime
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
de.schlichtherle.truezip:truezip-kernel:jar:7.5.4:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
de.schlichtherle.truezip:truezip-driver-zip:jar:7.5.4:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
de.schlichtherle.truezip:truezip-swing:jar:7.5.4:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.commons:commons-compress:jar:1.4:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.tukaani:xz:jar:1.0:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.bouncycastle:bcprov-jdk16:jar:1.46:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
de.schlichtherle.truezip:truezip-driver-tar:jar:7.5.4:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven.shared:file-management:jar:1.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven.shared:maven-shared-io:jar:1.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-project:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-settings:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-profile:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-model:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-artifact:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
junit:junit:jar:3.8.2:test (scope managed from compile) (version managed
from 3.8.1)
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
classworlds:classworlds:jar:1.1-alpha-2:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.apache.maven:maven-plugin-api:jar:2.2.1:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Created new
class realm pluginorg.codehaus.mojo:truezip-maven-plugin:1.0
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Importing
foreign packages into class realm
pluginorg.codehaus.mojo:truezip-maven-plugin:1.0
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Imported: 
projectcom.issinc.chat-dashboard:chat-dashboard-parent:4.4-SNAPSHOT
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Populating
class realm pluginorg.codehaus.mojo:truezip-maven-plugin:1.0
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
org.codehaus.mojo:truezip-maven-plugin:jar:1.0
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
org.codehaus.mojo:truezip-core:jar:1.0
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
de.schlichtherle.truezip:truezip-file:jar:7.5.4
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
de.schlichtherle.truezip:truezip-driver-file:jar:7.5.4
*[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
de.schlichtherle.truezip:truezip-kernel:jar:7.5.4

Re: truezip-maven-plugin fails when run on CI server

2012-06-25 Thread Wayne Fay
 *[14:53:10]*Caused by: java.io.IOException: Failed to delete file
 F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
 Reason is unknown.
 *[14:53:10]* at
 org.codehaus.mojo.truezip.internal.TrueZipFileSetManager.delete(TrueZipFileSetManager.java:353)

Does that path exist?
Does the CI server user have permissions to delete that file?

The code you're running into is roughly here:
http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.mojo/truezip-maven-plugin/1.0-beta-7/org/codehaus/mojo/truezip/util/TrueZipFileSetManager.java#349

If you have a specific change/patch to provide that might help solve
this issue, please don't hesitate to provide it.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



truezip-maven-plugin fails when run on CI server

2012-06-22 Thread David Hoffer
I just added usage of truezip-maven-plugin to my build.  I am using
the remove goal to remove some files and folders from a jar.  it works
fine when run locally on my system but has the following error when
run on our TeamCity CI build server.  The build agent is Windows7 and
so is my system.  Any ideas why this would fail?

[com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
project dashboard-dev: Remove fileset fails

[11:53:01]: [ERROR] Failed to execute goal
org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
project dashboard-dev: Remove fileset fails: Failed to delete file
F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
Reason is unknown. - [Help 1]
[11:53:01]: [ERROR]

-Dave

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: truezip-maven-plugin fails when run on CI server

2012-06-22 Thread Dan Tran
can you run with -X or -e to see the stack trace?

-D

On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer dhoff...@gmail.com wrote:
 I just added usage of truezip-maven-plugin to my build.  I am using
 the remove goal to remove some files and folders from a jar.  it works
 fine when run locally on my system but has the following error when
 run on our TeamCity CI build server.  The build agent is Windows7 and
 so is my system.  Any ideas why this would fail?

 [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails

 [11:53:01]: [ERROR] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails: Failed to delete file
 F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
 Reason is unknown. - [Help 1]
 [11:53:01]: [ERROR]

 -Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: truezip-maven-plugin fails when run on CI server

2012-06-22 Thread David Hoffer
I wish that was easier to do.  Unfortunately the CI server is managed
by a different group...I'll have to ask if they can do this.

-Dave

On Fri, Jun 22, 2012 at 12:41 PM, Dan Tran dant...@gmail.com wrote:
 can you run with -X or -e to see the stack trace?

 -D

 On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer dhoff...@gmail.com wrote:
 I just added usage of truezip-maven-plugin to my build.  I am using
 the remove goal to remove some files and folders from a jar.  it works
 fine when run locally on my system but has the following error when
 run on our TeamCity CI build server.  The build agent is Windows7 and
 so is my system.  Any ideas why this would fail?

 [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails

 [11:53:01]: [ERROR] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails: Failed to delete file
 F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
 Reason is unknown. - [Help 1]
 [11:53:01]: [ERROR]

 -Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: truezip-maven-plugin fails when run on CI server

2012-06-22 Thread David Hoffer
Does -X include -e (errors) or do I have to have them add both?

-Dave

On Fri, Jun 22, 2012 at 1:00 PM, David Hoffer dhoff...@gmail.com wrote:
 I wish that was easier to do.  Unfortunately the CI server is managed
 by a different group...I'll have to ask if they can do this.

 -Dave

 On Fri, Jun 22, 2012 at 12:41 PM, Dan Tran dant...@gmail.com wrote:
 can you run with -X or -e to see the stack trace?

 -D

 On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer dhoff...@gmail.com wrote:
 I just added usage of truezip-maven-plugin to my build.  I am using
 the remove goal to remove some files and folders from a jar.  it works
 fine when run locally on my system but has the following error when
 run on our TeamCity CI build server.  The build agent is Windows7 and
 so is my system.  Any ideas why this would fail?

 [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails

 [11:53:01]: [ERROR] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails: Failed to delete file
 F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
 Reason is unknown. - [Help 1]
 [11:53:01]: [ERROR]

 -Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: truezip-maven-plugin fails when run on CI server

2012-06-22 Thread Dan Tran
-X includes -e

On Fri, Jun 22, 2012 at 12:02 PM, David Hoffer dhoff...@gmail.com wrote:
 Does -X include -e (errors) or do I have to have them add both?

 -Dave

 On Fri, Jun 22, 2012 at 1:00 PM, David Hoffer dhoff...@gmail.com wrote:
 I wish that was easier to do.  Unfortunately the CI server is managed
 by a different group...I'll have to ask if they can do this.

 -Dave

 On Fri, Jun 22, 2012 at 12:41 PM, Dan Tran dant...@gmail.com wrote:
 can you run with -X or -e to see the stack trace?

 -D

 On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer dhoff...@gmail.com wrote:
 I just added usage of truezip-maven-plugin to my build.  I am using
 the remove goal to remove some files and folders from a jar.  it works
 fine when run locally on my system but has the following error when
 run on our TeamCity CI build server.  The build agent is Windows7 and
 so is my system.  Any ideas why this would fail?

 [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails

 [11:53:01]: [ERROR] Failed to execute goal
 org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
 project dashboard-dev: Remove fileset fails: Failed to delete file
 F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
 Reason is unknown. - [Help 1]
 [11:53:01]: [ERROR]

 -Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org