dguitar
Class DGcompile
java.lang.Object
dguitar.DGcompile
- All Implemented Interfaces:
- common.FolderIteratorListener
- public class DGcompile
- extends java.lang.Object
- implements common.FolderIteratorListener
This program prints to System.out the comands that can be used to compile the
DGuitar program
From the "bin" folder of DGuitar run this:
for WINDOWS
java -cp .;..\..\Common\dist\common.jar dguitar.DGcompile > ..\src\DGcompile.bat
for Linux\Unix
java -cp .;../../Common/dist/common.jar dguitar.DGcompile > ../src/DGcompile.sh
chmod +x ../DGcompile.sh
It uses the common.FolderIterator to check the project structure.
It has only been tested under windows XP
- Author:
- Mauricio Gracia Gutiérrez
Field Summary |
private static java.lang.String |
classPath
|
private static java.lang.String |
commonPath
|
private java.lang.String |
compiler
|
private java.lang.String |
options
|
private static java.lang.String |
sep
|
Method Summary |
void |
actionForFile(java.io.File file,
common.FolderIteratorInfo FII)
|
void |
actionForFolder(java.io.File folder,
java.io.File Path,
common.FolderIteratorInfo FII)
|
void |
actionRunFinished(common.FolderIteratorInfo FII)
|
void |
actionRunInit(common.FolderIteratorInfo FII)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classPath
private static java.lang.String classPath
commonPath
private static java.lang.String commonPath
sep
private static java.lang.String sep
compiler
private java.lang.String compiler
options
private java.lang.String options
DGcompile
public DGcompile()
actionForFile
public void actionForFile(java.io.File file,
common.FolderIteratorInfo FII)
- Specified by:
actionForFile
in interface common.FolderIteratorListener
actionRunInit
public void actionRunInit(common.FolderIteratorInfo FII)
- Specified by:
actionRunInit
in interface common.FolderIteratorListener
actionRunFinished
public void actionRunFinished(common.FolderIteratorInfo FII)
- Specified by:
actionRunFinished
in interface common.FolderIteratorListener
actionForFolder
public void actionForFolder(java.io.File folder,
java.io.File Path,
common.FolderIteratorInfo FII)
- Specified by:
actionForFolder
in interface common.FolderIteratorListener
main
public static void main(java.lang.String[] args)