Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Trying to Build Jetty-7 (or 8) Under Windows.

Jesse McConnell wrote:
> you shouldn't need to touch the toolchain stuff, everything is
> operating off of released versions from there...
> 
> just checkout and build jetty-7 or jetty-8 and run 'mvn install'
> 
> if that doesn't work report the error and I'll fix it.
> 

OK, thanks for the help. I tried following those instructions with the
following results. The main error seems to be: "Caused by:
java.lang.IllegalArgumentException: Invalid syntax for version:
jetty-7.0.0.M4-SNAPSHOT"

Would I need to "clean" my maven repository due to the previous failures?

Thanks,
David


E:\Projects>svn co
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk .\jetty-7
A    .\jetty-7/jetty-aggregate
A    .\jetty-7/jetty-aggregate/jetty-plus

...

A    .\jetty-7/jetty-rewrite/src/main/config/etc/jetty-rewrite.xml
A    .\jetty-7/jetty-rewrite/pom.xml
 U   .\jetty-7
Checked out revision 426.

E:\Projects>

OK so far.

So trying:

E:\Projects>cd .\jetty-7

E:\Projects\jetty-7>mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-parent/10/jetty-parent-10.pom
14K downloaded  (jetty-parent-10.pom)
[INFO] Reactor build order:
[INFO]   Jetty :: Project

...

59K downloaded  (org.osgi.core-1.0.0.jar)
Downloading:
http://repo1.maven.org/maven2/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.jar
10K downloaded  (org.osgi.service.obr-1.0.1.jar)
42K downloaded  (kxml2-2.2.2.jar)
[INFO] [bundle:manifest {execution: default}]
java.lang.reflect.InvocationTargetException
        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:597)
        at aQute.lib.osgi.Macro.doCommand(Macro.java:185)
        at aQute.lib.osgi.Macro.doCommands(Macro.java:173)
        at aQute.lib.osgi.Macro.replace(Macro.java:120)
        at aQute.lib.osgi.Macro.process(Macro.java:64)
        at aQute.lib.osgi.Macro.process(Macro.java:80)
        at aQute.lib.osgi.Macro.process(Macro.java:50)
        at aQute.lib.osgi.Macro.process(Macro.java:45)
        at aQute.lib.osgi.Processor.getProperty(Processor.java:575)
        at aQute.lib.osgi.Analyzer.getVersionPolicy(Analyzer.java:1800)
        at aQute.lib.osgi.Analyzer.augmentVersion(Analyzer.java:1315)
        at aQute.lib.osgi.Analyzer.augmentImports(Analyzer.java:1224)
        at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:221)
        at aQute.lib.osgi.Builder.analyze(Builder.java:294)
        at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:286)
        at
org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:194)
        at
org.apache.felix.bundleplugin.ManifestPlugin.getManifest(ManifestPlugin.java:112)
        at
org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:66)
        at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:236)
        at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        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:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.IllegalArgumentException: Invalid syntax for
version: jetty-7.0.0.M4-SNAPSHOT
        at aQute.libg.version.Version.<init>(Version.java:45)
        at aQute.lib.osgi.Macro._version(Macro.java:625)
        ... 41 more

...

20K downloaded  (plexus-active-collections-1.0-beta-2.jar)
[INFO] [assembly:single {execution: default}]
[INFO] Reading assembly descriptor: config.xml
[INFO] Building jar:
E:\Projects\jetty-7\jetty-util\target\jetty-util-jetty-7.0.0.M4-SNAPSHOT-config.jar
[INFO] [install:install]
[INFO] Installing
E:\Projects\jetty-7\jetty-util\target\jetty-util-jetty-7.0.0.M4-SNAPSHOT.jar
to
E:\tools\.m2\repository2\org\eclipse\jetty\jetty-util\jetty-7.0.0.M4-SNAPSHOT\jetty-util-jetty-7.0.0.M4-SNAPSHOT.jar
[INFO] Installing
E:\Projects\jetty-7\jetty-util\target\jetty-util-jetty-7.0.0.M4-SNAPSHOT-config.jar
to
E:\tools\.m2\repository2\org\eclipse\jetty\jetty-util\jetty-7.0.0.M4-SNAPSHOT\jetty-util-jetty-7.0.0.M4-SNAPSHOT-config.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Jetty :: IO Utility
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
E:\Projects\jetty-7\jetty-io\src\main\resources
[INFO] Copying 1 resource
[INFO] [compiler:compile]
[INFO] Compiling 26 source files to
E:\Projects\jetty-7\jetty-io\target\classes
[INFO] [bundle:manifest {execution: default}]
java.lang.reflect.InvocationTargetException
        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:597)
        at aQute.lib.osgi.Macro.doCommand(Macro.java:185)
        at aQute.lib.osgi.Macro.doCommands(Macro.java:173)
        at aQute.lib.osgi.Macro.replace(Macro.java:120)
        at aQute.lib.osgi.Macro.process(Macro.java:64)
        at aQute.lib.osgi.Macro.process(Macro.java:80)
        at aQute.lib.osgi.Macro.process(Macro.java:50)
        at aQute.lib.osgi.Macro.process(Macro.java:45)
        at aQute.lib.osgi.Processor.getProperty(Processor.java:575)
        at aQute.lib.osgi.Analyzer.getVersionPolicy(Analyzer.java:1800)
        at aQute.lib.osgi.Analyzer.augmentVersion(Analyzer.java:1315)
        at aQute.lib.osgi.Analyzer.augmentImports(Analyzer.java:1224)
        at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:221)
        at aQute.lib.osgi.Builder.analyze(Builder.java:294)
        at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:286)
        at
org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:194)
        at
org.apache.felix.bundleplugin.ManifestPlugin.getManifest(ManifestPlugin.java:112)
        at
org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:66)
        at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:236)
        at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        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:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.IllegalArgumentException: Invalid syntax for
version: jetty-7.0.0.M4-SNAPSHOT
        at aQute.libg.version.Version.<init>(Version.java:45)
        at aQute.lib.osgi.Macro._version(Macro.java:625)
        ... 41 more
java.lang.reflect.InvocationTargetException
        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:597)
        at aQute.lib.osgi.Macro.doCommand(Macro.java:185)
        at aQute.lib.osgi.Macro.doCommands(Macro.java:173)
        at aQute.lib.osgi.Macro.replace(Macro.java:120)


--



Back to the top