⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 java操作excel的类
💻
字号:
CLASSPATH=../../..SOURCPATH=../../..JFLAGS=-classpath $(CLASSPATH)JDFLAGS=-classpath $(CLASSPATH) -sourcepath $(SOURCPATH)JAVAC=javac $(JFLAGS) OPTIMIZE=-g:noneJAVA=java $(JFLAGS)JAVADOC=javadoc $(JDFLAGS)JLEXFLAGS=-q -skel csv.jflex.skelJLEX=$(JAVA) JFlex.Main  $(JLEXFLAGS)CVS=cvs -qBTE=bte.SUFFIXES:.SUFFIXES: .lex .java.SUFFIXES: .java .classall:	@$(MAKE) -s --no-print-directory junkclean	@$(MAKE) -s --no-print-directory spell	@$(MAKE) -s --no-print-directory neaten	@$(MAKE) -s --no-print-directory compile	@$(MAKE) -s --no-print-directory build	@$(MAKE) -s --no-print-directory javadoc	@$(MAKE) -s --no-print-directory htmlfiles	@$(MAKE) -s --no-print-directory htmlsourcespell: *.bte *.java	@echo Make: Running spell check.$?	@./spell.sh $?	@touch spell.PHONY : compilecompile: javafiles classesneaten: *.java	@./neaten.sh $?	@touch neaten	.PHONY: htmlfileshtmlfiles: *.bte	@echo Make: Compiling web pages.	@bte ..PHONY: htmlfilescleanhtmlfilesclean: 	@echo Make: Removing generated html files.	@rm -f `ls *.html | grep -v package` 	LEXFILES=$(wildcard *.lex).PHONY: javafilesjavafiles: $(LEXFILES:.lex=.java)	@# Write a bash script that will compile the files in the todo list	@echo "#!/bin/bash" > tempCommand		@# If the todo list doesn't exist, don't compile anything	@echo "if [ -e tempChangedLexFileList ]" >> tempCommand	@echo "then" >> tempCommand	@# Make sure each file is only on the todo list once.	@echo "sort tempChangedLexFileList | uniq  > tempChangedLexFileListUniq" >> tempCommand	@echo "FILES=\`cat tempChangedLexFileListUniq\`" >> tempCommand	@# Compile the files.	@echo "echo Make: Compiling: $$ FILES" >> tempCommand	@echo "$(JLEX) $$ FILES" >> tempCommand	@echo "for file in $$ FILES" >> tempCommand	@echo "do" >> tempCommand	@# Each generated java file needs to be compiled by the java compiler.	@echo "echo \"$$ {file%.lex}.java\" >> tempChangedJavaFileList" >> tempCommand	@echo "done" >> tempCommand	@echo "fi" >> tempCommand	@# Remove extra spaces in the script that follow the dollar signs.	@sed "s/\$$ /\$$/" tempCommand > tempCommand.sh	@# Make the script executable.	@chmod +x tempCommand.sh	@# Call the script	@./tempCommand.sh	@rm -f tempCommand tempCommand.sh tempChangedLexFileList tempChangedLexFileListUniq *~.lex.java:	@#for each changed lex file, add it to the todo list.	@echo "$<" >> tempChangedLexFileList.PHONY: javafilescleanjavafilesclean: 	@echo Make: Removing generated java files.	@rm -f *Lexer.javaJAVAFILES=$(wildcard *.java).PHONY: classesclasses: javafiles $(JAVAFILES:.java=.class)	@# Write a bash script that will compile the files in the todo list	@echo "#!/bin/bash" > tempCommand		@# If the todo list doesn't exist, don't compile anything	@echo "if [ -e tempChangedJavaFileList ]" >> tempCommand	@echo "then" >> tempCommand	@# Make sure each file is only on the todo list once.	@echo "sort tempChangedJavaFileList | uniq  > tempChangedJavaFileListUniq" >> tempCommand	@echo "FILES=\`cat tempChangedJavaFileListUniq\`" >> tempCommand	@# Compile the files.	@echo "echo Make: Compiling: $$ FILES" >> tempCommand	@echo "$(JAVAC) $$ FILES" >> tempCommand	@echo "fi" >> tempCommand	@# Remove extra spaces in the script that follow the dollar signs.	@sed "s/\$$ /\$$/" tempCommand > tempCommand.sh	@# Make the script executable.	@chmod +x tempCommand.sh	@# Call the script	@./tempCommand.sh	@rm -f tempCommand tempCommand.sh tempChangedJavaFileList tempChangedJavaFileListUniq.java.class:	@#for each changed java file, add it to the todo list.	@echo "$<" >> tempChangedJavaFileList.PHONY: classescleanclassesclean: junkclean	@echo Make: Removing generated class files	@rm -f *.class.PHONY: junkclean	        junkclean:	@echo Make: Removing utilites detritus.	@rm -rf *~ ~* temp* utils_*.jar out.txt *.bak CSVTest.txt CircularBufferTestResults.txt com/ gnu/ srcbuild/.PHONY: buildclean	        buildclean: junkclean	@echo Make: Removing generated jar files.	@rm -f utils.jar randpass.jar        .PHONY: javadocclean	        javadocclean: junkclean	@echo Make: Removing generated documentation.	@rm -rf doc/ javadoc.PHONY: htmlsourceclean	        htmlsourceclean: junkclean	@echo Make: Removing generated html source.	@rm -rf src/ htmlsource.PHONY: clean	        clean: buildclean javadocclean htmlsourceclean htmlfilesclean	@echo Make: Removing generated class files.	@rm -f *.class.PHONY: allclean        allclean: clean javafilesclean	@echo Make: Removing all files not in CVS.	@rm -rf neaten spell release javadoc htmlsource src/	.PHONY: cleanall        cleanall: allcleanjavadoc: *.java	@echo Make: Generating javadoc	@rm -rf doc	@mv -f package.html temp	@mkdir doc	@$(JAVADOC) \		-bottom '<p>Copyright (c) 2001-2004 by <a href="http://ostermiller.org/contact.pl?regarding=Java+Utilities">Stephen Ostermiller</a></p>' \		-header "<h1><a target=\"_top\" href="http://ostermiller.org/utils/">com.Ostermiller.util</a> Java Utilities</h1>" \		-link http://java.sun.com/j2se/1.4.2/docs/api/ -d doc/ \		com.Ostermiller.util > /dev/null	@mv -f temp package.html	@touch javadoc.PHONY: buildbuild: utils.jar randpass.jarrandpass.jar: *RandPass*.class *RandPass*.properties *.TXT 	@echo Make: Building  randpass.jar.	@mkdir -p com/Ostermiller/util	@cp *RandPass*.class *RandPass*.properties *.TXT com/Ostermiller/util/	@jar cfv randpass.jar com/ > /dev/null	@rm -rf com/	utils.jar: *.java package.html *.class *.sh *.lex *.properties *.txt *.TXT *.csv *.bte *.dict Makefile *.xml ../../../gnu/getopt/*.*	@echo Make: Building jar file.	@ant dist > /dev/null.PHONY: testtest: 	$(JAVA) com.Ostermiller.util.TokenizerTests > out.txt	@diff out.txt TokenizerTestResults.txt	$(JAVA) com.Ostermiller.util.CSVLexer CSVRegressionTest.csv > out.txt	@diff out.txt CSVRegressionTestResults.txt	$(JAVA) com.Ostermiller.util.ExcelCSVLexer ExcelCSVRegressionTest.csv > out.txt	@diff out.txt ExcelCSVRegressionTestResults.txt	$(JAVA) com.Ostermiller.util.CSVTest > out.txt	@diff out.txt CSVTestResults.txt	$(JAVA) com.Ostermiller.util.CircularBufferTests > out.txt	@diff out.txt CircularBufferTestResults.txt	@rm out.txt CSVTest.txt CircularBufferTestResults.txt	$(JAVA) com.Ostermiller.util.UberPropertiesTests	$(JAVA) com.Ostermiller.util.LabeledCSVParserTests        .PHONY: updateupdate: 	@$(CVS) update -RPd .        .PHONY: commitcommit: 	@$(CVS) commitrelease: *.html src/* utils.jar randpass.jar .htaccess install.sh doc/	@./release.sh $?	@touch release.PHONY: installinstall:	@./install.shhtmlsource: *.java *.properties *.lex	@echo Make: Generating colored html source: $?	@rm -rf srcbuild/	@mkdir srcbuild	@cp $? src.bte srcbuild	@rm -f srcbuild/*Lexer.java	@touch srcbuild/tempdummy.java srcbuild/tempdummy.lex srcbuild/tempdummy.properties	@echo "cd srcbuild" > srcbuild/temp.sh	@echo "$(JAVA)/.. com.Ostermiller.util.Tabs -s 4 *.java" >> srcbuild/temp.sh	@echo "$(JAVA)/.. com.Ostermiller.Syntax.ToHTML -t src.bte -i whitespace *.lex *.java *.properties" >> srcbuild/temp.sh	@echo "rm -rf tempdummy*" >> srcbuild/temp.sh		@chmod +x srcbuild/temp.sh	@srcbuild/temp.sh	@mkdir -p src/	@mv srcbuild/*.*.html srcbuild/*.css src	@rm -rf srcbuild	@cp source.sh cleansource.sh src/	@echo "cd src" > src/temp.sh	@echo "./cleansource.sh" >> src/temp.sh	@echo "./source.sh" >> src/temp.sh	@chmod +x src/temp.sh	@src/temp.sh	@rm -f src/*.sh	@touch htmlsourcepackage.html:	@cvs update package.html

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -