Resourcetree XML file

Ideas and discussions on third party tools and utilities

Moderator: Forum Moderator

User avatar
Zimoon
Forum Moderator
Posts: 4817
Joined: Mon May 14, 2007 6:55 am
Location: Stockholm, SE
Contact:

Re: Resourcetree XML file

Post by Zimoon » Sat Nov 29, 2008 2:44 pm

Updated the file resourcetree2.xml to tell that Egg is not possible to harvest at Kashyyyk and Mustafar.

Seafoods was previously marked as non-harvestable at Mustafar, which I believe is correct. I have never tested at Kashyyyk, anybody?

/Zimoon

Arden
Novice Crafter
Posts: 26
Joined: Wed Jul 29, 2009 12:51 pm

Re: Resourcetree XML file

Post by Arden » Sun Feb 28, 2016 10:53 am

Is this resourcetree2.xml current for preCU to build SWGAide using your new branch?

From the dev readme.

Code: Select all

## Generate Resource Class Files ##
The more than 800 resource-class files are generated locally. Now and after any
update download http://sites.google.com/site/simongronlund/resourcetree2.xml
Navigate to swg/tools/SWGResourceClassGenerator.java, open it, navigate to its
main method, and read the usage comment. In Eclipse, open "Run" -> "Run As...",
and open the "Run Configurations" wizard for the generator. At "Arguments", add
a TO path and a FROM path to the "Program Arguments". The TO-path is the path to
your project's location, not including "swg". The FROM-path is the path for the
XML file. Example:
"C:\Documents and Settings\Simon\Projects\SWGAide_0_8_00"
"C:\Documents and Settings\Simon\Projects\resourcetree2\resourcetree2.xml"
At the wizard, select "Apply" and "Run".

Now the generator creates swg/crafting/resources/SWGResourceInfo.java and the
more than 800 java files in the swg/crafting/resources/types/ package. Usually
Eclipse triggers a rebuild, otherwise you build manually.
-Arden

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests