org.eclipse.buckminster.ant.AntBuilder <refresh.resource> [message #505195] |
Mon, 28 December 2009 09:13  |
Eclipse User |
|
|
|
Hi,
I use the AntBuilder to generate some additional jar files in my bundle.
(I use aspectj to wave the jars)
The output (the jar files) are stored in a folder in the bundle.
I put a
<dictionary>
<key>refresh.resource</key>
<value>generate_filder</value>
</dictionary>
in order to refresh the directory where the jars where generated.
BUT the buckminster does not find the newly generated jar files!
It claims, that the jars that are referenced in the .classpath file does
not extsts.
The workaround is to place some (empty)dummy-jar files into the folder.
Then anything works fine.
Any idea?
Best regards, Alain.
|
|
|
|
Re: org.eclipse.buckminster.ant.AntBuilder <refresh.resource> [message #505206 is a reply to message #505204] |
Mon, 28 December 2009 10:22  |
Eclipse User |
|
|
|
Hi Thomas
Thanks for your answer.
In fact, I already use the following code (refresh root) (my folder is
called "lib_copy_test"):
<dictionary>
<key>refresh.resource</key>
<value>.</value>
</dictionary>
Is there the possibility to somehow use the cspecx to inform buckminster
about the new jars?
Best regards, Alain.
Thomas Hallgren schrieb:
> Hi Alain,
> If the folder is created by the script, the parent folder must be
> refreshed so perhaps you should try:
>
> <dictionary>
> <key>refresh.resource</key>
> <value>.</value>
> </dictionary>
>
> Regards,
> Thomas Hallgren
>
> PS.
> If your example is a copy/paste from your .project file, perhaps you
> misspelled generate_folder (it says generate_filder)?
>
>
> Apart from the obvious where I guess it
> On 2009-12-28 15:13, Alain Helfenstein wrote:
>> Hi,
>>
>> I use the AntBuilder to generate some additional jar files in my bundle.
>> (I use aspectj to wave the jars)
>>
>> The output (the jar files) are stored in a folder in the bundle.
>> I put a
>>
>> <dictionary>
>> <key>refresh.resource</key>
>> <value>generate_filder</value>
>> </dictionary>
>>
>> in order to refresh the directory where the jars where generated.
>>
>> BUT the buckminster does not find the newly generated jar files!
>> It claims, that the jars that are referenced in the .classpath file does
>> not extsts.
>>
>> The workaround is to place some (empty)dummy-jar files into the folder.
>> Then anything works fine.
>>
>> Any idea?
>>
>> Best regards, Alain.
>
|
|
|
Powered by
FUDForum. Page generated in 0.06727 seconds