Hello - When I run the following command in a TCC console: mvn -X install:install-file ^-DgroupId=org.eclipse ^-DartifactId=text ^-Dversion=3.5.0 ^-Dpackaging=jar ^-Dfile="P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins\ org.eclipse.text_3.5.0.v20100601-1300.jar" ... the command fails. When I run the same command in cmd.exe, it succeeds. For the future, I'd like to know what I can do to get TCC to behave like cmd.exe for this command. Thanks, Dan.
On Sat, 04 Jun 2011 16:38:27 -0400, daniel347x <> wrote:
|Hello - When I run the following command in a TCC console: mvn -X install:install-file ^-DgroupId=org.eclipse ^-DartifactId=text ^-Dversion=3.5.0 ^-Dpackaging=jar ^-Dfile="P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins\ org.eclipse.text_3.5.0.v20100601-1300.jar" ... the command fails. When I run the same command in cmd.exe, it succeeds. For the future, I'd like to know what I can do to get TCC to behave like cmd.exe for this command. Thanks, Dan.
What goes wrong?
Here are the arguments seen by an EXE started by CMD and then (same EXE) started
by TCC. I used an EXE (renamed MVN.EXE) that simply echoes its arguments. It
seems TCC and CMD start the program exactly the same way.
Hello - When I run the following command in a TCC console: mvn -X install:install-file ^-DgroupId=org.eclipse ^-DartifactId=text ^-Dversion=3.5.0 ^-Dpackaging=jar ^-Dfile="P:\_Dan\work\Eclipse\eclipse-java-helios-SR2-win32-x86_64\eclipse\plugins\ org.eclipse.text_3.5.0.v20100601-1300.jar" ... the command fails.
I wonder if TCC is interpreting a character in the command line, notably the caret. Try the command between back quotes, i.e. `mvn -X ... plugins\`.
--
Peter
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.