Skip to content
Snippets Groups Projects
Commit eb1d9a3b authored by pompert's avatar pompert
Browse files

BugID: 701

Addition of netbeans project with which you can create your own Plotter configuration JAR file. You will need this jar file when embedding the Plotter project in other systems.
parent a8b87b4a
No related branches found
No related tags found
No related merge requests found
...@@ -160,6 +160,8 @@ JAVA/CEP/jParmFacade/nbproject/.cvsignore -text ...@@ -160,6 +160,8 @@ JAVA/CEP/jParmFacade/nbproject/.cvsignore -text
JAVA/GUI/MAC/jRSP/nbproject/.cvsignore -text JAVA/GUI/MAC/jRSP/nbproject/.cvsignore -text
JAVA/GUI/MAC/jRSP/src/nl/astron/lofar/java/gui/mac/jrsp/subbandstats/.cvsignore -text JAVA/GUI/MAC/jRSP/src/nl/astron/lofar/java/gui/mac/jrsp/subbandstats/.cvsignore -text
JAVA/GUI/Plotter/.cvsignore -text JAVA/GUI/Plotter/.cvsignore -text
JAVA/GUI/Plotter/PlotterConfig/.cvsignore -text
JAVA/GUI/Plotter/PlotterConfig/nbproject/.cvsignore -text
JAVA/GUI/Plotter/dist/lib/sgt.jar -text svneol=unset#unset JAVA/GUI/Plotter/dist/lib/sgt.jar -text svneol=unset#unset
JAVA/GUI/Plotter/doc/Plotter.EAP -text JAVA/GUI/Plotter/doc/Plotter.EAP -text
JAVA/GUI/Plotter/doc/javadoc/resources/inherit.gif -text JAVA/GUI/Plotter/doc/javadoc/resources/inherit.gif -text
......
...@@ -2,6 +2,9 @@ JAVA/CEP/jParmFacade/nbproject/private ...@@ -2,6 +2,9 @@ JAVA/CEP/jParmFacade/nbproject/private
JAVA/GUI/MAC/jRSP/nbproject/private JAVA/GUI/MAC/jRSP/nbproject/private
JAVA/GUI/MAC/jRSP/src/nl/astron/lofar/java/gui/mac/jrsp/subbandstats/WaveformSettingsListPanel.form JAVA/GUI/MAC/jRSP/src/nl/astron/lofar/java/gui/mac/jrsp/subbandstats/WaveformSettingsListPanel.form
JAVA/GUI/MAC/jRSP/src/nl/astron/lofar/java/gui/mac/jrsp/subbandstats/WaveformSettingsListPanel.java JAVA/GUI/MAC/jRSP/src/nl/astron/lofar/java/gui/mac/jrsp/subbandstats/WaveformSettingsListPanel.java
JAVA/GUI/Plotter/PlotterConfig/build
JAVA/GUI/Plotter/PlotterConfig/dist
JAVA/GUI/Plotter/PlotterConfig/nbproject/private
JAVA/GUI/Plotter/build JAVA/GUI/Plotter/build
JAVA/GUI/Plotter/dist JAVA/GUI/Plotter/dist
JAVA/GUI/Plotter/nbproject/private JAVA/GUI/Plotter/nbproject/private
......
build
dist
<?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.) -->
<project name="PlotterConfig" default="default" basedir=".">
<description>Builds, tests, and runs the project PlotterConfig.</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="PlotterConfig-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>
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
private
This diff is collapsed.
build.xml.data.CRC32=7dd20d4f
build.xml.script.CRC32=e4301fc9
build.xml.stylesheet.CRC32=d5b6853a
# 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=7dd20d4f
nbproject/build-impl.xml.script.CRC32=9b0be84f
nbproject/build-impl.xml.stylesheet.CRC32=99b91518
application.args=
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
# 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
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}/PlotterConfig.jar
dist.javadoc.dir=${dist.dir}/javadoc
jar.compress=false
javac.classpath=
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.source=1.5
javac.target=1.5
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}:\
${libs.junit.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
platform.active=default_platform
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}
src.dir=src
test.src.dir=test
<?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>PlotterConfig</name>
<minimum-ant-version>1.6.5</minimum-ant-version>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>
#
# $Id$
#
# Sets the classes used to plot/access/export data using the LOFAR plotter application
#
# Copyright (C) 2002-2007
# ASTRON (Netherlands Foundation for Research in Astronomy)
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, seg@astron.nl
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
#
# Default content:
# FRAMEWORK = nl.astron.lofar.java.gui.plotter.PlotSGTImpl
# DATA_ACCESS_CLASS = nl.astron.lofar.java.gui.plotter.test.PlotDataAccessTestImpl
# DATA_EXPORT_CLASS = nl.astron.lofar.java.gui.plotter.test.PlotDataExportTestImpl
#
# Supported plotter graphics framework (Do NOT modify unless you have a custom implementation of IPlot)
FRAMEWORK = nl.astron.lofar.java.gui.plotter.PlotSGTImpl
#
# The Data Access class to be used (Specify your implementation of IPlotDataAccess here)
DATA_ACCESS_CLASS = Please put a customized plotter-config-***.jar file in your classpath BEFORE Plotter.jar! Contact the ASTRON SWE group if you need any help
# The Data Export class to be used (Specify your implementation of IPlotDataExport here)
DATA_EXPORT_CLASS = Please put a customized plotter-config-***.jar file in your classpath BEFORE Plotter.jar! Contact the ASTRON SWE group if you need any help
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment