I'm trying a release:perform for my Maven application and it fails when is doing a Mercurial checkout as part of the process. Trying the same command from the command prompt, fails but provides more details:
hg clone -r Simple-Marauroa-0.02.05 https://javydreamercsw@bit
bucket.org/javydreamercsw/simple-marauroa-java "Z:\NetBeans\Simple Marauroa\Simp
le Marauroa Java\Simple Marauroa Parent\target\checkout"
adding changesets
adding manifests
adding file changes
added 226 changesets with 3379 changes to 2264 files
updating to branch default
abort: Z:\NetBeans\Simple Marauroa\Simple Marauroa Java\Simple Marauroa Parent\t
arget\checkout\Simple Marauroa Parent/Card Game Interface DataBase Implementatio
n/src/main/java/com/reflexit/magiccards/core/storage/database/controller/CardCol
lectionHasCardJpaController.java: The system cannot find the path specified
At first I thought that the file was not in the repository, but it is. If you wonder Z, is an USB drive, but I have been able to release smaller projects from the same drive. Performing the same command on my desktop works fine.
This is done on Windows 7 and it seems related the long path I guess.
Any idea?
Using the workingDirectory parameter with a local, shorter path like C:\checkout, did the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With