- Thread Author
- #1
This all arose when I started trying to push my bot to svn. I originally had a single folder with source since I don't use an IDE. But when I tried to update it to svn and it wasn't working I decided to restructure my directory to match everyone elses. But now I can't even get runemate to load the bot.
Manifest:
	
	
		
			
	
	
	
		
		
	
Directory tree from the root of the SVN
	
	
		
			
	
	
	
		
		
	
Then when I try to load my bot in runemate i get:
"Unable to locate "/home/~/Runescape/Bots/duckcity/com/runemate/bots/DuckIronMiner/DuckIronMiner.class"."
Which is funny because i can vim that file just by copying that entire path - which means it clearly does exist. What am I doing wrong here? Because I am at a loss.
My original configuration (which worked) had the manifest with <main-class>DuckIronMiner</main-class> in the root directory along with the class file.
			
			Manifest:
		Code:
	
	<manifest>
    <main-class>com.runemate.bots.DuckIronMiner.DuckIronMiner</main-class>
    <name>Duck's Iron Banker</name>
    <tag-line>Mine and bank iron in Falador!</tag-line><!--Max of 50 chars-->
    <description>Mines iron ore in the Dwarven mine and banks at the east Falador bank(need pickaxe equipped or in inventory).</description><!--Max of 110 chars-->
    <version>1.0.0</version>
    <compatibility>
        <game>OSRS</game>
    </compatibility>
    <categories>
        <category>MINING</category>
    </categories>
    <!--Required to publish on the bot store-->
    <internal-id>DucksMineAndBank</internal-id>
    <!--The rest are optional-->
    <open-source>true</open-source>
    <hidden>false</hidden> <!--If you need to hide it from the bot store for maintenance-->
    <access>public</access>
    <tags>
        <tag>Iron</tag>
        <tag>Mining</tag>
    </tags>
    <!--<resources>
        <resource>path/to/file.png</resource>
    </resources>-->
</manifest>Directory tree from the root of the SVN
		Code:
	
	QuackShack ~/Runescape/Bots/duckcity $ tree
.
|-- Makefile
|-- RuneMate.jar
`-- com
    `-- runemate
        `-- bots
            `-- DuckIronMiner
                |-- DuckIronMiner$State.class
                |-- DuckIronMiner.class
                |-- DuckIronMiner.java
                |-- DuckIronMiner.manifest.xml
                `-- Makefile
4 directories, 7 filesThen when I try to load my bot in runemate i get:
"Unable to locate "/home/~/Runescape/Bots/duckcity/com/runemate/bots/DuckIronMiner/DuckIronMiner.class"."
Which is funny because i can vim that file just by copying that entire path - which means it clearly does exist. What am I doing wrong here? Because I am at a loss.
My original configuration (which worked) had the manifest with <main-class>DuckIronMiner</main-class> in the root directory along with the class file.


 
 
		
