Hello All,

I'm back from my holiday break and am taking a look at this now.

David, what machine/service are you attempting to setup the Jenkins build
on? It nearly looks like you can't get access to the file system via a
shell of some form.

I'll post again once I have some answers.

Cheers,
  Sev aka. Cliff



On 9 January 2012 09:26, Jody Garnett <[email protected]> wrote:

>  I was in a slightly different spot (it was the test plugin's trying to
> run a test; it had its own java settings which Cliff had isolated in the
> pom.xml of each test plugin).
> I am still stuck on this one; however I have removed these from your "mvn
> clean install -Dall" - and I am now able to successfully build on the
> command line.
>
> So from my standpoint you should be good to go .. the com.lowagie.itext
> works for me - and I was able to do a full build last night using the same
> command line as you.
>
> We will see what Cliff says.
> --
> Jody Garnett
>
> On Monday, 9 January 2012 at 7:32 AM, David Gill wrote:
>
> Jody,
>
> Thanks for the updates.  I was originally running it via the "mvn clean
> install -Dall".
>
> I think you were on the right track.  I increased the maven pem size as
> indicated by
> http://stackoverflow.com/questions/3101128/java-lang-outofmemoryerror-permgen-spaceand
>  I think that gets around that error.  Specifically, I used the
> following maven_opts (-Xmx1024m -XX:MaxPermSize=256m) .  Now I get an error
> that states the following:
>
> [ERROR] Failed to execute goal 
> org.eclipse.tycho:tycho-packaging-plugin:0.13.0:package-plugin 
> (default-package-plugin) on project com.lowagie.itext: Error assembling JAR: 
> Failed to read filesystem attributes for: 
> /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/com.lowagie.itext/pom.xml:
>  Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlad 
> /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/com.lowagie.itext/pom.xml':
>  Error while executing process. Cannot run program "/bin/sh": 
> java.io.IOException: error=12, Cannot allocate memory -> [Help 1][ERROR]  
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.[ERROR] Re-run Maven using the -X switch to enable full debug 
> logging.[ERROR]  [ERROR] For more information about the errors and possible 
> solutions, please read the following articles:[ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException[ERROR]
>   [ERROR] After correcting the problems, you can resume the build with the 
> command[ERROR]   mvn <goals> -rf :com.lowagie.itext
>
>
> This was very similar to the error I was originally seeing when I tried to
> build uDig.  This error may be specific to the Jenkins build server we are
> using, and I think it will build locally with those settings.  I'll try
> tweaking some settings and see if I cant get it to finally build on the
> jenkins server (
> http://ec2-50-19-55-166.compute-1.amazonaws.com/hudson/job/uDig/).
>
> Thanks again,
> Dave
>
> On Sun, Jan 8, 2012 at 1:00 AM, Jody Garnett <[email protected]>wrote:
>
> David:
>
> I have changed the activation on the "test" profile so it is no longer
> included in -Dall.
>
> So you should be able to configure your build box without trouble to use:
> mvn clean install -Dall
>
> When we have tests going again we will make sure it is included in -Dall.
>
> Cliff:
>
> I have run net.refractions.udig.ui.test with 'mvn install -X
>
> Here is the result:
>
> [DEBUG] Configuring mojo
> org.eclipse.tycho:tycho-surefire-plugin:0.13.0:test from plugin realm
> ClassRealm[plugin>org.eclipse.tycho:tycho-surefire-plugin:0.13.0, parent:
> sun.misc.Launcher$AppClassLoader@37b90b39]
> [DEBUG] Configuring mojo
> 'org.eclipse.tycho:tycho-surefire-plugin:0.13.0:test' with basic
> configurator -->
> [DEBUG]   (f) application = org.eclipse.ui.ide.workbench
> [DEBUG]   (f) argLine = -Xmx128m -XX:MaxPermSize=256m -Dsdtcore.headless
> -XstartOnFirstThread
> [DEBUG]   (f) devProperties =
> /Users/jody/java/udig/jive/plugins/net.refractions.udig.ui.tests/target/dev.properties
> [DEBUG]   (f) failIfNoTests = true
> [DEBUG]   (f) pluginArtifacts =
> [org.eclipse.tycho:tycho-surefire-plugin:maven-plugin:0.13.0:,
> org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile,
> org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile,
> org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile,
> org.codehaus.plexus:plexus-utils:jar:2.0.4:compile,
> org.sonatype.aether:aether-util:jar:1.7:compile,
> org.codehaus.plexus:plexus-interpolation:jar:1.14:compile,
> org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile,
> org.sonatype.plexus:plexus-cipher:jar:1.4:compile,
> org.codehaus.plexus:plexus-archiver:jar:1.2:compile,
> org.codehaus.plexus:plexus-io:jar:1.0.1:compile,
> de.pdark:decentxml:jar:1.3:compile,
> org.eclipse.tycho:tycho-equinox-launching:jar:0.13.0:compile,
> org.eclipse.tycho:org.eclipse.tycho.surefire.osgibooter:jar:0.13.0:runtime,
> org.eclipse.tycho:org.eclipse.tycho.surefire.junit:jar:0.13.0:runtime,
> org.eclipse.tycho:org.eclipse.tycho.surefire.junit4:jar:0.13.0:runtime]
> [DEBUG]   (f) product = net.refractions.udig-product
> [DEBUG]   (f) project = MavenProject:
> net.refractions:net.refractions.udig.ui.tests:1.2.0-SNAPSHOT @
> /Users/jody/java/udig/jive/plugins/net.refractions.udig.ui.tests/pom.xml
> [DEBUG]   (f) reportsDirectory =
> /Users/jody/java/udig/jive/plugins/net.refractions.udig.ui.tests/target/surefire-reports
> [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@38ee9f13
> [DEBUG]   (f) showEclipseLog = false
> [DEBUG]   (f) skip = false
> [DEBUG]   (f) skipExec = false
> [DEBUG]   (f) surefireProperties =
> /Users/jody/java/udig/jive/plugins/net.refractions.udig.ui.tests/target/surefire.properties
> [DEBUG]   (f) testClassesDirectory =
> /Users/jody/java/udig/jive/plugins/net.refractions.udig.ui.tests/target/classes
> [DEBUG]   (f) testFailureIgnore = false
> [DEBUG]   (f) useUIHarness = true
> [DEBUG]   (f) useUIThread = true
> [DEBUG]   (f) work =
> /Users/jody/java/udig/jive/plugins/net.refractions.udig.ui.tests/target/work
> [DEBUG] -- end configuration --
>
>
> Of special interest is *argLine = -Xmx128m -XX:MaxPermSize=256m
> -Dsdtcore.headless -XstartOnFirstThread*
>
> I am going to go read about tycho-surefire-plugin and see if I can
> increase that MaxPermSize limit.
>
> Jody
> *
> *
> *
> *
>
>
>
>
> --
> *Bubbleware Technology* | www.bubblewaretechnology.com |
> [email protected] | 913-735-6053
>
>
>


-- 
"We are dreamers, shapers, singers and makers..."
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to