psal / anonymouth

Other
1.93k stars 167 forks source link

Compile without Eclipse #2

Open liamzebedee opened 10 years ago

liamzebedee commented 10 years ago

I'd love to try this out, but Eclipse is a bit of a bulky install. Do you think there are any plans for an Ant build system?

Cheers.

barrowclift commented 10 years ago

Apologies for the late response! I used to be pretty on top of replies but I have since for the most part left development to pursue other endeavors. I'll be sure to directly notify the current devs about your request, I believe Eclipse even has a feature to automatically generate Ant files, so I can't imagine they wouldn't do it. Thanks for your patience and your interest in Anonymouth!

krouskop commented 8 years ago

Here is the ANT build.xml file I used to compile and run the project:

<project name="Anonymouth" default="build" basedir=".">

    <!-- directories and files -->

    <property name="src.dir" value="${basedir}/src" />
    <property name="lib.dir" value="${basedir}/lib" />
    <property name="build.dir" value="${basedir}/build" />

    <!-- classpaths -->

    <path id="lib.class.path">
        <fileset dir="${lib.dir}">
            <include name="**/*.jar" />
        </fileset>
    </path>

    <path id="build.class.path">
        <pathelement location="${src.dir}" />
        <path refid="lib.class.path"/>
    </path>

    <path id="run.class.path">
        <pathelement location="${build.dir}" />
        <path refid="lib.class.path"/>
    </path>

    <!-- preps for build -->
    <target name="init" description= "Preps for build">

        <!-- make build dir -->
        <mkdir dir="${build.dir}" />

    </target>

    <!-- builds the project -->
    <target name="build" depends="init, compile, copy-resources" description="Builds the project"/>

    <!-- compiles the java source -->
    <target name="compile" depends="init" description="Compiles the project Java source files">

         <javac srcdir="${src.dir}" destdir="${build.dir}" debug="on" optimize="on" target="1.7" source="1.7" includeantruntime="false">
            <classpath refid="build.class.path" />
        </javac>

    </target>

    <!-- copy resource (non- .java files) files from src to build -->
    <target name="copy-resources" depends="init" description="Copy resources to build directory">
        <copy todir="${build.dir}">
            <fileset dir="${src.dir}" excludes="**/*.java" />
        </copy>
    </target>

    <!-- removes all build components -->
    <target name="clean" description="Deletes items created by the build targets">

        <!-- delete build dir -->
        <delete dir="${build.dir}" />

    </target>

    <!-- run program -->
    <target name="run" description="Run the main method of the ThePresident class">

        <java classname="edu.drexel.psal.anonymouth.gooie.ThePresident" fork="true"
                failonerror="true">
            <classpath refid="run.class.path" />
        </java>

    </target>

</project>
gitbugged commented 7 years ago

I have since for the most part left development to pursue other endeavors.

@barrowclift like joining the Comcast anti-privacy deepstate?

Pardon the rant, but we need this project now more than ever, is anyone still working on this???

barrowclift commented 7 years ago

I'm on the DVR scheduler team, we work hard so everyone's programs are recorded and synced successfully across their devices. Please don't be rude in Anonymouth's Issue threads.

As for whether or not anyone's working on this, that's not for me to say. The project was created by Andrew McDonald under the guidance of Rachel Greenstadt in Drexel University's Privacy, Security, and Automation lab. I was simply a greenhorn assistant brought on early in my education to help Andrew with maintenance and some new features as best I could for my internship. With that said, the project hasn't seen any meaningful contributions in four years, so I'd wager it's most likely abandoned.

If you're still interested in stylometric anonymization and don't want to fish around for maintained forks, I'd encourage you to check out JStylo. While it doesn't seem to be actively maintained (the last commit was about a year ago), it's a much more mature and robust product than Anonymouth and could serve as a wonderful base for any kind of stylometric anonymization application. In fact, Anonymouth uses JStylo as its stylometry engine!

However, JStylo's user interface is poorly designed and difficult to use for those not already familiar with the study of stylometry, so if you just want to use an existing application, I'd encourage you to check out Worden instead. The tradeoff here is Worden is unfortunately not fully baked and doesn't offer nearly as much valuable information as JStylo does. It should be a sufficient starting point though, so you'll have to balance the tradeoffs between the two yourself based on what your needs are.