Skip to main content



      Home
Home » Archived » Buckminster » org.eclipse.buckminster.ant.AntBuilder <refresh.resource>
org.eclipse.buckminster.ant.AntBuilder <refresh.resource> [message #505195] Mon, 28 December 2009 09:13 Go to next message
Eclipse UserFriend
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 #505204 is a reply to message #505195] Mon, 28 December 2009 09:57 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: org.eclipse.buckminster.ant.AntBuilder <refresh.resource> [message #505206 is a reply to message #505204] Mon, 28 December 2009 10:22 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:org.eclipse.buckminster.ant.AntBuilder
Next Topic:buckminster and the delta pack
Goto Forum:
  


Current Time: Sun Jul 13 08:07:31 EDT 2025

Powered by FUDForum. Page generated in 0.03865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top