* in maven.xml:
<goal name="mevenide:init" description="Copy eclipse dependencies to maven.repo.local if necessary">
<util:file var="installScript" name="${basedir}/install-dependencies.xml"/>
<j:include file="${installScript}"/>
</goal>
* and the contents of install-dependencies.xml has: <?xml version="1.0"?> <j:jelly xmlns:ant="jelly:ant" xmlns:j="jelly:core">
<!-- set eclipse.home property --> <ant:property environment="env"/> <ant:property name="eclipse.home" location="${env.ECLIPSE_HOME}"/>
<!-- find swt.plugin.dir --> <ant:available property="swt.plugin.dir" value="org.eclipse.swt.gtk_3.0.0/ws/gtk"
file="${eclipse.home}/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar"/> ...
Everytime I try to do a maven mevenide:build-all I get the following:
[EMAIL PROTECTED] mevenide-master]$ maven -e mevenide:build-all __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
BUILD FAILED
org.apache.commons.jelly.JellyTagException: file:/usr/local/eclipse/mevenide/test/mevenide-master/install-dependencies.xml:5:35: <ant:property> java.lang.StackOverflowError
at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:702)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:634)
at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:595)
at org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:147)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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 com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.StackOverflowError
Root cause
java.lang.StackOverflowError
Root cause
java.lang.StackOverflowError
File...... file:/usr/local/eclipse/mevenide/test/mevenide-master/
Element... j:include
Line...... 21
Column.... 41
file:/usr/local/eclipse/mevenide/test/mevenide-master/install-dependencies.xml:5:35: <ant:property> java.lang.StackOverflowError
Total time: 11 seconds
Finished at: Sun Oct 05 12:57:34 EDT 2003
I have tried this under both maven-1.0-beta10 and rc1 (on linux, java 1.4.2-b28), and have tried it as various users to see if it was bad environment data or something. Any clues what might be going on? I do not think it is a maven problem, but rather for our maven.xml script or project def. All attached.
jeff
-- Jeffrey Bonevich Ann Arbor, Michigan bonevich at covad dot net jeff at bonevich dot com http://www.bonevich.com
"Make me a fire and I'm warm for a night. Set me on fire and I'm warm for the rest of my life." - Ancient Didactical Saying
<?xml version="1.0" encoding="UTF-8"?>
<project> <pomVersion>3</pomVersion> <groupId>mevenide</groupId> <currentVersion>0.1</currentVersion> <logo>/images/mevenide-logo.jpg</logo> <organization> <name>Sourceforge</name> <url>http://sf.net/</url> <logo>http://sourceforge.net/sflogo.php?group_id=54263&type=5</logo> </organization> <inceptionYear>2003</inceptionYear> <package>org.mevenide</package> <!-- url>http://mevenide.sf.net/${pom.artifactId}/</url --> <url>http://mevenide.sf.net</url> <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=54263&atid=473195</issueTrackingUrl> <siteAddress>shell.sourceforge.net</siteAddress> <!-- siteDirectory>/home/groups/m/me/mevenide/htdocs</siteDirectory --> <siteDirectory>${user.home}/.mevenide/${pom.artifactId}</siteDirectory> <repository> <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/mevenide:${pom.artifactId}</connection> <developerConnection>scm:cvs:ext:[EMAIL PROTECTED]:/cvsroot/mevenide:${pom.artifactId}</developerConnection> <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mevenide/${pom.artifactId}/</url> </repository> <versions> <version> <id>ea</id> <name>0.1-ea</name> <tag>V_0_1_ALPHA_1</tag> </version> <version> <id>alpha-1</id> <name>0.1-alpha-A</name> <tag>V_0_1_ALPHA_1_1</tag> </version> </versions> <mailingLists> <mailingList> <name>Mevenide User List</name> <subscribe>[EMAIL PROTECTED]</subscribe> <unsubscribe>[EMAIL PROTECTED]</unsubscribe> <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=9925</archive> </mailingList> <mailingList> <name>Mevenide Developer List</name> <subscribe>[EMAIL PROTECTED]</subscribe> <unsubscribe>[EMAIL PROTECTED]</unsubscribe> <archive>http://sourceforge.net/mailarchive/forum.php?forum_id=10398</archive> </mailingList> </mailingLists> <developers> <developer> <name>Gilles Dodinet</name> <id>gdodinet</id> <email>[EMAIL PROTECTED]</email> <organization/> <roles> <role>Developer Java</role> </roles> <timezone>GMT+1</timezone> </developer> <developer> <name>Jeffrey Bonevich</name> <id>jbonevic</id> <email>[EMAIL PROTECTED]</email> <organization/> <roles> <role>Developer Java</role> </roles> <url>http://www.bonevich.com/index.php</url> <timezone>-4</timezone> </developer> </developers> <build> <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress> <sourceDirectory>src/java</sourceDirectory> <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory> <aspectSourceDirectory>src/aspects</aspectSourceDirectory> <unitTest> <includes> <include>**/*Test.java</include> </includes> <resources> <resource> <directory>${basedir}/etc</directory> <includes> <include>**/*.*</include> </includes> </resource> <resource> <directory>${basedir}/src/test/etc</directory> <includes> <include>**/*.*</include> </includes> </resource> <resource> <directory>${basedir}/src/test/etc</directory> <includes> <include>fixtures/*.*</include> </includes> </resource> <resource> <directory>${basedir}/src/test/conf</directory> <includes> <include>**/*.*</include> </includes> </resource> <resource> <directory>${basedir}/etc</directory> <includes> <include>*.*</include> <include>META-INF/services/*.*</include> <include>templates/**/*.*</include> </includes> </resource> </resources> </unitTest> <resources> <resource> <directory>${basedir}/etc</directory> <includes> <include>*.*</include> </includes> </resource> <resource> <directory>${basedir}/etc</directory> <includes> <include>META-INF/services/*.*</include> </includes> </resource> </resources> </build> <reports> <report>maven-jdepend-plugin</report> <report>maven-checkstyle-plugin</report> <report>maven-changes-plugin</report> <report>maven-changelog-plugin</report> <!-- report>maven-findbugs-plugin</report --> <report>maven-file-activity-plugin</report> <report>maven-developer-activity-plugin</report> <report>maven-javadoc-plugin</report> <report>maven-jxr-plugin</report> <report>maven-junit-report-plugin</report> <report>maven-tasklist-plugin</report> <!-- report>maven-jcoverage-plugin</report --> <!-- report>maven-jellydoc-plugin</report --> <report>maven-pmd-plugin</report> <!-- report>maven-simian-plugin</report --> <report>maven-faq-plugin</report> <report>maven-multiproject-plugin</report> </reports> </project>
<?xml version="1.0"?> <j:jelly xmlns:ant="jelly:ant" xmlns:j="jelly:core"> <ant:filterset id="project.ids.filterset.id"> <ant:filter token="org.mevenide.core.id" value="${org.mevenide.core.id}"/> <ant:filter token="org.mevenide.grabber.id" value="${org.mevenide.grabber.id}"/> <ant:filter token="org.mevenide.ui.eclipse.id" value="${org.mevenide.ui.eclipse.id}"/> <ant:filter token="org.mevenide.eclipse.feature.id" value="${org.mevenide.eclipse.feature.id}"/> </ant:filterset> <ant:filterset id="project.versions.filterset.id"> <ant:filter token="org.mevenide.core.version" value="${org.mevenide.core.version}"/> <ant:filter token="org.mevenide.grabber.version" value="${org.mevenide.grabber.version}"/> <ant:filter token="org.mevenide.ui.eclipse.version" value="${org.mevenide.ui.eclipse.version}"/> <ant:filter token="org.mevenide.eclipse.feature.version" value="${org.mevenide.eclipse.feature.version}"/> </ant:filterset> <ant:filterset id="${maven.eclipse.plugin.filterset.id}"> <ant:filterset refid="project.versions.filterset.id"/> <ant:filterset refid="project.ids.filterset.id"/> </ant:filterset> </j:jelly>
<?xml version="1.0"?> <j:jelly xmlns:ant="jelly:ant" xmlns:j="jelly:core"> <!-- set eclipse.home property --> <ant:property environment="env"/> <ant:property name="eclipse.home" location="${env.ECLIPSE_HOME}"/> <!-- find swt.plugin.dir --> <ant:available property="swt.plugin.dir" value="org.eclipse.swt.gtk_3.0.0/ws/gtk" file="${eclipse.home}/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar"/> <ant:available property="swt.plugin.dir" value="org.eclipse.swt.gtk1x_3.0.0/ws/gtk1x" file="${eclipse.home}/plugins/org.eclipse.swt.gtk1x_3.0.0/ws/gtk1x/swt.jar/swt.jar"/> <ant:available property="swt.plugin.dir" value="org.eclipse.swt.motif_3.0.0/ws/motif" file="${eclipse.home}/plugins/org.eclipse.swt.motif_3.0.0/ws/motif/swt.jar"/> <ant:available property="swt.plugin.dir" value="org.eclipse.swt.photon_3.0.0/ws/photon" file="${eclipse.home}/plugins/org.eclipse.swt.photon_3.0.0/ws/photon/swt.jar"/> <ant:available property="swt.plugin.dir" value="org.eclipse.swt.win32_3.0.0/ws/win32" file="${eclipse.home}/plugins/org.eclipse.swt.win32_3.0.0/ws/win32/swt.jar"/> <!-- ensure that all dependencies are present in the repository by copying all needed eclipse-plugins jars --> <ant:copy file="${eclipse.home}/plugins/org.eclipse.core.resources_3.0.0/resources.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-resources-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.debug.core_3.0.0/dtcore.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-dtcore-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.debug.ui_3.0.0/dtui.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-dtui-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.jdt.core_3.0.0/jdtcore.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-jdtcore-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.jdt.ui_3.0.0/jdt.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-jdt-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.jdt.launching_3.0.0/launching.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-launching-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.help_3.0.0/help.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-help-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.jface_3.0.0/jface.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-jface-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.jface.text_3.0.0/jfacetext.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-jfacetext-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.text_3.0.0/text.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-text-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.core.runtime_3.0.0/runtime.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-runtime-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.ui.workbench_3.0.0/workbench.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-workbench-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.ui.workbench.texteditor_3.0.0/texteditor.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-texteditor-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.ui.views_3.0.0/views.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-views-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.ui.editors_3.0.0/editors.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-editors-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/org.eclipse.ui.externaltools_3.0.0/externaltools.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-externaltools-3.0.0.jar"/> <ant:copy file="${eclipse.home}/plugins/${swt.plugin.dir}/swt.jar" tofile="${maven.repo.local}/eclipse/jars/eclipse-swt-3.0.0.jar"/> </j:jelly>
<project default="build-all" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:util="jelly:util" xmlns:ant="jelly:ant"> <goal name="mevenide:install-maven-eclipse-plugin-plugin" description="Checkout maven-eclipse-plugin-plugin from cvs and install it"> <attainGoal name="scm:checkout-project"/> <util:file var="mavenEclipsePluginPluginPom" name="${maven.scm.checkout.dir}/maven-plugins/maven-eclipse-plugin-plugin/project.xml"/> <maven:maven descriptor="${mavenEclipsePluginPluginPom}" goals=" plugin:install,plugin:deploy"/> </goal> <goal name="mevenide:clean"> <ant:delete dir="${maven.repo.local}/eclipse" quiet="true"/> <ant:delete dir="${maven.repo.local}/mevenide" quiet="true"/> </goal> <goal name="mevenide:init" description="Copy eclipse dependencies to maven.repo.local if necessary"> <util:file var="installScript" name="${basedir}/install-dependencies.xml"/> <j:include file="${installScript}"/> </goal> <goal name="mevenide:build-all" description="Build all Mevenide modules" prereqs="mevenide:init"> <attainGoal name="multiproject:goal"/> <attainGoal name="mevenide:create-update-dist"/> </goal> <goal name="mevenide:create-update-dist" prereqs="mevenide:init" description="Build Eclipse plugin update site"> <util:file var="updateSiteProjectDescriptor" name="${mevenide.eclipse.update.project.location}/project.xml"/> <maven:maven descriptor="${updateSiteProjectDescriptor}" goals="eclipse-plugin:create-artifact-dist"/> </goal> <goal name="mevenide:build-core" description="Build Mevenide-core module"> <util:file var="mevenideCoreProjectdescriptor" name="${mevenide.core.project.location}/project.xml"/> <maven:maven descriptor="${mevenideCoreProjectdescriptor}" goals="clean,jar:install"/> </goal> <goal name="mevenide:build-site" description="Build Mevenide Site"> <j:set var="maven.multiproject.excludes" value="${maven.multiproject.excludes}"/> <j:set var="maven.multiproject.includes" value="${maven.multiproject.includes},${mevenide.eclipse.plugin.project.location}/project.xml"/> <attainGoal name="multiproject:site"/> </goal> <goal name="mevenide:wiki"> <j:set var="goal" value="wiki"/> <attainGoal name="multiproject:goal"/> </goal> <preGoal name="eclipse-plugin:install-artifact"> <util:file var="filters" name="${mevenide.master.project.location}/init-filtersets.xml"/> <j:include file="${filters}"/> </preGoal> </project>
<?xml version="1.0" encoding="UTF-8"?> <project> <extend>${basedir}/base-project.xml</extend> <pomVersion>3</pomVersion> <name>Mevenide Master</name> <id>mevenide-master</id> <artifactId>mevenide-master</artifactId> <currentVersion>0.2-SNAPSHOT</currentVersion> <url>http://mevenide.sf.net/</url> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]