Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » org.eclipse.buckminster.ant.AntBuilder <refresh.resource>
org.eclipse.buckminster.ant.AntBuilder <refresh.resource> [message #505195] Mon, 28 December 2009 14:13 Go to next message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
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 14:57 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 15:22 Go to previous message
Alain  is currently offline Alain Friend
Messages: 115
Registered: July 2009
Senior Member
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: Thu Apr 25 03:55:23 GMT 2024

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

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

Back to the top