geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Patel (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMODEVTOOLS-24) Clean checkout and build fails in geronimo-emf
Date Wed, 21 Dec 2005 00:58:32 GMT
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-24?page=comments#action_12361006
] 

Sachin Patel commented on GERONIMODEVTOOLS-24:
----------------------------------------------

I'm doing a simple replaceregexp call, replacing all occurances of PLUGINS_LOC with the ${basedir}
property.  Echoing out the basedir, the value is correct, containing all path seperators.
 However, the when the replace occurs, the updated file does not contain any of the "/"'s
from the basedir property value.  This is very strange.   I can try a different regexp implementation
class, but if that doesn't work, I'm not sure what to do. This replace needs to occur since
this value needs to be an absolute path on the filesystem.

> Clean checkout and build fails in geronimo-emf
> ----------------------------------------------
>
>          Key: GERONIMODEVTOOLS-24
>          URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-24
>      Project: Geronimo-Devtools
>         Type: Bug
>   Components: eclipse-plugin
>  Environment: Maven 1.0.2, WinXP, clean repo, new checkout of devtools trunk
>     Reporter: Donald Woods
>     Assignee: Sachin Patel
>     Priority: Blocker

>
> Fresh checkout of devtools/trunk with Maven 1.0.2 and 1.1beta2 fails.
> Using latest trunk code from 12/18.
> Tried to build with a clean repo and after building the AG 1.0 branch and it still fails
during the geronimo-emf compiles.
> Here is the first failure and the other 4 fail the same way -
> +----------------------------------------
> | Gathering project list assembly
> | Memory: 90M/128M
> +----------------------------------------
> Starting the reactor...
> Our processing order:
> geronimo-emf
> org.apache.geronimo.deployment.model
> org.apache.geronimo.devtools.eclipse.core
> org.apache.geronimo.deployment.model.edit
> org.apache.geronimo.feature
> org.apache.geronimo.installableruntime.feature
> org.apache.geronimo.source.feature
> org.apache.geronimo.runtime.v1
> org.apache.geronimo.j2ee.server.v1
> org.apache.geronimo.ui
> org.apache.geronimo.feature.source
> assembly
> +----------------------------------------
> | Executing jar:install geronimo-emf
> | Memory: 90M/128M
> +----------------------------------------
> Attempting to download junit-3.8.1.jar.
> 118K downloaded
> Attempting to download commons-jelly-tags-antlr-20030211.143720.jar.
> 7K downloaded
> Attempting to download antlr-2.7.2.jar.
> 349K downloaded
> multiproject:goal:
> build:start:
> java:prepare-filesystem:
> java:compile:
> importschemas:
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\openejb\jars\openejb-pkgen-builder-2.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\openejb\jars\openejb-builder-2.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-security-builder-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-naming-builder-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-web-builder-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-j2ee-builder-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-service-builder-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-j2ee-schema-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-connector-builder-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [unzip] Expanding: E:\Working\devtools\modules\eclipse-plugin\.maven\repository\geronimo\jars\geronimo-client-builder-1.0.jar
into E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\temp
>     [move] Moving 14 files to E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\schema
> codegen:
>     [copy] Copying 5 files to E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\emf
>     [copy] Copying 1 file to E:\Working\devtools\modules\eclipse-plugin\plugins\org.apache.geronimo.deployment.model
>     [copy] Copying 1 file to E:\Working\devtools\modules\eclipse-plugin\plugins\org.apache.geronimo.deployment.model.edit
>     [echo] Starting Workbench...
>     [java] Buildfile: E:\Working\devtools\modules\eclipse-plugin\geronimo-emf/build.xml
>     [java] 
>     [java] codegen:
>     [java] [emf.XSD2Java] >>> Generating E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\emf\dummy.genmodel
>     [java] [emf.XSD2Java] >>  Examining project 'org.apache.geronimo.deployment.model'
>     [java] [emf.XSD2Java] >>  Refreshing /org.apache.geronimo.deployment.model.
>     [java] [emf.XSD2Java] >>  Opening org.apache.geronimo.deployment.model.
>     [java] [emf.XSD2Java] >>  Generating packages
>     [java] [emf.XSD2Java] >>  Generating model META-INF/MANIFEST.MF
>     [java] [emf.XSD2Java] >>  Generating file /org.apache.geronimo.deployment.model/META-INF/MANIFEST.MF
>     [java] [emf.XSD2Java] >>  Opening folder /org.apache.geronimo.deployment.model/META-INF
>     [java] [emf.XSD2Java] >>  Generating model plugin.xml
>     [java] [emf.XSD2Java] >>  Generating file /org.apache.geronimo.deployment.model/plugin.xml
>     [java] [emf.XSD2Java] >>  Opening folder /org.apache.geronimo.deployment.model
>     [java] [emf.XSD2Java] >>  Generating model plugin.properties
>     [java] [emf.XSD2Java] >>  Generating file /org.apache.geronimo.deployment.model/plugin.properties
>     [java] [emf.XSD2Java] >>  Opening folder /org.apache.geronimo.deployment.model
>     [java] [emf.XSD2Java] >>  Examining old /org.apache.geronimo.deployment.model/plugin.properties
>     [java] [emf.XSD2Java] >>  Preparing new /org.apache.geronimo.deployment.model/plugin.properties
>     [java] [emf.XSD2Java] >>  Generating model build.properties
>     [java] [emf.XSD2Java] >>  Generating file /org.apache.geronimo.deployment.model/build.properties
>     [java] [emf.XSD2Java] >>  Opening folder /org.apache.geronimo.deployment.model
>     [java] [emf.XSD2Java] >>> Generating E:\Working\devtools\modules\eclipse-plugin\geronimo-emf\target\emf\geronimo-web.genmodel
>     [java] [emf.XSD2Java] >>  Examining project 'org.apache.geronimo.deployment.model'
>     [java] [emf.XSD2Java] >>  Refreshing /org.apache.geronimo.deployment.model.
>     [java] [emf.XSD2Java] >>  Opening org.apache.geronimo.deployment.model.
>     [java] [emf.XSD2Java] >>  Examining project 'org.apache.geronimo.deployment.model.edit'
>     [java] [emf.XSD2Java] >>  Refreshing /org.apache.geronimo.deployment.model.edit.
>     [java] [emf.XSD2Java] Usage arguments:
>     [java] [emf.XSD2Java]   [-platform | -data] <workspace-directory> 
>     [java] [emf.XSD2Java]   [-projects ] <project-root-directory> 
>     [java] [emf.XSD2Java]   [-dynamicTemplates] [-forceOverwrite | -diff]
>     [java] [emf.XSD2Java]   [-generateSchema] [-nonNLSMarkers]
>     [java] [emf.XSD2Java]   [-codeFormatting { default | <profile-file> } ]
>     [java] [emf.XSD2Java]   [-model] [-edit] [-editor]
>     [java] [emf.XSD2Java]   <genmodel-file>
>     [java] [emf.XSD2Java]   [ <target-root-directory> ]
>     [java] 
>     [java] [emf.XSD2Java] For example:
>     [java] 
>     [java] [emf.XSD2Java]   generate result/model/Extended.genmodel
>     [java] [emf.XSD2Java] org.eclipse.core.internal.resources.ResourceException: Invalid
project description.
>     [java] [emf.XSD2Java] 	at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:154)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.internal.resources.Project.create(Project.java:253)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.codegen.util.CodeGenUtil.findOrCreateContainer(CodeGenUtil.java:611)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.codegen.util.CodeGenUtil.findOrCreateContainer(CodeGenUtil.java:586)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.codegen.ecore.Generator.findOrCreateContainerHelper(Generator.java:395)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.codegen.ecore.Generator$1.run(Generator.java:296)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1739)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.codegen.ecore.Generator.run(Generator.java:371)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.generateCodeFromGenModel(GeneratorTask.java:337)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.ant.taskdefs.codegen.ecore.GeneratorTask.doExecute(GeneratorTask.java:255)
>     [java] [emf.XSD2Java] 	at org.eclipse.emf.ant.taskdefs.EMFTask.execute(EMFTask.java:71)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Task.perform(Task.java:364)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Task.perform(Task.java:364)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Task.perform(Task.java:364)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Target.execute(Target.java:341)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
>     [java] [emf.XSD2Java] 	at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>     [java] [emf.XSD2Java] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>     [java] [emf.XSD2Java] 	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:704)
>     [java] [emf.XSD2Java] 	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:582)
>     [java] [emf.XSD2Java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java] [emf.XSD2Java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
>     [java] [emf.XSD2Java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
>     [java] [emf.XSD2Java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
>     [java] [emf.XSD2Java] 	at java.lang.reflect.Method.invoke(Method.java:391)
>     [java] [emf.XSD2Java] 	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:494)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
>     [java] [emf.XSD2Java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java] [emf.XSD2Java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
>     [java] [emf.XSD2Java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
>     [java] [emf.XSD2Java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
>     [java] [emf.XSD2Java] 	at java.lang.reflect.Method.invoke(Method.java:391)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.launcher.Main.run(Main.java:973)
>     [java] [emf.XSD2Java] 	at org.eclipse.core.launcher.Main.main(Main.java:948)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message