You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <ja...@laskowski.net.pl> on 2006/09/01 02:24:11 UTC

YABE (yet another build error)?

Hi,

Seems it's not been mentioned yet. I'm getting the following build
error while building Geronimo. Anyone know what's up?

[INFO] Using ra.xml
C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar-j2ee_1.3\src\main\rar\META-INF\ra.xml
[INFO] Could not find manifest file:
C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar-j2ee_1.3\src\main\rar
\META-INF\MANIFEST.MF - Generating one
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error assembling RAR

Embedded error: Neither a file nor a directory:
C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar-j2ee_1.3\t
arget\test-rar-j2ee_1.3-1.2-SNAPSHOT\META-INF\.svn\tmp\ra.xml.tmp
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling RAR
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
5)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling RAR
        at org.apache.maven.plugin.rar.RarMojo.execute(RarMojo.java:233)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 16 more
Caused by: org.codehaus.plexus.archiver.ArchiverException: Neither a
file nor a directory: C:\oss\geronimo\testsupport\t
est-deployment-j2ee_1.3\test-rar-j2ee_1.3\target\test-rar-j2ee_1.3-1.2-SNAPSHOT\META-INF\.svn\tmp\ra.xml.tmp
        at org.codehaus.plexus.archiver.ArchiveEntry.createEntry(ArchiveEntry.java:140)
        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory(AbstractArchiver.java:156)
        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory(AbstractArchiver.java:99)
        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory(AbstractArchiver.java:93)
        at org.apache.maven.plugin.rar.RarMojo.execute(RarMojo.java:226)
        ... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Fri Sep 01 02:20:59 CEST 2006
[INFO] Final Memory: 31M/56M
[INFO] ------------------------------------------------------------------------

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl

Re: YABE (yet another build error)?

Posted by Jason Dillon <ja...@planet57.com>.
Yikes... that rar plugin again looking into .svn directories.... erg!

--jason


On Aug 31, 2006, at 5:24 PM, Jacek Laskowski wrote:

> Hi,
>
> Seems it's not been mentioned yet. I'm getting the following build
> error while building Geronimo. Anyone know what's up?
>
> [INFO] Using ra.xml
> C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar- 
> j2ee_1.3\src\main\rar\META-INF\ra.xml
> [INFO] Could not find manifest file:
> C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar- 
> j2ee_1.3\src\main\rar
> \META-INF\MANIFEST.MF - Generating one
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Error assembling RAR
>
> Embedded error: Neither a file nor a directory:
> C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar- 
> j2ee_1.3\t
> arget\test-rar-j2ee_1.3-1.2-SNAPSHOT\META-INF\.svn\tmp\ra.xml.tmp
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error  
> assembling RAR
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:559)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif 
> ecycle(DefaultLifecycleExecutor.java:47
> 5)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
> (DefaultLifecycleExecutor.java:454)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand 
> leFailures(DefaultLifecycleExecutor.jav
> a:306)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment 
> s(DefaultLifecycleExecutor.java:273)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
> (DefaultLifecycleExecutor.java:140)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 322)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.codehaus.classworlds.Launcher.launchEnhanced 
> (Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at org.codehaus.classworlds.Launcher.mainWithExitCode 
> (Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error  
> assembling RAR
>        at org.apache.maven.plugin.rar.RarMojo.execute(RarMojo.java: 
> 233)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
> (DefaultPluginManager.java:412)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:534)
>        ... 16 more
> Caused by: org.codehaus.plexus.archiver.ArchiverException: Neither a
> file nor a directory: C:\oss\geronimo\testsupport\t
> est-deployment-j2ee_1.3\test-rar-j2ee_1.3\target\test-rar- 
> j2ee_1.3-1.2-SNAPSHOT\META-INF\.svn\tmp\ra.xml.tmp
>        at org.codehaus.plexus.archiver.ArchiveEntry.createEntry 
> (ArchiveEntry.java:140)
>        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory 
> (AbstractArchiver.java:156)
>        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory 
> (AbstractArchiver.java:99)
>        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory 
> (AbstractArchiver.java:93)
>        at org.apache.maven.plugin.rar.RarMojo.execute(RarMojo.java: 
> 226)
>        ... 18 more
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Total time: 17 seconds
> [INFO] Finished at: Fri Sep 01 02:20:59 CEST 2006
> [INFO] Final Memory: 31M/56M
> [INFO]  
> ---------------------------------------------------------------------- 
> --
>
> Jacek
>
> -- 
> Jacek Laskowski
> http://www.laskowski.net.pl


Re: YABE (yet another build error)?

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 9/1/06, Jason Dillon <ja...@planet57.com> wrote:

> Well of course you could have done something :-P

Well, that wasn't nice. Really! ;-) I'll keep it in mind.

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl

Re: YABE (yet another build error)?

Posted by Jason Dillon <ja...@planet57.com>.
On Sep 1, 2006, at 3:07 AM, Jacek Laskowski wrote:
> Isn't there a thing *I* could be doing wrong? Just thinking if it's me
> who messes up the env and causes the troubles ;-)

