|
|
|
Raghuveer Rawat-2
|
Hi, I want to download full source code for appfuse 2.0.1 but getting exception..
I have maven installed and then I ran below command and I ran successfully. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/releases After that I ran mvn appfuse:full-source from myproject directory but I am getting below exception. I donn't see any source code under myproject. How should I proceed? Am I missing something? Downloading: http://repo1.maven.org/maven2/org/apache/commons/commons-io/1.3.2/c ommons-io-1.3.2.jar 85K downloaded [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null Illegal character in path at index 18: file:/C:/Documents and Settings/Raghu Raw at/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162) at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:11 9) at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90) at org.apache.tools.ant.Project.setAntLib(Project.java:313) at org.apache.tools.ant.Project.initProperties(Project.java:309) at org.apache.tools.ant.Project.init(Project.java:295) at org.appfuse.mojo.installer.AntUtils.createProject(AntUtils.java:47) at org.appfuse.mojo.installer.InstallSourceMojo.<init>(InstallSourceMojo .java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn stance(JavaComponentFactory.java:44) at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De faultPlexusContainer.java:1464) at org.codehaus.plexus.component.manager.AbstractComponentManager.create ComponentInstance(AbstractComponentManager.java:93) at org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo mponent(PerLookupComponentManager.java:48) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai ner.java:331) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai ner.java:440) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul tPluginManager.java:566) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:425) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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.net.URISyntaxException: Illegal character in path at index 18: f ile:/C:/Documents and Settings/Raghu Rawat/.m2/repository/org/apache/ant/ant/1.7 .0/ant-1.7.0.jar at java.net.URI$Parser.fail(URI.java:2816) at java.net.URI$Parser.checkChars(URI.java:2989) at java.net.URI$Parser.parseHierarchical(URI.java:3073) at java.net.URI$Parser.parse(URI.java:3021) at java.net.URI.<init>(URI.java:578) at java.net.URI.create(URI.java:840) ... 43 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 44 seconds [INFO] Finished at: Sun Jan 27 15:24:39 EST 2008 [INFO] Final Memory: 5M/11M |
||||||||||||||||
|
mraible
|
Some javascript/style in this post has been disabled (why?)
This happens only on Windows - caused by a bug in Ant 1.7. The easiest workaround is to run full-source on Linux or OS X. If you're unable to do that, let me know and I'll send you another workaround (you can also search this lists archives for a solution).Matt On 1/27/08, Raghuveer Rawat <[hidden email]> wrote: Hi, I want to download full source code for appfuse 2.0.1 but getting exception.. |
||||||||||||||||
|
Raghuveer Rawat-2
|
Thanks Matt, I have only Windows XP on my system and don't have access to other OS.
Can you pl. tell me about other workaround? On Jan 27, 2008 5:29 PM, Matt Raible <[hidden email]> wrote: This happens only on Windows - caused by a bug in Ant 1.7. The easiest workaround is to run full-source on Linux or OS X. If you're unable to do that, let me know and I'll send you another workaround (you can also search this lists archives for a solution). |
||||||||||||||||
|
Simon Sinnott
|
In reply to this post
by Raghuveer Rawat-2
Some javascript/style in this post has been disabled (why?)
Hi,It is kicking up over the space in the file path. I moved all my source to a directory with no spaces and it seems to work fine. I also moved the maven repository in there as well (eg. c:\projects\.m2). Make sure you change the settings.xml in the maven config to point to the new location. cheers Simon Raghuveer Rawat wrote: Hi, I want to download full source code for appfuse 2.0.1 but getting exception..--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
kace-2
|
In reply to this post
by Raghuveer Rawat-2
Hey fellas,
just installed appfuse jsf core 2.0.1 and getting the same issue with full source. I'm on windows xp and have moved the repository to an appropriate directory aswell as updating the settings.xml file - searched through the forum and applied the suggestions but I am still unable to get full-source working. What else can I do? Also Matt, you blogged about the new maven feature: creating an archive from an existing project - how do you do that? Regards, ..kace |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |