Le 08-01-02 à 13:25, Chuck Hill a écrit :
>
> On Dec 31, 2007, at 12:30 PM, Pascal Robert wrote:
>> Le 07-12-31 à 15:05, Chuck Hill a écrit :
>>
>>> Bonne Année!
>>
>> You too DrunkenMaster :-P BTW, we got an another 5 cm of snow
>> today. It's fun to see people from New Jersey without winter
>> tires on the highway.
>
> And a bit more now too. :-) Well, you did say that you wanted
> snow this year...
I think we have enough now, we got an another 15 cm on New Year.
More than one meter in a month.
> ...
>
> First, woproject does some wonky flattening stuff here. Add to
> that confusing (to me) Ant patterns and it can be challenging to
> get this right. I really dislikes how this part of WOProject/
> WOLips works. I don't think I am alone in that, looking at how the
> Wonder projects were changed to work. However - the Wonder way is
> not what you want here.
>
> Try this: that that out of the exclude patternset, and add this to
> the include one:
>
> */**/*.png
>
> I think that might do what you want. If not, you could try:
>
> */*/*.png
> or
> **/*.png
Didn't work, but I got it to work by adding this to the build.xml:
<wsresources dir="WebServerResources/images">
<include name="**/*.gif"/>
</wsresources>
Many thanks to Andrew Lindesay, I used his solution that he sent last
summer :-)
>>> ...
>>>> 2) If I try to link a application with a framework source AND
>>>> the installed framework, I'm getting this:
>>>>
>>>> Caused by: java.lang.IllegalStateException:
>>>> <com.webobjects.foundation.NSBundle> warning: There is already a
>>>> unique instance for Bundle named 'OSUtilitaires'. Use
>>>> NSBundle.bundleForName(OSUtilitaires) to access it:
>>>> <com.webobjects.foundation.NSBundle name:'OSUtilitaires'
>>>> bundlePath:'/Library/Frameworks/OSUtilitaires.framework'
>>>> packages:'("org.apache.commons.codec.language",
>>>> "org.apache.commons.httpclient",
>>>> "org.apache.commons.httpclient.protocol", "org.json",
>>>> "org.apache.commons.httpclient.util", "ca.os.utilitaires",
>>>> "org.apache.commons.logging.impl",
>>>> "org.apache.commons.httpclient.params",
>>>> "org.apache.commons.codec.net",
>>>> "org.apache.commons.httpclient.cookie",
>>>> "org.apache.commons.httpclient.methods",
>>>> "com.metaparadigm.jsonrpc", "org.apache.commons.codec",
>>>> "org.apache.commons.httpclient.auth", "net.jrochkind",
>>>> "org.apache.commons.httpclient.methods.multipart",
>>>> "org.apache.commons.logging", "org.apache.commons.codec.binary",
>>>> "org.apache.commons.codec.digest")' 290 classes >
>>>> at com.webobjects.foundation.NSBundle.CreateBundleWithPath
>>>> (NSBundle.java:825)
>>>> at
>>>> com.webobjects.foundation.NSBundle._bundleWithPathShouldCreateIsJar
>>>> (NSBundle.java:487)
>>>> at com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath
>>>> (NSBundle.java:742)
>>>> at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:365)
>>>>
>>>> AFAIK, it was working in previous builds of WOLips or maybe I
>>>> did something wrong ?
>>>
>>> I am not sure about that. How are you "linking" the application
>>> with the framework source?
>>
>> My application -> Build Path -> Configure Build Path -> Projects,
>> and I add the framework's source project.
>
> That sounds like what I have working in a older WOLips version. It
> sounds like something changed. Not sure what.
:-(
This archive was generated by hypermail 2.0.0 : Fri Jan 04 2008 - 10:03:34 EST