imported project from eclipse, now netbeans will automatically recognize project folder, link needed libraries, build scripts etc. Just do Open project... Signed-off-by: Marek Otahal <markotahal@gmail.com>pull/1/head
parent
91940fdf56
commit
304ca0b12a
@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- You may freely edit this file. See commented blocks below for -->
|
||||
<!-- some examples of how to customize the build. -->
|
||||
<!-- (If you delete it and reopen the project it will be recreated.) -->
|
||||
<!-- By default, only the Clean and Build commands use this build script. -->
|
||||
<!-- Commands such as Run, Debug, and Test only use this build script if -->
|
||||
<!-- the Compile on Save feature is turned off for the project. -->
|
||||
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
|
||||
<!-- in the project's Project Properties dialog box.-->
|
||||
<project name="yacy" default="default" basedir=".">
|
||||
<description>Builds, tests, and runs the project yacy.</description>
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
<!--
|
||||
|
||||
There exist several targets which are by default empty and which can be
|
||||
used for execution of your tasks. These targets are usually executed
|
||||
before and after some main targets. They are:
|
||||
|
||||
-pre-init: called before initialization of project properties
|
||||
-post-init: called after initialization of project properties
|
||||
-pre-compile: called before javac compilation
|
||||
-post-compile: called after javac compilation
|
||||
-pre-compile-single: called before javac compilation of single file
|
||||
-post-compile-single: called after javac compilation of single file
|
||||
-pre-compile-test: called before javac compilation of JUnit tests
|
||||
-post-compile-test: called after javac compilation of JUnit tests
|
||||
-pre-compile-test-single: called before javac compilation of single JUnit test
|
||||
-post-compile-test-single: called after javac compilation of single JUunit test
|
||||
-pre-jar: called before JAR building
|
||||
-post-jar: called after JAR building
|
||||
-post-clean: called after cleaning build products
|
||||
|
||||
(Targets beginning with '-' are not intended to be called on their own.)
|
||||
|
||||
Example of inserting an obfuscator after compilation could look like this:
|
||||
|
||||
<target name="-post-compile">
|
||||
<obfuscate>
|
||||
<fileset dir="${build.classes.dir}"/>
|
||||
</obfuscate>
|
||||
</target>
|
||||
|
||||
For list of available properties check the imported
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
|
||||
Another way to customize the build is by overriding existing main targets.
|
||||
The targets of interest are:
|
||||
|
||||
-init-macrodef-javac: defines macro for javac compilation
|
||||
-init-macrodef-junit: defines macro for junit execution
|
||||
-init-macrodef-debug: defines macro for class debugging
|
||||
-init-macrodef-java: defines macro for class execution
|
||||
-do-jar-with-manifest: JAR building (if you are using a manifest)
|
||||
-do-jar-without-manifest: JAR building (if you are not using a manifest)
|
||||
run: execution of project
|
||||
-javadoc-build: Javadoc generation
|
||||
test-report: JUnit report generation
|
||||
|
||||
An example of overriding the target for project execution could look like this:
|
||||
|
||||
<target name="run" depends="yacy-impl.jar">
|
||||
<exec dir="bin" executable="launcher.exe">
|
||||
<arg file="${dist.jar}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
Notice that the overridden target depends on the jar target and not only on
|
||||
the compile target as the regular run target does. Again, for a list of available
|
||||
properties which you can use, check the target you are overriding in the
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
-->
|
||||
</project>
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
||||
nb-build.xml.data.CRC32=c1d508a7
|
||||
nb-build.xml.script.CRC32=812fb2fd
|
||||
nb-build.xml.stylesheet.CRC32=28e38971@1.50.1.46
|
||||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
|
||||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
|
||||
nbproject/build-impl.xml.data.CRC32=c1d508a7
|
||||
nbproject/build-impl.xml.script.CRC32=ec466945
|
||||
nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.1.46
|
@ -0,0 +1,169 @@
|
||||
annotation.processing.enabled=true
|
||||
annotation.processing.enabled.in.editor=false
|
||||
annotation.processing.processor.options=
|
||||
annotation.processing.processors.list=
|
||||
annotation.processing.run.all.processors=true
|
||||
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
|
||||
api.dir=${file.reference.htroot-api}
|
||||
auxiliary.org-netbeans-modules-projectimport-eclipse-core.key=src=source;src=htroot;src=htroot/api;src=htroot/env;src=htroot/yacy;src=htroot/api/bookmarks;src=htroot/api/ymarks;src=htroot/api/bookmarks/posts;src=htroot/api/bookmarks/tags;src=htroot/api/bookmarks/xbel;file=lib/commons-logging-1.1.1.jar;file=lib/servlet-api.jar;file=lib/bzip2.jar;file=lib/J7Zip-modified.jar;file=lib/webcat-0.1-swf.jar;file=lib/activation.jar;file=lib/commons-jxpath-1.3.jar;file=lib/poi-3.6-20091214.jar;file=lib/poi-scratchpad-3.6-20091214.jar;file=lib/bcmail-jdk15-145.jar;file=lib/bcprov-jdk15-145.jar;file=lib/jsch-0.1.42.jar;file=lib/jakarta-oro-2.0.8.jar;file=lib/commons-codec-1.4.jar;file=lib/mysql-connector-java-5.1.12-bin.jar;file=lib/jcifs-1.3.15.jar;file=lib/metadata-extractor-2.4.0-beta-1.jar;file=lib/httpclient-4.1.2.jar;file=lib/httpcore-4.1.3.jar;file=lib/httpmime-4.1.2.jar;file=lib/apache-mime4j-0.6.jar;file=lib/commons-fileupload-1.2.2.jar;file=lib/log4j-1.2.16.jar;file=lib/json-simple-1.1.jar;file=lib/fontbox-1.6.0.jar;file=lib/jempbox-1.6.0.jar;file=lib/pdfbox-1.6.0.jar;file=lib/commons-io-2.0.1.jar;file=lib/xercesImpl.jar;file=lib/xml-apis.jar;file=lib/slf4j-api-1.6.1.jar;file=lib/slf4j-jdk14-1.6.1.jar;file=lib/commons-httpclient-3.1.jar;file=lib/geronimo-stax-api_1.0_spec-1.0.1.jar;file=lib/jcl-over-slf4j-1.6.1.jar;file=lib/wstx-asl-3.2.7.jar;file=lib/apache-solr-solrj-3.4.0.jar;file=lib/icu4j-core.jar;output=gen;
|
||||
auxiliary.org-netbeans-modules-projectimport-eclipse-core.project=.
|
||||
auxiliary.org-netbeans-modules-projectimport-eclipse-core.timestamp=1325785600000
|
||||
bookmarks.dir=${file.reference.api-bookmarks}
|
||||
build.classes.dir=${build.dir}/classes
|
||||
build.classes.excludes=**/*.java,**/*.form
|
||||
# This directory is removed when the project is cleaned:
|
||||
build.dir=build
|
||||
build.generated.dir=${build.dir}/generated
|
||||
build.generated.sources.dir=${build.dir}/generated-sources
|
||||
# Only compile against the classpath explicitly listed here:
|
||||
build.sysclasspath=ignore
|
||||
build.test.classes.dir=${build.dir}/test/classes
|
||||
build.test.results.dir=${build.dir}/test/results
|
||||
buildfile=nb-build.xml
|
||||
# Uncomment to specify the preferred debugger connection transport:
|
||||
#debug.transport=dt_socket
|
||||
debug.classpath=\
|
||||
${run.classpath}
|
||||
debug.test.classpath=\
|
||||
${run.test.classpath}
|
||||
# This directory is removed when the project is cleaned:
|
||||
dist.dir=dist
|
||||
dist.jar=${dist.dir}/yacy.jar
|
||||
dist.javadoc.dir=${dist.dir}/javadoc
|
||||
env.dir=${file.reference.htroot-env}
|
||||
excludes=api/,env/,processing/domaingraph/applet/,yacy/,api/bookmarks/,api/ymarks/,api/bookmarks/posts/,api/bookmarks/tags/,api/bookmarks/xbel/,bookmarks/,ymarks/,bookmarks/posts/,bookmarks/tags/,bookmarks/xbel/,posts/,tags/,xbel/
|
||||
file.reference.activation.jar=lib/activation.jar
|
||||
file.reference.apache-mime4j-0.6.jar=lib/apache-mime4j-0.6.jar
|
||||
file.reference.apache-solr-solrj-3.4.0.jar=lib/apache-solr-solrj-3.4.0.jar
|
||||
file.reference.api-bookmarks=htroot/api/bookmarks
|
||||
file.reference.api-ymarks=htroot/api/ymarks
|
||||
file.reference.bcmail-jdk15-145.jar=lib/bcmail-jdk15-145.jar
|
||||
file.reference.bcprov-jdk15-145.jar=lib/bcprov-jdk15-145.jar
|
||||
file.reference.bookmarks-posts=htroot/api/bookmarks/posts
|
||||
file.reference.bookmarks-tags=htroot/api/bookmarks/tags
|
||||
file.reference.bookmarks-xbel=htroot/api/bookmarks/xbel
|
||||
file.reference.bzip2.jar=lib/bzip2.jar
|
||||
file.reference.commons-codec-1.4.jar=lib/commons-codec-1.4.jar
|
||||
file.reference.commons-fileupload-1.2.2.jar=lib/commons-fileupload-1.2.2.jar
|
||||
file.reference.commons-httpclient-3.1.jar=lib/commons-httpclient-3.1.jar
|
||||
file.reference.commons-io-2.0.1.jar=lib/commons-io-2.0.1.jar
|
||||
file.reference.commons-jxpath-1.3.jar=lib/commons-jxpath-1.3.jar
|
||||
file.reference.commons-logging-1.1.1.jar=lib/commons-logging-1.1.1.jar
|
||||
file.reference.fontbox-1.6.0.jar=lib/fontbox-1.6.0.jar
|
||||
file.reference.geronimo-stax-api_1.0_spec-1.0.1.jar=lib/geronimo-stax-api_1.0_spec-1.0.1.jar
|
||||
file.reference.htroot-api=htroot/api
|
||||
file.reference.htroot-env=htroot/env
|
||||
file.reference.htroot-yacy=htroot/yacy
|
||||
file.reference.httpclient-4.1.2.jar=lib/httpclient-4.1.2.jar
|
||||
file.reference.httpcore-4.1.3.jar=lib/httpcore-4.1.3.jar
|
||||
file.reference.httpmime-4.1.2.jar=lib/httpmime-4.1.2.jar
|
||||
file.reference.icu4j-core.jar=lib/icu4j-core.jar
|
||||
file.reference.J7Zip-modified.jar=lib/J7Zip-modified.jar
|
||||
file.reference.jakarta-oro-2.0.8.jar=lib/jakarta-oro-2.0.8.jar
|
||||
file.reference.jcifs-1.3.15.jar=lib/jcifs-1.3.15.jar
|
||||
file.reference.jcl-over-slf4j-1.6.1.jar=lib/jcl-over-slf4j-1.6.1.jar
|
||||
file.reference.jempbox-1.6.0.jar=lib/jempbox-1.6.0.jar
|
||||
file.reference.jsch-0.1.42.jar=lib/jsch-0.1.42.jar
|
||||
file.reference.json-simple-1.1.jar=lib/json-simple-1.1.jar
|
||||
file.reference.log4j-1.2.16.jar=lib/log4j-1.2.16.jar
|
||||
file.reference.metadata-extractor-2.4.0-beta-1.jar=lib/metadata-extractor-2.4.0-beta-1.jar
|
||||
file.reference.mysql-connector-java-5.1.12-bin.jar=lib/mysql-connector-java-5.1.12-bin.jar
|
||||
file.reference.pdfbox-1.6.0.jar=lib/pdfbox-1.6.0.jar
|
||||
file.reference.poi-3.6-20091214.jar=lib/poi-3.6-20091214.jar
|
||||
file.reference.poi-scratchpad-3.6-20091214.jar=lib/poi-scratchpad-3.6-20091214.jar
|
||||
file.reference.rc1-htroot=htroot
|
||||
file.reference.rc1-source=source
|
||||
file.reference.servlet-api.jar=lib/servlet-api.jar
|
||||
file.reference.slf4j-api-1.6.1.jar=lib/slf4j-api-1.6.1.jar
|
||||
file.reference.slf4j-jdk14-1.6.1.jar=lib/slf4j-jdk14-1.6.1.jar
|
||||
file.reference.webcat-0.1-swf.jar=lib/webcat-0.1-swf.jar
|
||||
file.reference.wstx-asl-3.2.7.jar=lib/wstx-asl-3.2.7.jar
|
||||
file.reference.xercesImpl.jar=lib/xercesImpl.jar
|
||||
file.reference.xml-apis.jar=lib/xml-apis.jar
|
||||
htroot.dir=${file.reference.rc1-htroot}
|
||||
includes=**
|
||||
jar.compress=false
|
||||
javac.classpath=\
|
||||
${file.reference.commons-logging-1.1.1.jar}:\
|
||||
${file.reference.servlet-api.jar}:\
|
||||
${file.reference.bzip2.jar}:\
|
||||
${file.reference.J7Zip-modified.jar}:\
|
||||
${file.reference.webcat-0.1-swf.jar}:\
|
||||
${file.reference.activation.jar}:\
|
||||
${file.reference.commons-jxpath-1.3.jar}:\
|
||||
${file.reference.poi-3.6-20091214.jar}:\
|
||||
${file.reference.poi-scratchpad-3.6-20091214.jar}:\
|
||||
${file.reference.bcmail-jdk15-145.jar}:\
|
||||
${file.reference.bcprov-jdk15-145.jar}:\
|
||||
${file.reference.jsch-0.1.42.jar}:\
|
||||
${file.reference.jakarta-oro-2.0.8.jar}:\
|
||||
${file.reference.commons-codec-1.4.jar}:\
|
||||
${file.reference.mysql-connector-java-5.1.12-bin.jar}:\
|
||||
${file.reference.jcifs-1.3.15.jar}:\
|
||||
${file.reference.metadata-extractor-2.4.0-beta-1.jar}:\
|
||||
${file.reference.httpclient-4.1.2.jar}:\
|
||||
${file.reference.httpcore-4.1.3.jar}:\
|
||||
${file.reference.httpmime-4.1.2.jar}:\
|
||||
${file.reference.apache-mime4j-0.6.jar}:\
|
||||
${file.reference.commons-fileupload-1.2.2.jar}:\
|
||||
${file.reference.log4j-1.2.16.jar}:\
|
||||
${file.reference.json-simple-1.1.jar}:\
|
||||
${file.reference.fontbox-1.6.0.jar}:\
|
||||
${file.reference.jempbox-1.6.0.jar}:\
|
||||
${file.reference.pdfbox-1.6.0.jar}:\
|
||||
${file.reference.commons-io-2.0.1.jar}:\
|
||||
${file.reference.xercesImpl.jar}:\
|
||||
${file.reference.xml-apis.jar}:\
|
||||
${file.reference.slf4j-api-1.6.1.jar}:\
|
||||
${file.reference.slf4j-jdk14-1.6.1.jar}:\
|
||||
${file.reference.commons-httpclient-3.1.jar}:\
|
||||
${file.reference.geronimo-stax-api_1.0_spec-1.0.1.jar}:\
|
||||
${file.reference.jcl-over-slf4j-1.6.1.jar}:\
|
||||
${file.reference.wstx-asl-3.2.7.jar}:\
|
||||
${file.reference.apache-solr-solrj-3.4.0.jar}:\
|
||||
${file.reference.icu4j-core.jar}
|
||||
# Space-separated list of extra javac options
|
||||
javac.compilerargs=
|
||||
javac.deprecation=false
|
||||
javac.processorpath=\
|
||||
${javac.classpath}
|
||||
javac.source=1.5
|
||||
javac.target=1.5
|
||||
javac.test.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
javac.test.processorpath=\
|
||||
${javac.test.classpath}
|
||||
javadoc.additionalparam=
|
||||
javadoc.author=false
|
||||
javadoc.encoding=${source.encoding}
|
||||
javadoc.noindex=false
|
||||
javadoc.nonavbar=false
|
||||
javadoc.notree=false
|
||||
javadoc.private=false
|
||||
javadoc.splitindex=true
|
||||
javadoc.use=true
|
||||
javadoc.version=false
|
||||
javadoc.windowtitle=
|
||||
meta.inf.dir=${src.dir}/META-INF
|
||||
mkdist.disabled=true
|
||||
platform.active=default_platform
|
||||
posts.dir=${file.reference.bookmarks-posts}
|
||||
run.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
# Space-separated list of JVM arguments used when running the project
|
||||
# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
|
||||
# or test-sys-prop.name=value to set system properties for unit tests):
|
||||
run.jvmargs=
|
||||
run.test.classpath=\
|
||||
${javac.test.classpath}:\
|
||||
${build.test.classes.dir}
|
||||
source.encoding=UTF-8
|
||||
source.reference.commons-fileupload-1.2.2.jar=/Users/admin/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2-sources.jar
|
||||
source.reference.poi-3.6-20091214.jar=/Users/admin/.m2/repository/org/apache/poi/poi/3.6/poi-3.6-sources.jar
|
||||
src.dir=${file.reference.rc1-source}
|
||||
tags.dir=${file.reference.bookmarks-tags}
|
||||
xbel.dir=${file.reference.bookmarks-xbel}
|
||||
yacy.dir=${file.reference.htroot-yacy}
|
||||
ymarks.dir=${file.reference.api-ymarks}
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.java.j2seproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
|
||||
<name>yacy</name>
|
||||
<source-roots>
|
||||
<root id="src.dir" name="source"/>
|
||||
<root id="htroot.dir"/>
|
||||
<root id="api.dir"/>
|
||||
<root id="env.dir"/>
|
||||
<root id="yacy.dir"/>
|
||||
<root id="bookmarks.dir"/>
|
||||
<root id="ymarks.dir"/>
|
||||
<root id="posts.dir"/>
|
||||
<root id="tags.dir"/>
|
||||
<root id="xbel.dir"/>
|
||||
</source-roots>
|
||||
<test-roots/>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
Loading…
Reference in new issue