Re: Request for Assembly plugin use cases

2006-09-25 Thread John Casey

that looks like a file locking issue...would you agree?

-john

On 9/23/06, dan tran [EMAIL PROTECTED] wrote:


tested with my production build, my assemblies use Files, FileSet,
ComponentDescriptors

Found 1 error in test, but junit report does not see the error

Test set:
org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizerTest

---
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec
 FAILURE!
testShouldAddManifestWhenArchiverIsJarArchiver(
org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizerTest)
Time elapsed: 0.047 sec   ERROR!
java.io.IOException: File C:\DOCUME~1\dtran\LOCALS~1\Temp\manifest-
finalizer.test.1159025918997\MANIFEST.MF unable to be deleted.
at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1095)
at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1268)
at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1224)
at org.apache.maven.plugin.assembly.testutils.TestFileManager.cleanUp(
TestFileManager.java:115)
at

org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizerTest.tearDown
(ManifestCreationFinalizerTest.java:31)

Good work.


-Dan

BTW, I compile from source at
repos/asf/maven/plugins/trunk/maven-assembly-plugin

Got one error in test thou

On 9/23/06, Barrie Treloar [EMAIL PROTECTED] wrote:

 On 9/23/06, John Casey [EMAIL PROTECTED] wrote:
  However, for behavioral things (like exclusion of **/.svn/** by
 default),
  I'm coming up short on information.

 Default excludes, like ant has, would be nice.
 Like **/CVS/** (for the svn you have above).

 Are the changes on trunk, or available as a snapshot?
 I'm keen to see http://jira.codehaus.org/browse/MASSEMBLY-119 and
 http://jira.codehaus.org/browse/MASSEMBLY-118 also fixed.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






Re: Request for Assembly plugin use cases

2006-09-23 Thread Barrie Treloar

On 9/23/06, John Casey [EMAIL PROTECTED] wrote:

However, for behavioral things (like exclusion of **/.svn/** by default),
I'm coming up short on information.


Default excludes, like ant has, would be nice.
Like **/CVS/** (for the svn you have above).

Are the changes on trunk, or available as a snapshot?
I'm keen to see http://jira.codehaus.org/browse/MASSEMBLY-119 and
http://jira.codehaus.org/browse/MASSEMBLY-118 also fixed.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Request for Assembly plugin use cases

2006-09-23 Thread dan tran

tested with my production build, my assemblies use Files, FileSet,
ComponentDescriptors

Found 1 error in test, but junit report does not see the error

Test set:
org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizerTest
---
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec
 FAILURE!
testShouldAddManifestWhenArchiverIsJarArchiver(
org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizerTest)
Time elapsed: 0.047 sec   ERROR!
java.io.IOException: File C:\DOCUME~1\dtran\LOCALS~1\Temp\manifest-
finalizer.test.1159025918997\MANIFEST.MF unable to be deleted.
at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1095)
at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1268)
at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1224)
at org.apache.maven.plugin.assembly.testutils.TestFileManager.cleanUp(
TestFileManager.java:115)
at
org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizerTest.tearDown
(ManifestCreationFinalizerTest.java:31)

Good work.


-Dan

BTW, I compile from source at
repos/asf/maven/plugins/trunk/maven-assembly-plugin

Got one error in test thou

On 9/23/06, Barrie Treloar [EMAIL PROTECTED] wrote:


On 9/23/06, John Casey [EMAIL PROTECTED] wrote:
 However, for behavioral things (like exclusion of **/.svn/** by
default),
 I'm coming up short on information.

Default excludes, like ant has, would be nice.
Like **/CVS/** (for the svn you have above).

Are the changes on trunk, or available as a snapshot?
I'm keen to see http://jira.codehaus.org/browse/MASSEMBLY-119 and
http://jira.codehaus.org/browse/MASSEMBLY-118 also fixed.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]