Okay, it's 6 months later and I'm still fighting this. I had it
working at one point, but now it's back to not working again.
I have everything entered properly in the build settings for
Deployment, but it is still using the default "/Library/JBoss/3.2/
deploy" location for SERVLET_WEBAPPS_DIR.
I've dug into the .xcodeproj package and opened the project.pbxproj
and sure enough, the SERVLET_WEBAPPS_DIR is pointing to the JBoss
directory. My settings are in there too, but it is obviously ignoring
them.
I've even tried recreating the project from scratch with the default
settings. Here's the settings I've added myself on top of a default
D2JC, True WAR XCode project:
SERVLET_COPY_JARS = YES
SERVLET_SINGLE_DIR_DEPLOY = NO
SERVLET_STUB_WAR = NO
SERVLET_TRUE_WAR = YES
SERVLET_DEPLOY_LICENSE = <my deployment license>
SERVLET_WEBAPPS_DIR = /Library/Tomcat/webapps
Am I missing something?
Dave
On Dec 8, 2005, at 2:17 PM, Thomas Pelaia II wrote:
Dave,
I don't have any of those problems. I am deploying to JBoss.
1) SERVLET_WEBAPPS_DIR should work, but be sure to set it in the
configuration (popup menu in the target) which you are specifying
for your build
2) Be sure to also specify "SERVLET_SINGLE_DIR_DEPLOY = NO" so that
WebObjects frameworks will be included in your WAR file
3) Make sure you configure your JNDI settings appropriately for
database access via EOModel
-tom
On Dec 8, 2005, at 3:05 PM, webobjects-deploy-
[EMAIL PROTECTED] wrote:
Date: Thu, 8 Dec 2005 14:20:11 +0000
From: David Avendasora <[EMAIL PROTECTED]>
Subject: Building a true WAR
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Hi all,
I'm having a problem with my deployment build.
First of all, it is ignoring my SERVLET_WEBAPPS_DIR build setting and
putting it in /Library/JBoss/3.2/deploy even though I have it set
to /
Library/Tomcat/webapps
Second, even though I'm using SERVLET_TRUE_WAR = TRUE, I'm only
ending up with a 13MB WAR file. When I built it under Xcode 2.1, it
was nearly 30MB so I know I'm missing stuff.
Third, On my development box, once I copy the WAR over and deploy it
in Tomcat, when I launch it using the JNLP (it's a Java Client app
using WebStart) it launches, but refuses to pull any data from the
database. I'm not getting any error in the logs at all. It just
doesn't populate any of the drop-downs and won't return any results
from a query.
Any ideas of what I'm doing wrong or if these are existing issues in
Xcode 2.2?
Thanks,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]