Sun blueprint : How to run petstore app

hi everyone,

ohh....finally it's worked for me.
I just downloaded javaee sdk with blueprints(~100mb) setup from sun website.
here is the link -
Then follow the instruction they given with blueprint's about page.
I didnt change anything in file. because default settings worked for me.
What i did was
1) Add /lib/ant/bin directory to your PATH environment variable
2) adde JAVA_HOME system variable and set it to "C:\Program Files\Java\jdk1.6.0_03".(dont put quotes)

Then open the cmd

3) Change to the blueprints/petstore/directory
4) Enter the command:
ant setup
ant run
This will build the application, deploy it on the application server, and then launch the project's URL in your default browser (for example http://localhost:8080/petstore).

That really worked for me and finall my browser automatically opend and dispaly index page of the petstore app !!!


No comments:

Post a Comment