Changes between Version 3 and Version 4 of Server/Frontends


Ignore:
Timestamp:
Mar 8, 2013 7:15:18 PM (4 years ago)
Author:
lama
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Server/Frontends

    v3 v4  
    66
    77== Pulling Out Front Ends from JPlag ==
     8* the front end files can be found in the subdirectories of [browser:jplag/trunk/jplag] e.g. `java` for the Java frontend
     9* the new groupId should be '''edu.kit.ipd.jplag.frontend'''
     10* the new artifactId should be '''language-version''' (e.g. [browser:jplag/jplag.frontend.java-1.4/trunk java-1.4])
     11* the new version should be 0.0.1-SNAPSHOT
     12
     13* create a new Java project in Eclipse called `jplag.frontend.<artifactId>`
     14* copy the pom from another front end (copy from [browser:jplag/jplag.frontend.java-1.4/trunk java-1.4] for antlr-based front ends and from [browser:jplag/jplag.frontend.java-1.5/trunk java-1.5] for JavaCC-based front ends)
     15* create directories `src/main/java/jplag`, `src/main/antlr` (for antlr-based front ends) or `src/main/jjtree` (for JavaCC-based front ends)
     16* copy the grammar to the grammar directory (`antlr` or `jjtree`)
     17* copy the other files to `src/main/java/jplag` (including their proper package directories!)
     18* edit pom as necessary (see above)
     19* activate m2eclipse (context menu on project > configure > convert to maven project)
     20* generate the sources
     21* fix errors
     22* deploy to our repository
     23 * context menu on project > team > share
     24 * SVN
     25 * use existing repository location
     26 * Advanced mode: "use project name", "use single project layout"
     27 * set svn:ignore accordingly (see properties of [browser:jplag/jplag.frontend.java-1.4/trunk java-1.4])
     28
     29* more about [http://mojo.codehaus.org/javacc-maven-plugin/usage.html JavaCC and maven]
     30* more about [http://mojo.codehaus.org/antlr-maven-plugin/usage.html antlr and maven]
    831
    932== Available Front Ends ==