Re: Using chrome in different jar than main()
Gerald Bauer <[email protected]> Wed, 28 Jan 2004 01:05:46 -0800 (PST)
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hello R. Dale Asberry, > Since Installer DeLux is intended to be used as a > library, the chrome files > will be packaged in another jar representing the > software to be installed. > > How should the properties below be defined for this > situation? > > chrome=installer > chrome.installer=? > > In Eclipse, chrome.installer is the fully qualified > path name to the chrome > directory, e.g., > file://c:/java/eclipse/workspace/judyinstaller/chrome > > I've tried variations on jar://judy-installer.jar > without success. Maybe > I'm missing something? I'm not sure why you want to use properties instead of configuring the chrome loader directly. > jar://judy-installer.jar If you want to load the chrome from a jar and you don't know the file location in advance than you need to use the class:// protocol e.g. class://ChromeAnchor/.. Note, that if you bundle your chrome not as a standalone jar but with your Java bytecode classes you don't need to create a resource anchor class because you can use any of the bundled classes as a resource anchor. See http://luxor-xul.sourceforge.net/notes.html and http://rachel.sourceforge.net for details. Let me know if this makes sense to you. - Gerald ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn