[jboss-user] [JBoss Seam] - Cant build Seam from the CR1 download.

tony.herstell@gmail.com do-not-reply at jboss.com
Mon Dec 17 21:41:15 EST 2007


Just got back from a few months of enforced absence and tried to build the latest Seam so I could replace my old Libs with shiny new ones; but I cant... I get this...

Looked at the readme's and no help there...

Has something fundemental changed?


anonymous wrote : 
  | Buildfile: C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\build.xml
  | clean.lib:
  | clean:
  | clean:
  | initpoms:
  |      [echo] Setting up dependencies
  |     [mkdir] Created dir: C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  | [artifact:install] [INFO] Installing C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms\root.pom to C:\Documents and Settings\Tony\.m2\repository\org\jboss\seam\root\2.0.1.CR1\root-2.0.1.CR1.pom
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  | [artifact:install] [INFO] Installing C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms\parent.pom to C:\Documents and Settings\Tony\.m2\repository\org\jboss\seam\parent\2.0.1.CR1\parent-2.0.1.CR1.pom
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\poms
  | init:
  | initcore:
  |      [echo] Build JBoss Seam core 2.0
  |     [mkdir] Created dir: C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\coreclasses
  |      [copy] Copying 28 files to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\coreclasses
  | select-compiler:
  | antlr:
  | compilecore:
  |     [javac] Compiling 495 source files to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\classes\coreclasses
  |     [javac] Note: Some input files use or override a deprecated API.
  |     [javac] Note: Recompile with -Xlint:deprecation for details.
  |     [javac] Note: Some input files use unchecked or unsafe operations.
  |     [javac] Note: Recompile with -Xlint:unchecked for details.
  | jarcore:
  |       [jar] Building jar: C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\lib\jboss-seam.jar
  |       [jar] Building jar: C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\lib\src\jboss-seam-sources.jar
  | [artifact:install] [INFO] Installing C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\lib\jboss-seam.jar to C:\Documents and Settings\Tony\.m2\repository\org\jboss\seam\jboss-seam\2.0.1.CR1\jboss-seam-2.0.1.CR1.jar
  | [artifact:install] [INFO] Installing C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\lib\src\jboss-seam-sources.jar to C:\Documents and Settings\Tony\.m2\repository\org\jboss\seam\jboss-seam\2.0.1.CR1\jboss-seam-2.0.1.CR1-sources.jar
  | initui:
  | jarui:
  |      [copy] Copying 1 file to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\ui
  |      [java] [INFO] Scanning for projects...
  |      [java] [INFO] ----------------------------------------------------------------------------
  |      [java] [INFO] Building Seam JSF Controls
  |      [java] [INFO]    task-segment: [install]
  |      [java] [INFO] ----------------------------------------------------------------------------
  |      [java] [INFO] Preparing cdk:generate
  |      [java] [WARNING] Removing: generate from forked lifecycle, to prevent recursive invocation.
  |      [java] [INFO] [resources:resources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [WARNING] 
  |      [java] 	Artifact javax.faces:jsf-api:jar:1.2_04-p02:provided retains local scope 'provided' overriding broader scope 'compile'
  |      [java] 	given by a dependency. If this is not intended, modify or remove the local scope.
  |      [java] [WARNING] 
  |      [java] 	Artifact javax.el:el-api:jar:1.0:provided retains local scope 'provided' overriding broader scope 'compile'
  |      [java] 	given by a dependency. If this is not intended, modify or remove the local scope.
  |      [java] [INFO] [compiler:compile]
  |      [java] [INFO] Compiling 80 source files to C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\ui\target\classes
  |      [java] [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
  |      [java] [INFO] Setting property: velocimacro.messages.on => 'false'.
  |      [java] [INFO] Setting property: resource.loader => 'classpath'.
  |      [java] [INFO] Setting property: resource.manager.logwhenfound => 'false'.
  |      [java] [INFO] ************************************************************** 
  |      [java] [INFO] Starting Jakarta Velocity v1.4
  |      [java] [INFO] RuntimeInstance initializing.
  |      [java] [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
  |      [java] [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
  |      [java] [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
  |      [java] [INFO] ClasspathResourceLoader : initialization starting.
  |      [java] [INFO] ClasspathResourceLoader : initialization complete.
  |      [java] [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
  |      [java] [INFO] Default ResourceManager initialization complete.
  |      [java] [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
  |      [java] [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
  |      [java] [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
  |      [java] [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
  |      [java] [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
  |      [java] [INFO] Created: 20 parsers.
  |      [java] [INFO] Velocimacro : initialization starting.
  |      [java] [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
  |      [java] [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
  |      [java] [INFO] Velocimacro : error using  VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
  |      [java] [INFO] Velocimacro :  VM library template macro registration complete.
  |      [java] [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
  |      [java] [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
  |      [java] [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be  global in scope if allowed.
  |      [java] [INFO] Velocimacro : initialization complete.
  |      [java] [INFO] Velocity successfully started.
  |      [java] [INFO] [cdk:generate {execution: default}]
  |      [java] [INFO]  Parse config file C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\ui\src\main\config\component\button.xml
  |      [java] [ERROR] Error on generate component
  |      [java] org.ajax4jsf.builder.config.ParsingException: I/O error on parsing config file 
  |      [java] 	at org.ajax4jsf.builder.config.BuilderConfig.parseConfig(BuilderConfig.java:387)
  |      [java] 	at org.ajax4jsf.builder.mojo.GenerateMojo.createConfig(GenerateMojo.java:253)
  |      [java] 	at org.ajax4jsf.builder.mojo.GenerateMojo.execute(GenerateMojo.java:92)
  |      [java] 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
  |      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
  |      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
  |      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
  |      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
  |      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
  |      [java] 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
  |      [java] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
  |      [java] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
  |      [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
  |      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
  |      [java] 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  |      [java] 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
  |      [java] 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  |      [java] 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  |      [java] Caused by: java.net.MalformedURLException: unknown protocol: c
  |      [java] 	at java.net.URL.(URL.java:574)
  |      [java] 	at java.net.URL.(URL.java:464)
  |      [java] 	at java.net.URL.(URL.java:413)
  |      [java] 	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:650)
  |      [java] 	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
  |      [java] 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
  |      [java] 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
  |      [java] 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
  |      [java] 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
  |      [java] 	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
  |      [java] 	at org.apache.commons.digester.Digester.parse(Digester.java:1605)
  |      [java] 	at org.ajax4jsf.builder.config.BuilderConfig.parseConfig(BuilderConfig.java:384)
  |      [java] 	... 20 more
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [ERROR] BUILD ERROR
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Error in component generation
  |      [java] Embedded error: I/O error on parsing config file 
  |      [java] unknown protocol: c
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] For more information, run Maven with the -e switch
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Total time: 9 seconds
  |      [java] [INFO] Finished at: Tue Dec 18 15:34:48 NZDT 2007
  |      [java] [INFO] Final Memory: 19M/159M
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] Java Result: 1
  |    [delete] Deleting: C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\ui\pom.xml
  | 
  | BUILD FAILED
  | C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\build.xml:282: Warning: Could not find file C:\Documents and Settings\Tony\workspace\jboss-seam-2.0.1.CR1\ui\target\jboss-seam-ui.jar to copy.
  | 
  | Total time: 37 seconds
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113622#4113622

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113622



More information about the jboss-user mailing list