Page 1 of 1

Help with configuration setup

Posted: Fri Jun 22, 2012 12:04 pm
by simpltn
Hi all,

I am attempting my first setup. Could you please assist me here? I am trying load the ant build files (admin-war and site-war). I get the message below. Clearly I have done something wrong.

I do not understand why "Program FilesApacheapache-maven..." is appended and missing slashes. Did i configure the maven.home variable in build.properties file incorrectly? I have details below. Thank you for any insights!

Gregg

build.properties

Code: Select all

#required
maven.home=C:\Program Files\Apache\apache-maven-3.0.4
#optional
jrebel.path=/Applications/ZeroTurnaround/JRebel-4.0.3/jrebel.jar
yourkit.agent.path=/Applications/YourKit_Java_Profiler_9.0.9.app/bin/mac/


command line output

Code: Select all

C:\Documents and Settings\MyName\My Documents\NetBeansProjects\mavenprojec
t2\myecommerce-app\admin-war>ant
Buildfile: C:\Documents and Settings\MyName\My Documents\NetBeansProjects\
mavenproject2\myecommerce-app\admin-war\build.xml

build-app:

BUILD FAILED
C:\Documents and Settings\MyName\My Documents\NetBeansProjects\mavenprojec
t2\myecommerce-app\admin-war\build.xml:112: C:\Documents and Settings\MyName\My Documents\NetBeansProjects\mavenproject2\myecommerce-app\admin-war\Program
 FilesApacheapache-maven-3.0.4\boot does not exist.

Total time: 0 seconds

Re: Help with configuration setup

Posted: Fri Jun 22, 2012 12:16 pm
by simpltn
Sometimes the obvious alludes me. I solved issue by doubling up on slashes:

Code: Select all

#required
maven.home=C:\\Program Files\\Apache\\apache-maven-3.0.4
#optional
jrebel.path=/Applications/ZeroTurnaround/JRebel-4.0.3/jrebel.jar
yourkit.agent.path=/Applications/YourKit_Java_Profiler_9.0.9.app/bin/mac/


Problem solved! Sorry.