redora.generator
Class FileLocations

java.lang.Object
  extended by redora.generator.FileLocations

public class FileLocations
extends Object

Some rigid and static locations of several files and directories. The baseProjectDir parameter can add a directory prefix.

Author:
Nanjing RedOrange (http://www.red-orange.cn)

Field Summary
 String applicationFile
          ../resources/application.xml
 String buildDir
          target (set by Maven)
 String includeDir
          ../resources/model/includes
 String modelDir
          ../resources/model
 String redoraDir
          ~/redora
 String resourceDir
          src/main/resources
 String sourceDir
          src/main/java
 String templatesDir
           
 String upgradeDir
          ../resources/upgrade
 
Constructor Summary
FileLocations(String buildDir, String artifactId)
          src/main/resources/templates/
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

buildDir

public final String buildDir
target (set by Maven)


sourceDir

public final String sourceDir
src/main/java


resourceDir

public final String resourceDir
src/main/resources


applicationFile

public final String applicationFile
../resources/application.xml


modelDir

public final String modelDir
../resources/model


includeDir

public final String includeDir
../resources/model/includes


upgradeDir

public final String upgradeDir
../resources/upgrade


redoraDir

public final String redoraDir
~/redora


templatesDir

public final String templatesDir
Constructor Detail

FileLocations

public FileLocations(String buildDir,
                     String artifactId)
              throws ModelGenerationException
src/main/resources/templates/

Throws:
ModelGenerationException
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Nanjing RedOrange Co. ltd. All Rights Reserved.