| Author |
Message |
|
|
Post subject: Deployment of web application which uses different output
Posted: Apr 22, 2005 - 02:20 PM
|
|
Registered Member


Joined: Sep 08, 2004
Posts: 24
|
|
I use maven to build my applications so i follow the folder structure for maven i.e my build classes go to target/classes for my web application
now i would like to use MyEclipse deployment for testing instead of running maven targets but i think myeclipse is always looking for the classes in the ${webroot}/WEB-INF/classes folder as this is what is setup by default in myeclipse is there any way to make the plugin look for a differnent ouput folder in my project properties the output of classes is set to target/classes
cheers
-Stephn |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 22, 2005 - 02:44 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
Stephn,
Yes, you can adjust the Output folder on your Java Build Path project settings, however you won't be able to use the MyEclipse deployment tool correctly if your classes are in a custom location like this. Although I imagine you have custom Ant scripts to handle all this, so it might not be too bad? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 22, 2005 - 02:48 PM
|
|
Registered Member


Joined: Sep 08, 2004
Posts: 24
|
|
is there any way to tell the deployment tool where the classes are located or is that hardcoded into the tool ?
oops spell mistake on name :-)
-Stephen |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 22, 2005 - 03:11 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
| Quote: |
is there any way to tell the deployment tool where the classes are located or is that hardcoded into the tool ?
|
Not currently, this will be a huge focus we address in our 5.0 release, but for now your project (from the web root folder down) during development needs to be in an exploded WAR format for the best MyEclipse support. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 22, 2005 - 03:20 PM
|
|
Registered Member


Joined: Sep 08, 2004
Posts: 24
|
|
cheers keep up the good work
-Stephen |
|
|
| |
|
|
|
 |
|
|