Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » Setup folder for Themes beneath bin-Folder
Setup folder for Themes beneath bin-Folder [message #1818046] Wed, 04 December 2019 18:08 Go to next message
Roman Käppeler is currently offline Roman KäppelerFriend
Messages: 1
Registered: December 2019
Junior Member
Hi,

in my Java Application I want to have a possibility to load different Themes, which are wrapped in a ZIP-File.

To load them with Skin Look and Feel, I wanted to specify a path which is relative to my execution path and load the ZIP:

SkinLookAndFeel.loadThemePack(pp.getThemepackDir() + "whistlerthemepack.zip");

The the ThemepackDir is something like: workingDirectory + "\\.libs\\themepacks\\"

My question is, how can I setup my Eclipse-Project so that these ZIP-Files will placed correctly within my bin-Directory and can be referenced when my project is executed? Also as a preparation for a later execution in a JAR file...

I could copy the ZIPs manually to the right path beneath my bin-Directory, but somehow this should be possible with Eclipse also, so that I can manage everything in one Project and copy the different resources to the right directory beneath the bin-Folder.

So, how should I do this?
Re: Setup folder for Themes beneath bin-Folder [message #1818257 is a reply to message #1818046] Wed, 11 December 2019 06:34 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32163
Registered: July 2009
Senior Member
it's better to use a forum for technical questions, e.g., the Java Development Tools forum:

https://www.eclipse.org/forums/index.php/f/13/

In general any non *.java file in any Java source folder(s) will be copied to the bin folder at the same relative path.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Link to Documentation teams.
Next Topic:Xilinx Vitis plugin
Goto Forum:
  


Current Time: Fri Jan 28 03:48:54 GMT 2022

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

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

Back to the top