Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] uDig - Stable Branch?

So to report back.

1) basic product export (i.e. something that can run)

mvn clean install
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:31.182s

2) normal build (this builds a few more modules that our used by the SDK; but are not in the example uDig download)

mvn install -Dall

This initially failed as it referenced a couple of the source plugins; which were removed earlier this week as they can now be generated. Removing those from plugin/pom.xml and feature/pom.xml has things building again.

I then got the following:

[INFO] --- tycho-surefire-plugin:0.13.0:test (default-test) @ net.refractions.udig.ui.tests ---
[INFO] Adding repository http://download.eclipse.org/releases/indigo/
[INFO] Fetching p2.index (0B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (131B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] Adding repository http://download.eclipse.org/releases/indigo/
[INFO] Fetching p2.index (0B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (131B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] Adding repository http://download.eclipse.org/technology/babel/update-site/R0.9.1/indigo
[INFO] Adding repository http://download.eclipse.org/technology/babel/update-site/R0.9.1/indigo
[ERROR] PermGen space -> [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/OutOfMemoryError

I will commit the fixes mentioned above; and then try and figure out how to give this thing more memory?
-- 
Jody Garnett

On Sunday, 8 January 2012 at 3:38 PM, Jody Garnett wrote:

Can I ask what command line you guys are using? The base pom.xml lists a few options ...

-- 
Jody Garnett

On Sunday, 8 January 2012 at 12:23 PM, David Gill wrote:

Sounds good.  Let me know via email when you have the local build going.  I appreciate the offer around jumping on the free node IRC channel and I may take you up on it.  Once you get that build error I mentioned before resolved, I still need to try to solve an error on my end (that I believe is a config error unique to jenkins & uDig).  Frank & I were trying to solve it before that latest build had some issues.  If you are curious on this issue you can look here, http://ec2-50-19-55-166.compute-1.amazonaws.com/hudson/job/uDig/16/console.

In the meantime, I'll wait for your response on hacking at this.

Thanks again-
Dave

On Sat, Jan 7, 2012 at 7:42 PM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
I am actually working on it now :-)

Often if several people are hacking at the same time we keep the #udig IRC channel going on free node. If you like (after I get a local build going) I will check to see if you are around on IRC; and can answer your questions as you set up the build box.

The main guy who has been setting up the maven build system is Cliff Broadbent who returns from holiday tomorrow. So if we get stuck we can send him an email.
-- 
Jody Garnett

On Sunday, 8 January 2012 at 9:52 AM, David Gill wrote:

Hi Jody,

Thanks for the quick response on this.  I am new to your community here so I appreciate letting me know that it would be best to get involved with the udig-devel email list in the future for questions like this.

Let me know when you have this resolved. 

-Dave

P.S. I can definitely help you achieve your goal with the Jenkins server of knowing when a build is broken quickly (via e-mail).  Not sure if you've used Jenkins much before, but it's really nice to have & easy to maintain once set up. Let me know if you have any other questions/concerns.

On Sat, Jan 7, 2012 at 5:39 PM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
Hello David.

We should have this discussion on the udig-devel email list.

Last week people updated the SDK features that are responsible for generating source code.
I have not had a chance to test the maven build after this.

I will resolve this error and report back (as our goal with  a Jenkins server is to notice when the maven build is broken promptly).

Aside: 90% of the time the error is a difference in version number between the MANIFEST.MF and the pom.xml.

As developers change modules they are supposed to mark it with a new version number (for example I will update net.refractions.udig.libs to use version 1.3.2 today in anticipation of the next release; when I do that I will need to update both files).
-- 
Jody Garnett

On Sunday, 8 January 2012 at 2:12 AM, David Gill wrote:

Hi Jody,

I am working with Frank Gasdorf to create a Jenkins server that will automatically build the uDig project and facilitate continuous integration.  I think it will be a great benifit to everyone working on the uDig project once we get it working. 

I am however having some difficulty building the project as there appears to be build errors in some of the latest code out on gitHub.  Can you either fork a new stable branch for me to get this Jenkins instance working or perhaps fix these build errors?  I cannot use any of the current forks as it appears that maven was recently added to the project but was not present in these old forks (i.e. release).  Here is the latest build error I'm seeing (if you want to try to resolve it instead of forking a stable branch):
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]       
[ERROR]   The project net.refractions:plugins:1.3.0-SNAPSHOT (/usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/pom.xml) has 5 errors
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/net.refractions.udig_sdk.source of /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/net.refractions.udig_tutorials.source of /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/net.refractions.udig_platform.source of /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/net.refractions.udig_printing.source of /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/net.refractions.udig_application.source of /usr/local/hudson/hudson-home/jobs/uDig/workspace/plugins/pom.xml does not exist
[ERROR]       
[ERROR]   The project net.refractions:features:1.3.0-SNAPSHOT (/usr/local/hudson/hudson-home/jobs/uDig/workspace/features/pom.xml) has 6 errors
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/net.refractions.udig_sdk.source-feature of /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/net.refractions.udig_tutorials.source-feature of /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/net.refractions.udig_application.source-feature of /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/net.refractions.udig_base.source-feature of /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/net.refractions.udig_platform.source-feature of /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/pom.xml does not exist
[ERROR]     Child module /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/net.refractions.udig_printing.source-feature of /usr/local/hudson/hudson-home/jobs/uDig/workspace/features/pom.xml does not exist
[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/ProjectBuildingException

Thank you so much for your help and I look forward to working more with the uDig project.

-David Gill

--
Bubbleware Technology | www.bubblewaretechnology.com | david.gill@xxxxxxxxxxxxxxxxxxxxxxxx | 913-735-6053





--
Bubbleware Technology | www.bubblewaretechnology.com | david.gill@xxxxxxxxxxxxxxxxxxxxxxxx | 913-735-6053





--
Bubbleware Technology | www.bubblewaretechnology.com | david.gill@xxxxxxxxxxxxxxxxxxxxxxxx | 913-735-6053




Back to the top