Posted September 25, 201311 yr Hi, so I'm doing something like pahimar does with the ee3 mod. I just can't figure out what I should use as keystore alias and storepass, as well as what to put as the keystore location. Anyone could help me with this?
September 25, 201311 yr Author All I ask for is an example on how to do the build properties stuff. A sample would have been nice.
September 26, 201311 yr Here would be a sample of mine this is the build.xml file it is all you need, you don't need any other xml or property files for this to work. <?xml version="1.0" encoding="UTF-8" ?> <project name="Test Project" basedir="Starting path" default="folder where reobjuscated jars will be put"> <target name="folder where reobjuscated jars will be put"> <delete dir="folder where reobjuscated jars will be put" /> <delete dir="forge/mcp/reobf/minecraft" /> <copy todir="forge/mcp/src/minecraft"> <fileset dir="TestMod/Common/"> </fileset> </copy> <mkdir dir="folder where reobjuscated jars will be put" /> <exec executable="recompile.bat" dir="forge/mcp" resolveexecutable="true" osfamily="windows"></exec> <exec executable="reobfuscate_srg.bat" dir="forge/mcp" resolveexecutable="true" osfamily="windows"></exec> <exec executable="recompile.sh" dir="forge/mcp" resolveexecutable="true" osfamily="unix"></exec> <exec executable="reobfuscate_srg.sh" dir="forge/mcp" resolveexecutable="true" osfamily="unix"></exec> <jar destfile="releases/TestMod_1.1.jar"> <fileset dir="forge/mcp/reobf/minecraft/" /> <fileset dir="TestMod/Resources"/> </jar> <delete dir="forge/mcp/src/minecraft/folder in common folder"/> </target> </project> if (You.likescoding == false){ You.goaway; }
October 4, 201311 yr No offence Kakarotvg but that build.xml you provided is a little confusing to understand. You might want to look at this (mine) or this (pahimar's) AppliedOne Edit: It also doesn't clue in to anything about jarsigning and fingerprinting while pahimar's does. (I based my build.xml off of his) http://i.imgur.com/gWwyMMO.jpg[/img]
October 4, 201311 yr I tried pahimars way, and it was extremely confusing. if (You.likescoding == false){ You.goaway; }
October 6, 201311 yr AppliedOne, If you want a sample for a build.xml and a build.properties, you might want to try taking a look at [ur=https://github.com/pahimar/Equivalent-Exchange-3]Pahimar's Code[/url] http://i.imgur.com/gWwyMMO.jpg[/img]
October 6, 201311 yr Author I had sort of given up on this subject, the reason why is misunderstanding. I do know how to set up a build.xml file that works, it's pretty close to pahimars. I just wonder how he do the jar signing, and how he get the right information by using that. Oh, and have he do the %version% stuff since when I do that I only get %version% in the final project even though I do the token stuff in the build.xml.
October 6, 201311 yr Just a question, for a minecraft mod WHY would you use jar fingerprinting? If you guys dont get it.. then well ya.. try harder...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.