CDV ❯ mvn tc:run fails under Windows with path problems
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
Build & Test
-
-
hhuynh
-
Reporter: gkeim
-
October 19, 2007
-
0
-
Watchers: 0
-
October 23, 2007
-
October 23, 2007
Description
On Windows the a maven project created using maven-tc-plugin webapp-archetype fails to run due to a few problems with paths in the command generated to build the bootjar and run the client webapp.
1) By default my local maven repo lives at C:\Documents and Settings\gkeim.m2\repository and this is being used in the tc.session.classpath in an unescaped/quoted way 2) The classpath used when invoking bootjartool is over 8K long and this results in failure.
To reproduce create a new tc webapp project:
% mvn archetype:create -DgroupId=org.acme -DartifactId=webapp -DarchetypeGroupId=org.terracotta.maven.archetypes -DarchetypeArtifactId=webapp-archetype -DarchetypeVersion=1.0-SNAPSHOT % mvn tc:run
Comments
Hung Huynh 2007-10-19
Hung Huynh 2007-10-23
closed as dup
I fixed issue (1) Issue (2) is a dup of CDV-460