Giter VIP home page Giter VIP logo

anonymizer's Introduction

anonymizer

Goal :

Anonymizer is a java tool for anonymize my own projet to publish it under another name. (currently JeeDePom)

It does :

  • change the name of the directory
  • change the name of the package in source code files
  • change the name of author
  • revert the changes with the -i option.

installation :

  • place a config file named anonymizer.properties in the root directory of your projet

  • eventually tell git to forget anonymizer.properties file via the command

    echo "anonymizer.properties" >> .gitignore

syntax of a config file (named anonymizer.properties)

valeur1=valeur2
masociete=jeedepom
repertoire1=repertoire2
marcel=guillotin

Usage :

java anonymizer [-h|-i] project-directory

or (if packaged in a jar-file)

java -jar anonymizer.jar

or (if you've getted sources with maven)

process-classes org.codehaus.mojo:exec-maven-plugin:1.2.1:exec -Dexec.args=-classpath %classpath fr.jeedepom.anonymizer.Anonymizer  src/test/resources -Dexec.executable=/usr/java/latest/bin/java -Dexec.classpathScope=runtime

TODO :

  • probably some refactoring to clarify classes
  • find a way to completly refactor package directory :
    • a directory became two directories ( mycompagny <-> fr.newname ), actually it only rename one to another.
    • correct the package name with the news directories
  • find a way to replace only a word by another. Actually changing "de" by "fr" would cause serious problems, for 'default' java keyword
  • Build some UnitTesting with a file-repository mock.

BUILDING :

To build (compiling) this project, you need a JDK1.7 and Maven3. The easier way to build is to import the project into Netbeans Java IDE provided by Oracle Inc. You could also import the project into Eclipse as a "Maven Projet with existing sources".

anonymizer's People

Contributors

jeedepom avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.