Well of course you could have done something :-P

Not sure what you could have done to cause that .svn error though...

--jason


Re: YABE (yet another build error)?

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 9/1/06, Jacek Laskowski <ja...@laskowski.net.pl> wrote:

> Isn't there a thing *I* could be doing wrong? Just thinking if it's me
> who messes up the env and causes the troubles ;-)

Doing more build tests and run across the following I couldn't explain.

jlaskowski@dev /cygdrive/c/oss/geronimo/testsupport/test-deployment-j2ee_1.3/test-rar-j2ee_1.3
$ mvn clean install
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Sep 01 16:28:56 CEST 2006
[INFO] Final Memory: 7M/254M
[INFO] ------------------------------------------------------------------------

whereas

jlaskowski@dev /cygdrive/c/oss/geronimo
$ mvn clean install
...

went on and broke on OpenEJB jars, which I'm building right now. I
can't believe in what I'm seeing. Didn't reboot the machine, nothing
new installed, just a couple of tests and voila. It started to be
working better!

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl

Re: YABE (yet another build error)?

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 9/1/06, Jason Dillon <ja...@planet57.com> wrote:
> I'm starting to loose faith in Mavens portability across operating
> systems... needless to say, I do not nor did not see this error on my
> local workspace.
>
> Java is living up to the write once debug everywhere myth...

Isn't there a thing *I* could be doing wrong? Just thinking if it's me
who messes up the env and causes the troubles ;-)

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl

Re: YABE (yet another build error)?

Posted by Jason Dillon <ja...@planet57.com>.
I'm starting to loose faith in Mavens portability across operating  
systems... needless to say, I do not nor did not see this error on my  
local workspace.

Java is living up to the write once debug everywhere myth...

:-(

--jason


On Aug 31, 2006, at 5:24 PM, Jacek Laskowski wrote:

> Hi,
>
> Seems it's not been mentioned yet. I'm getting the following build
> error while building Geronimo. Anyone know what's up?
>
> [INFO] Using ra.xml
> C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar- 
> j2ee_1.3\src\main\rar\META-INF\ra.xml
> [INFO] Could not find manifest file:
> C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar- 
> j2ee_1.3\src\main\rar
> \META-INF\MANIFEST.MF - Generating one
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Error assembling RAR
>
> Embedded error: Neither a file nor a directory:
> C:\oss\geronimo\testsupport\test-deployment-j2ee_1.3\test-rar- 
> j2ee_1.3\t
> arget\test-rar-j2ee_1.3-1.2-SNAPSHOT\META-INF\.svn\tmp\ra.xml.tmp
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error  
> assembling RAR
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:559)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif 
> ecycle(DefaultLifecycleExecutor.java:47
> 5)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
> (DefaultLifecycleExecutor.java:454)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand 
> leFailures(DefaultLifecycleExecutor.jav
> a:306)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment 
> s(DefaultLifecycleExecutor.java:273)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
> (DefaultLifecycleExecutor.java:140)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 322)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.codehaus.classworlds.Launcher.launchEnhanced 
> (Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at org.codehaus.classworlds.Launcher.mainWithExitCode 
> (Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error  
> assembling RAR
>        at org.apache.maven.plugin.rar.RarMojo.execute(RarMojo.java: 
> 233)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
> (DefaultPluginManager.java:412)
>        at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:534)
>        ... 16 more
> Caused by: org.codehaus.plexus.archiver.ArchiverException: Neither a
> file nor a directory: C:\oss\geronimo\testsupport\t
> est-deployment-j2ee_1.3\test-rar-j2ee_1.3\target\test-rar- 
> j2ee_1.3-1.2-SNAPSHOT\META-INF\.svn\tmp\ra.xml.tmp
>        at org.codehaus.plexus.archiver.ArchiveEntry.createEntry 
> (ArchiveEntry.java:140)
>        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory 
> (AbstractArchiver.java:156)
>        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory 
> (AbstractArchiver.java:99)
>        at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory 
> (AbstractArchiver.java:93)
>        at org.apache.maven.plugin.rar.RarMojo.execute(RarMojo.java: 
> 226)
>        ... 18 more
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Total time: 17 seconds
> [INFO] Finished at: Fri Sep 01 02:20:59 CEST 2006
> [INFO] Final Memory: 31M/56M
> [INFO]  
> ---------------------------------------------------------------------- 
> --
>
> Jacek
>
> -- 
> Jacek Laskowski
> http://www.laskowski.net.pl