Re: [Question] trinidad-skins.xml in a jar

2006-11-13 Thread Jeanne Waldman
Thanks Adam. see inline Adam Winer wrote: On 11/8/06, Jeanne Waldman [EMAIL PROTECTED] wrote: I have two questions about jar'ing up the skins. Let's say someone has jar'd up their skin and the trinidad-skins.xml file. I have a jar with this directory structure: META-INF

Re: [Question] trinidad-skins.xml in a jar

2006-11-13 Thread Arjuna Wijeyekoon
If you think the 'right' way is to have skin/customSkin.css work instead +1 for having skin/customSkin.css to work. then I could do this: when I get each trinidad-skins.xml in a jar, I get a path like this: /C:/TestJarTwo/forthebirds.jar!META-INF/trinidad-skins.xml I could strip out the part

Re: [Question] trinidad-skins.xml in a jar

2006-11-13 Thread Arjuna Wijeyekoon
also use URL(URL base, String cssFileName) to construct the path rather than parsing the string yourself. On 11/13/06, Arjuna Wijeyekoon [EMAIL PROTECTED] wrote: If you think the 'right' way is to have skin/customSkin.css work instead +1 for having skin/customSkin.css to work. then I

Re: [Question] trinidad-skins.xml in a jar

2006-11-13 Thread Arjuna Wijeyekoon
the other alternative is to declare the css file name to be globally unique like a java class name. On 11/13/06, Arjuna Wijeyekoon [EMAIL PROTECTED] wrote: also use URL(URL base, String cssFileName) to construct the path rather than parsing the string yourself. On 11/13/06, Arjuna Wijeyekoon