Jump to content

Jar fingerprints/signing


Recommended Posts

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/">
	<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"/>

<delete dir="forge/mcp/src/minecraft/folder in common folder"/>

if (You.likescoding == false){

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.