Using Project Wonder frameworks in standalone war for jboss deployment
Using Project Wonder frameworks in standalone war for jboss deployment
- Subject: Using Project Wonder frameworks in standalone war for jboss deployment
- From: D Tim Cummings <email@hidden>
- Date: Thu, 25 May 2006 20:51:04 +1000
When setting up my project in xcode and selecting standalone war, there was an instruction that custom frameworks must be built as jars. How do you do that? For example, if I am looking at ERJavaMail.framework, I am guessing I need to take the ERJavaMail.jar from ERJavaMail.framework/Resources/Java/ as my starting point and put it in /Library/WebObjects/lib. Then I have to add the Resources and WebServerResources directories into the ERJavaMail.jar. However, that doesn't work because the additional jar files (activation, jakarta-oro, mail) in the ERJavaMail.framework/Resources/Java/ directory are not in the class path. I took them out of the framework and put them in /Library/WebObjects/lib but xcode decided not to add them to the war when it built it. I then put them in my project's /Servlet Resources/WEB-INF/lib and that seemed to work but then I haven't really built the whole framework as a single jar.
Here are my shell commands showing what I did.
cp -R /Library/Frameworks/ERJavaMail.framework /Library/WebObjects/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/ERJavaMail.jar /Library/WebObjects/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/activation-1.0.2.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/jakarta-oro-2.0.6.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib mv /Library/WebObjects/lib/ERJavaMail.framework/Resources/Java/mail-1.3.jar ~/MyProject/Servlet\ Resources/WEB-INF/lib cd /Library/WebObjects/lib/ERJavaMail.framework jar uvf ../ERJavaMail.jar * cd .. rm -R ERJavaMail.framework
Thanks in advance for any help
Regards
D Tim Cummings Triptera Pty Ltd |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden