Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] eclipse WTP WST automatic rebuild project context xml file resource param

Hi, I am new in WST.

I used to use the myproject.xml file to create a javax.sql.Datasource Resource. This was created in jakarta-tomcat-5.0.28/conf/Catalina/localhost/myproject.xml :

<?xml version='1.0' encoding='utf-8'?>
<Context path="/myproject" reloadable="true" docBase="Work
spaces/Default/myproject/web" workDir="Workspaces/Default/
myproject/work" >
<Logger className="org.apache.catalina.logger.SystemOutLogger" verbosity
="4" timestamp="true"/>
<Resource name="jdbc/myproject" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/myproject">
    <value>SELECT CURRENT_TIMESTAMP;</value>

But, now Eclipse rebuild this file automaticly everytime i restart tomcat, without th <Resource> definition.

There is another way to create the <Resource> or no re-build the myproject.xml file ?


Jose-Andres Alfaro
anexo 1762

Back to the top