Thread View: comp.sys.mac.programmer.codewarrior
1 messages
1 total messages
Started by Nick Emery
Wed, 11 Oct 2000 00:00
How do you insert a .jar file into a project's output .jar file?
Author: Nick Emery
Date: Wed, 11 Oct 2000 00:00
Date: Wed, 11 Oct 2000 00:00
32 lines
1880 bytes
1880 bytes
Hi, I'm trying to build a Web Application using CW6 on a Mac. This consists of .html, .jsp, .gif, .jpeg, .xml and .jar files in the standard Web Application Archive (.war) file. .war files are actually just .jar files with a different file type, and with a particular directory structure. I assumed that I could get CW6 to automatically generate the .war file from the various files and sources, and I have nearly succeeded... The problem I am having is this: if you include a .jar file into a CW6 project, and set its Merge Into Output property, the Java Linker merges the .jar file's contents into the resulting output file rather than inserting the .jar file into it with the appropriate directory structure. This is not what is required in a .war file. Is there any way to get CW6 to insert the .jar file instead? I've tried a number of approaches including a) changing the .jar file mapping to use the JAR Importer rather than the Java Linker b) changing the Mac file type and creator to be something other than ZIP /MWZP etc. I assumed that I would be able to do this with Class Wrangler, but curiously it too seems to suffer the same problem - always merging the contents of the .jar file rather than inserting the entire .jar file itself. --Nick
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads