JCAuthentication framework in SSDD
JCAuthentication framework in SSDD
- Subject: JCAuthentication framework in SSDD
- From: Benjamin J Doherty <email@hidden>
- Date: Mon, 16 Aug 2004 16:58:43 -0500
- Resent-date: Tue, 17 Aug 2004 08:07:59 -0500
- Resent-from: Benjamin J Doherty <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: List List Apple Webobjects <email@hidden>
Friends,
I'm using Java 1.4.2 Update 1 on Mac OS X 10.3.5 with WebObjects 5.2.2
and Xcode 1.5.
I know this has something to do with my inability to build frameworks
as JARs. However, I can't even get the Apple-provided
JCAuthentication.framework to build properly under Xcode as a "plain"
framework. When I try to build the project as SSDD with the framework
added, I get this predictable error:
=== Script ===
#!/bin/sh
# Create the run scripts and classpath files for all platforms
. "${BUILD_FILES_DIR}/CreateRunFiles.sh"
--- Output ---
Creating Mac OS server-side launch files...
Creating UNIX server-side launch files...
Creating Windows server-side launch files...
Creating crossplatform server-side launch files...
Creating Mac OS client-side launch files...
JavaWOJSPServlet.framework found, creating JSP/Servlet environment...
Setting Servlet mode to Development
Generating Servet classpath...
Creating WEB-INF structure...
Creating web.xml...
Creating WAR for JSP/Servlet Deployment in /Library/JBoss/3.2/deploy
Copying app jar into the WAR ...
Copying framework jars into the WAR ...
/Library/WebObjects/lib/JCAuthentication.jar cannot be found. Make
sure all necessary frameworks are built as JARs.
Then if I add the two jar files to the Frameworks group and instruct
Xcode to merge them as described in the ProjectBuilder for WebObjects
Developers documentation, I get an application that simply does not
work: no login is requested and the user is given immediate access to
the application. I suspect that this is because the JARs from the
frameworks ONLY contain the Java classes and none of the WO, API, or
XML files that are affected by the rule system.
How can I make this Apple sample framework into a JAR? Do I need to
add all the non-java-class material (WO, API, XML, Rules, etc.) to my
main project and then add the two JARs (Web Server and Application
Server versions) as frameworks? I looked at WODev and found something
in the FAQ which was not clearly addressing my problem. Please give me
any ideas on how I can move forward because I'm ready to deploy my
application on JBoss as soon as this problem is overcome!
Benjamin Doherty
Chicago, Illinois, U.S.A.
bjd at pobox dot com
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.