Changeset 25682 for main/trunk/gli
- Timestamp:
- 2012-05-28T23:44:13+12:00 (12 years ago)
- Location:
- main/trunk/gli
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/gli.bat
r24829 r25682 157 157 158 158 :: Run GS3 if version = 3 159 if "%_VERSION%" == "3" "%JAVA_EXECUTABLE%" -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -gsdl3 "%GSDL3HOME%" -gsdl3src "%GSDL3SRCHOME%" -perl "%PERLPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9159 if "%_VERSION%" == "3" "%JAVA_EXECUTABLE%" -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -gsdl3 "%GSDL3HOME%" -gsdl3src "%GSDL3SRCHOME%" -perl "%PERLPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9 160 160 if "%_VERSION%" == "3" goto finRun 161 161 … … 173 173 ) 174 174 175 "%JAVA_EXECUTABLE%" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -perl "%PERLPATH%" -local_library "%locallib%" %1 %2 %3 %4 %5 %6 %7 %8 %9175 "%JAVA_EXECUTABLE%" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -perl "%PERLPATH%" -local_library "%locallib%" %1 %2 %3 %4 %5 %6 %7 %8 %9 176 176 if ERRORLEVEL 2 ( 177 177 goto localLib … … 180 180 181 181 :webLib 182 "%JAVA_EXECUTABLE%" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -perl "%PERLPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9182 "%JAVA_EXECUTABLE%" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -perl "%PERLPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9 183 183 if ERRORLEVEL 2 ( 184 184 goto webLib -
main/trunk/gli/makegli.bat
r25678 r25682 119 119 if "%GLILANG%" == "ru" echo ®¬¯š«šà®¢ š¥ %1 š § ¢šáš¬ë¥ ª« ááë... 120 120 121 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar %1121 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar %1 122 122 123 123 if "%GLILANG%" == "en" echo Done! … … 140 140 :: Compile the GLI 141 141 :: Sun compiler (tested with 1.5 and 1.6) didn't compile DragTreeSelectionModel.java or MetadataAuditTableModel.java automatically, so we need to put them in explicitly 142 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/GathererProg.java src/org/greenstone/gatherer/util/DragTreeSelectionModel.java src/org/greenstone/gatherer/metadata/MetadataAuditTableModel.java143 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/GathererApplet.java144 :: "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/GathererApplet4gs3.java142 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar;;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/GathererProg.java src/org/greenstone/gatherer/util/DragTreeSelectionModel.java src/org/greenstone/gatherer/metadata/MetadataAuditTableModel.java 143 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar;;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/GathererApplet.java 144 :: "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar;;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/GathererApplet4gs3.java 145 145 146 146 :: Compile the GEMS 147 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/gems/GEMS.java147 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar;;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/gems/GEMS.java 148 148 149 149 :: Compile the standalone programs needed on the server for remote building -
main/trunk/gli/makejar.bat
r24829 r25682 119 119 "!JARPATH!\jar" xf ..\lib\apache.jar com org 120 120 "!JARPATH!\jar" xf ..\lib\qfslib.jar de 121 121 "!JARPATH!\jar" xf ..\lib\rsyntaxtextarea.jar org 122 122 cd .. 123 123 ) -
main/trunk/gli/src/org/greenstone/gatherer/cdm/Format4gs3Manager.java
r25610 r25682 33 33 import javax.xml.parsers.DocumentBuilderFactory; 34 34 35 import org.fife.ui.rsyntaxtextarea.*; 36 35 37 import org.greenstone.gatherer.Configuration; 36 38 import org.greenstone.gatherer.DebugStream; … … 297 299 298 300 editor_textarea = new NumberedJTextArea(); 301 302 /* Fields specific to RSyntaxQuery inherited class */ 303 editor_textarea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_XML); 304 editor_textarea.setBracketMatchingEnabled(true); 305 editor_textarea.setAnimateBracketMatching(true); 306 editor_textarea.setAntiAliasingEnabled(true); 307 editor_textarea.setAutoIndentEnabled(true); 308 editor_textarea.setPaintMarkOccurrencesBorder(false); 309 310 /* Standard fields to JTextArea */ 299 311 editor_textarea.setOpaque(false); 300 312 editor_textarea.setBackground(Configuration.getColor("coloring.editable_background", false)); … … 824 836 * A textarea with the line number next to each line of the text 825 837 */ 826 public class NumberedJTextArea extends JTextArea838 public class NumberedJTextArea extends RSyntaxTextArea /*JTextArea*/ 827 839 { 828 840 public void paintComponent(Graphics g) … … 832 844 g.setColor(Color.white); 833 845 g.fillRect(rectangle.x, rectangle.y, rectangle.width, rectangle.height); 846 847 super.paintComponent(g); 848 834 849 if (rectangle.x < insets.left) 835 850 { … … 860 875 line_number_start_point++; 861 876 } 862 } 863 super.paintComponent(g); 877 } 864 878 } 865 879
Note:
See TracChangeset
for help on using the changeset viewer.