Resources (i.e messages.properties) in PDE Build not built into JAR correctly [message #540645] |
Wed, 16 June 2010 15:50  |
Eclipse User |
|
|
|
I am building an RCP product with PDE build.
I have a source folder called resources in the root of my project. The
resources folder follows the package heirarchy in the main src folder.
When I export the product, the result JAR file has the resources folder in
the root, i.e the resources are not copied into the same folder as the class
files.
How do I tell PDE build (the ant tasks) to move these resources into the
folder where the classes are?
Thanks
Greg
|
|
|
Re: Resources (i.e messages.properties) in PDE Build not built into JAR correctly [message #540887 is a reply to message #540645] |
Thu, 17 June 2010 10:08  |
Eclipse User |
|
|
|
In your build.properties files, there will be a property like:
source.. = src
Add your resources folder here:
source.. = src, resources
And you should probably remove it from the "bin.includes".
-Andrew
geejay wrote:
> I am building an RCP product with PDE build.
>
> I have a source folder called resources in the root of my project. The
> resources folder follows the package heirarchy in the main src folder.
>
> When I export the product, the result JAR file has the resources folder in
> the root, i.e the resources are not copied into the same folder as the
> class files.
>
> How do I tell PDE build (the ant tasks) to move these resources into the
> folder where the classes are?
>
> Thanks
>
> Greg
|
|
|
Re: Resources (i.e messages.properties) in PDE Build not built into JAR correctly [message #606102 is a reply to message #540645] |
Thu, 17 June 2010 10:08  |
Eclipse User |
|
|
|
In your build.properties files, there will be a property like:
source.. = src
Add your resources folder here:
source.. = src, resources
And you should probably remove it from the "bin.includes".
-Andrew
geejay wrote:
> I am building an RCP product with PDE build.
>
> I have a source folder called resources in the root of my project. The
> resources folder follows the package heirarchy in the main src folder.
>
> When I export the product, the result JAR file has the resources folder in
> the root, i.e the resources are not copied into the same folder as the
> class files.
>
> How do I tell PDE build (the ant tasks) to move these resources into the
> folder where the classes are?
>
> Thanks
>
> Greg
|
|
|
Powered by
FUDForum. Page generated in 0.03606 seconds