> -----Original Message----- > From: Pierre Henry [mailto:phenry@;proconcept.ch] > Sent: Friday, November 08, 2002 2:31 AM > To: Jetspeed User List (E-mail) > Subject: build/deploy/war file and PSML database > > > Hi all ! > > I am quite new to the J2EE environment, and I have been trying > Jetspeed for > about two weeks now. I am impressed with the functionalities, and > until now > I could more or less easily make all the changes I wanted to do. > > But now I want to import the PSML in my db (Oracle 9i). I already > configured > Jetspeed to use Oracle for the user tables by modifying the > torque.properties file. I created the PSML-db tables using the sql script > provided with the distribution (psml-db-oracle.sql). Now the howto says I > have to run "ant import" from the /build dir. As I installed the war > release I haven't any build dir. > > So I have downloaded the source release, but I cant figure out exactly how > the building process is supposed to work. The thing is I would > like to keep > all the changes I already did to my installation (skins, connection to > Oracle, templates, etc...). The only thing I found was in the > "install" file > of the src release, it says to build using "ant war" and then to copy the > war into the tomcat/webapps dir. > > So I tried to first update all my modified .properties, .xreg and > .jsp files > into the src release, then delete the old release from tomcat, build witn > "ant war" and copy the new war file into tomcat. It seems to > work, with all > my changes kept. > > My first question is, is this the right method ? Is there another > way to do > it ? I guess I should now do all my changes to the src release, then build > and deploy the new war... I know this is more a general question about > bulding/deploying a web app, ant etc, but I would be grateful to > any help or > pointers to doc about this.
take a look at the Portlet Howto Tutorial for guidelines on deploying and separating your project resources from Jetspeed http://www.bluesunrise.com/jetspeed-docs/PortletHowTo.htm > > My second question is, I cannot do the psml-db importation. The build.xml > file doesn't contain any import target. Which build file should I use ? > (same question than Karen Davies in the "ant import command" thread). > The 'ant import' task was added after the 1.4a1 release. You can only run it if you check out from the cvs. The website instructions are current with the cvs, not the last release. With 1.4a1, the import will happen 'automatically' when you access jetspeed the first time. -- To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>
