mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
Hi,
I'm trying to configure Eclipse to deploy projects directly from Eclipse.
A problem was the webcontent folder generated by CaptainCasa, when deploying from Eclipse
on Tomcat this folder is generated too. So I changed the folder structure, I integrated the content of
the webcontent folder to the root folder. Now the structure on TomCat is ok.
Next step was to configure the myFirstAppl.xml (C:\EnterpriseClient\tools\embeddedserver\webapps\editor\config\projects)
I removed the the webcontent from the entries, so the content of the file looks like this:
<project webcontentdirectory="C:\Projekte\CaptainCasa\myFirstApp\WEB-INF"
webcontentdeploydirectory="c:/EnterpriseClient/server/tomcat/webapps/myFirstApp"
webcontextroot="myFirstApp"
javasourcedirectory="C:\Projekte\CaptainCasa\myFirstApp\src"
copywebapp="true"
reloadwebapp="true"
webhostport="localhost:50000">
</project>
Now it was possible to work with the Development Tool, everything looks fine, except, when I try
to create a new managed Bean.
Then the program tries to create the file in: C:/Projekte/CaptainCasa/myFirstApp/../src//managedbeans/SampleUI.java
The right place would be:
C:/Projekte/CaptainCasa/myFirstApp/src//managedbeans/SampleUI.java
So I didn't find the place where I could influence this path?
Or is there another way, for example that I configure Eclipse to move the /webcontent folder to Tomcat Project root folder?
regards
Markus
|