Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] 1.2-RC2 Headless build failing

Morning James:
I'm trying to build 1.2-RC2, I followed the readme and the wiki page (http://udig.refractions.net/confluence/display/ADMIN/02+Development+Environment). but I'm getting nowhere!

Hrm that is no good.

I am a bit confused because these instructions are not for a headless build (indeed I am not sure a headless build works at all; or where the instructions are for it).

Just to confirm you have the eclipse modeling download, and you unzipped the dropins archive into your eclipse/dropins folder.

If I build from the command line using maven I get the ant error below. If I follow the wiki I get the ant error described in the first tips section (http://udig.refractions.net/confluence/display/ADMIN/08+Libs+Refresh.xml+Ant+Script#08LibsRefresh.xmlAntScript-Tips).

The link you describe is for the "failed to create task or type antlib:org.apache.maven.artifact.ant:remoteRepository" error; it means that your dropins.zip has not been unzipped into eclipse/dropins correctly. You should have a maven_ant_tasks jar in your dropins folder; can you check?

Yeah your stack trace is for something completely different; I have not dried running jesse's headless build scripts myself. My understand is that you can run eclipse on the command line and ask it to build. Jesse has some scripts that go beyond that and copy jres etc into the right place after.

Let us get your normal eclipse development environment set up first; and then we can ask Jesse about a headless build.

james@box@04:48 PM:~/dev/scm/udig/tags/1.2-RC2/extras/headlessbuild$ mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - net.refractions.udig:headlessbuild:jar:0.1-SNAPSHOT
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/james/dev/scm/udig/tags/1.2-RC2/extras/headlessbuild/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: default}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:script {execution: default}]
[INFO] Running target: Update()
[INFO] executing: 'svn update ../../'
[INFO] At revision 31712.
[INFO] Running target: App()
Buildfile: /home/james/dev/scm/udig/tags/1.2-RC2/extras/headlessbuild/./.antbuild1712264155598629274xml

init:
   [delete] Deleting: /home/james/tmp/udig-build/builds/1.2/plugins/net.refractions.udig/about.mappings
     [sync] Copying 1 file to /home/james/tmp/udig-build/builds/1.2/plugins

clean:

load_m2_deps:

BUILD FAILED
/home/james/dev/scm/udig/tags/1.2-RC2/extras/headlessbuild/.antbuild1712264155598629274xml:80: The following error occurred while executing this line:
/home/james/tmp/udig-build/builds/1.2/plugins/net.refractions.udig.libs/refresh.xml:32: artifact:dependencies doesn't support the "cacheDependencyRefs" attribute
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


Back to the top