Skip to content
Snippets Groups Projects
Commit e8fd8e09 authored by Lofar test build account's avatar Lofar test build account
Browse files

Task #3740 [maven-release-plugin]: copy for tag...

Task #3740 [maven-release-plugin]: copy for tag Maven-Release-nl.astron.lofar.sas.otb.otb-parent-1.8.0
parents
No related branches found
No related tags found
No related merge requests found
Showing
with 991 additions and 0 deletions
* text=auto !eol
OTB-distribution/assembly.xml -text
OTB-distribution/pom.xml -text
OTB/assembly.xml -text
OTB/conf/ParmDBConfiguration.xml -text
OTB/conf/Plotter-config-plottertest.jar -text
OTB/dist-src/OTB.log_prop -text
OTB/dist-src/startClientOTB -text
OTB/doc/OTB.EAP -text
OTB/pom.xml -text
OTB/src/nl/astron/lofar/sas/otb/exceptions/ConnectionFailedException.java -text
OTB/src/nl/astron/lofar/sas/otb/exceptions/NoDatabaseException.java -text
OTB/src/nl/astron/lofar/sas/otb/exceptions/NoServerConnectionException.java -text
OTB/src/nl/astron/lofar/sas/otb/exceptions/NotLoggedInException.java -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_add.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_addAll.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_alarm.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_apply.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_down.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_down_modern.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_left.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_left_modern.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_right.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_right_modern.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_up.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_arrow_up_modern.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_cancel.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_copy.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_cut.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_death.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_delAll.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_delete.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_edit.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_exit1.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_exit2.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_fileopen.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_folder.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_help.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_info.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_multiedit.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_new.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_printer.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_redo.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_refresh_e.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_save.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_undo.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_warn.gif -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_zoom_in.png -text
OTB/src/nl/astron/lofar/sas/otb/icons/16_zoom_out.png -text
OTB/src/nl/astron/lofar/sas/otb/objects/AnaBeam.java -text
OTB/src/nl/astron/lofar/sas/otb/objects/Beam.java -text
OTB/src/nl/astron/lofar/sas/otb/objects/TiedArrayBeam.java -text
OTB/src/nl/astron/lofar/sas/otb/util/IBeam.java -text
OTB/src/nl/astron/lofar/sas/otb/util/tablemodels/DefaultTemplatetableModel.java -text
OTB/src/nl/astron/lofar/sas/otb/util/tablemodels/ParamExtensionTableModel.java -text
OTB/src/nl/astron/lofar/sas/otb/util/tablemodels/StateChangeHistoryTableModel.java -text
OTB/src/nl/astron/lofar/sas/otb/util/tablemodels/TiedArrayBeamConfigurationTableModel.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/AnaBeamDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/AntennaConfigPanel.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/BeamDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/BeamFileDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/BeamFileDialog.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/CampaignInfo.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/CampaignInfoDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/CoordConversionDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/CoordConversionDialog.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/CoreStationLayout.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/CreateDefaultTemplateDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/CreateDefaultTemplateDialog.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/EuropeStationLayout.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/MultiEditDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/MultiEditDialog.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/OTBInputFieldBuilder.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/ParSetMetaViewPanel.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/ParamExtensionDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/ParamExtensionDialog.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/PencilDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/RemoteStationLayout.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/RoundButton.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/SquareButton.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/StationSelectionPanel.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/StorageSelectionPanel.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/TBBControlPanel.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/TBBControlPanel.java -text
OTB/src/nl/astron/lofar/sas/otbcomponents/TiedArrayBeamDialog.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/VerticalButtonPanel.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/general/Add16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/general/Delete16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/general/Edit16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/general/New16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/general/Open16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/general/Remove16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/general/Undo16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/navigation/Down16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/bbs/icons/navigation/Up16.gif -text
OTB/src/nl/astron/lofar/sas/otbcomponents/userpanels/ImagerPanel.form -text
OTB/src/nl/astron/lofar/sas/otbcomponents/userpanels/TBBConfigPanel.form -text
RSP/.cvsignore -text
RSP/pom.xml -text svneol=unset#application/xml
RSP/src/nl/astron/lofar/java/sas/otb/rsp/subbandstats/.cvsignore -text
jOTDB3/CMakeLists.txt -text
jOTDB3/assembly.xml -text
jOTDB3/build.xml -text
jOTDB3/dist-src/jOTDB3.log_prop -text
jOTDB3/dist-src/startServerOTB -text
jOTDB3/include/jOTDB3/CMakeLists.txt -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jCampaign.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jClassifConv.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jCommon.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jInitCPPLogger.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jOTDBconnection.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jParamTypeConv.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jTreeMaintenance.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jTreeStateConv.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jTreeTypeConv.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jTreeValue.h -text
jOTDB3/include/jOTDB3/nl_astron_lofar_sas_otb_jotdb3_jUnitConv.h -text
jOTDB3/jOTDB3.log -text
jOTDB3/jOTDB3.log_prop -text
jOTDB3/manifest.mf -text
jOTDB3/pom.xml -text
jOTDB3/src/CMakeLists.txt -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/Manifest.txt -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jCampaign.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jCampaignInfo.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jCampaignInterface.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jClassifConv.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jConverter.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jConverterInterface.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jDefaultTemplate.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jInitCPPLogger.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDB3.log_prop -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBaccess.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBaccessInterface.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBconnection.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBinterface.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBnode.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBparam.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBserver.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBtree.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jOTDBvalue.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jParamTypeConv.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jTreeMaintenance.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jTreeMaintenanceInterface.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jTreeState.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jTreeStateConv.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jTreeTypeConv.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jTreeValue.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jTreeValueInterface.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jUnitConv.java -text
jOTDB3/src/nl/astron/lofar/sas/otb/jotdb3/jVICnodeDef.java -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jCampaign.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jClassifConv.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jCommon.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jInitCPPLogger.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jOTDBconnection.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jParamTypeConv.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jTreeMaintenance.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jTreeStateConv.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jTreeTypeConv.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jTreeValue.cc -text
jOTDB3/src/nl_astron_lofar_sas_otb_jotdb3_jUnitConv.cc -text
jOTDB3/test/tCampaign.java -text
jOTDB3/test/tConnection.java -text
jOTDB3/test/tConverter.java -text
jOTDB3/test/tRemoteConnection.java -text
jOTDB3/test/tRemoteConverter.java -text
jOTDB3/test/tRemoteFile.java -text
jOTDB3/test/tRemoteTreeMaintenance.java -text
jOTDB3/test/tTreeMaintenance.in -text
jOTDB3/test/tTreeMaintenance.java -text
jOTDB3/test/tTreeMaintenance.log_prop -text
jOTDB3/test/testStates.java -text
jParmFacade/conf/Plotter-config-jparmfacade.jar -text
jParmFacade/include/jParmFacade/nl_astron_lofar_sas_otb_jparmfacade_jParmFacade.h -text
jParmFacade/pom.xml -text
jParmFacade/src/nl_astron_lofar_otb_jparmfacade_jParmFacade.cc -text
jRSP/.cvsignore -text
jRSP/include/jRSP/nl_astron_lofar_sas_otb_jrsp_Board.h -text
jRSP/pom.xml -text
/pom.xml -text svneol=unset#application/xml
scripts/CMakeLists.txt -text
scripts/src/CMakeLists.txt -text
scripts/src/checkOTDBServer -text
scripts/src/startOTB -text
scripts/src/startOTBServer -text
scripts/src/startOTBTest -text
scripts/src/stopOTBServer -text
OTB-distribution/*.classpath
OTB-distribution/*.project
OTB-distribution/*.settings
OTB-distribution/target
OTB/build
OTB/dist
OTB/nbproject
OTB/target
RSP/build
RSP/dist
RSP/nbproject
RSP/src/nl/astron/lofar/java/sas/otb/rsp/subbandstats/WaveformSettingsListPanel.form
RSP/src/nl/astron/lofar/java/sas/otb/rsp/subbandstats/WaveformSettingsListPanel.java
RSP/target
jOTDB3/build
jOTDB3/dist
jOTDB3/target
jParmFacade/Makefile.common
jParmFacade/autoconf_share
jParmFacade/build
jParmFacade/dist
jParmFacade/lofarconf
jParmFacade/nbproject
jParmFacade/target
jRSP/Makefile.am
jRSP/autoconf_share
jRSP/bootstrap
jRSP/configure.in
jRSP/nbproject
jRSP/target
/nbproject
scripts/Makefile.common
scripts/autoconf_share
scripts/lofarconf
# $Id$
lofar_add_package(jOTDB3)
lofar_add_package(OTB-Java OTB)
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>distribution</id>
<formats>
<format>tar.gz</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.build.directory}/dependency/jOTDB3-${project.version}</directory>
<outputDirectory>server</outputDirectory>
<includes>
<include>**/*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/dependency/OTB-${project.version}</directory>
<outputDirectory>client</outputDirectory>
<includes>
<include>**/*</include>
</includes>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>Lofar OTB :: Distribution</name>
<description>Object Tree Browser Client/Server - Distribution</description>
<parent>
<groupId>nl.astron.lofar.sas.otb</groupId>
<artifactId>otb-parent</artifactId>
<version>1.8.0</version>
</parent>
<artifactId>OTB-distribution</artifactId>
<packaging>pom</packaging>
<!-- Specification for the SCM used by the project, such as CVS, Subversion, etc. -->
<scm>
<connection>scm:svn:https://svn.astron.nl/LOFAR/tags/Maven-Release-nl.astron.lofar.sas.otb.otb-parent-1.8.0/OTB-distribution</connection>
<developerConnection>scm:svn:https://svn.astron.nl/LOFAR/tags/Maven-Release-nl.astron.lofar.sas.otb.otb-parent-1.8.0/OTB-distribution</developerConnection>
</scm>
<!-- Information required to build a project. -->
<build>
<plugins>
<!-- Resolve client and server artifacts and extract them -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>jOTDB3</artifactId>
<type>tar.gz</type>
</artifactItem>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>OTB</artifactId>
<type>tar.gz</type>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- Create an TAR.GZ file -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptor>assembly.xml</descriptor>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Sibling dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>OTB</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jOTDB3</artifactId>
</dependency>
</dependencies>
</project>
# $Id$
lofar_package(OTB-Java 1.0)
log4j.rootLogger=ERROR, STDOUT, FILE
log4j.additivity.ASTRON=FALSE
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
log4j.appender.STDOUT.layout.ConversionPattern=%d [%t] %-5p (%F:%L) %m%n
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File=OTB.log
log4j.appender.FILE.MaxFileSize=10MB
log4j.appender.FILE.MaxBackupIndex=10
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d [%t] %-5p (%F:%L) %m%n
log4j.appender.DUMP=org.apache.log4j.NullAppender
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>deployment</id>
<formats>
<format>tar.gz</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory>.</outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/lib</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>**/*.*</include>
</includes>
</fileSet>
<fileSet>
<directory>${basedir}/dist-src</directory>
<outputDirectory>.</outputDirectory>
<includes>
<include>**/*</include>
</includes>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
<?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="OTB" default="default" basedir=".">
<description>Builds, tests, and runs the project OTB.</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="OTB-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.
-->
<target name="-post-compile">
<copy file="${src.dir}/ParmDBConfiguration.xml" tofile="conf/ParmDBConfiguration.xml"/>
</target>
<target name="-post-jar">
<copy file="${src.dir}/ParmDBConfiguration.xml" tofile="${dist.dir}/conf/ParmDBConfiguration.xml"/>
</target>
<target name="-post-clean">
<delete file="conf/ParmDBConfiguration.xml"/>
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : ParmDBConfiguration.xml
Created on : June 8, 2006, 9:28 AM
Author : pompert
Description:
This document describes the PARMDB instances to be inserted in the OTB for test purposes.
-->
<parmdb>
<servers>
<!-- Only one server can be specified at this time. Please modify this server node if needed -->
<server id="ParmDB1" name="ParmDB on LOFAR17">
<connection>
<rmihostname>lofar17.astron.nl</rmihostname>
<rmiport>10668</rmiport>
</connection>
<tables>
</tables>
</server>
</servers>
</parmdb>
\ No newline at end of file
File added
log4j.rootLogger=ERROR, STDOUT, FILE
log4j.additivity.ASTRON=FALSE
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
log4j.appender.STDOUT.layout.ConversionPattern=%d [%t] %-5p (%F:%L) %m%n
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File=OTB.log
log4j.appender.FILE.MaxFileSize=10MB
log4j.appender.FILE.MaxBackupIndex=10
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d [%t] %-5p (%F:%L) %m%n
log4j.appender.DUMP=org.apache.log4j.NullAppender
#!/bin/sh
export OTB_DIR=/opt/sas/otb
export JAVA_HOME=/usr/java/jdk1.7.0_02
echo
echo --- Starting OTB Client ---
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTB_DIR
export OTB_APP=$OTB_DIR/`basename $OTB_DIR/OTB*.jar`
export CLASSPATH=$OTB_APP
for JAR_DEPENDENCY in $OTB_DIR/lib/*.jar
do
echo -- Adding dependency to CLASSPATH: `basename $JAR_DEPENDENCY`
export CLASSPATH=$CLASSPATH:$JAR_DEPENDENCY
done
echo Starting up ...
$JAVA_HOME/bin/java -cp $CLASSPATH nl.astron.lofar.sas.otb.Main -s sas001 -p 12500 -d LOFAR_4 -u busyman
File added
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>Lofar OTB :: OTB</name>
<description>Object Tree Browser Client/Server - Object Tree Browser GUI</description>
<parent>
<groupId>nl.astron.lofar.sas.otb</groupId>
<artifactId>otb-parent</artifactId>
<version>1.8.0</version>
</parent>
<artifactId>OTB</artifactId>
<!-- The OTB GUI requires at least java 1.7 to compile. -->
<properties>
<project.compiler.version>1.7</project.compiler.version>
</properties>
<!-- Specification for the SCM used by the project, such as CVS, Subversion, etc. -->
<scm>
<connection>scm:svn:https://svn.astron.nl/LOFAR/tags/Maven-Release-nl.astron.lofar.sas.otb.otb-parent-1.8.0/OTB</connection>
<developerConnection>scm:svn:https://svn.astron.nl/LOFAR/tags/Maven-Release-nl.astron.lofar.sas.otb.otb-parent-1.8.0/OTB</developerConnection>
</scm>
<!-- Information required to build a project. -->
<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>${basedir}</directory>
<includes>
<include>*.log_prop</include>
</includes>
</resource>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- Set the main class in the manifest file -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>nl.astron.lofar.sas.otb.Main</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Create a /target/lib directory with ALL dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- Create an TAR.GZ file -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptor>assembly.xml</descriptor>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Sibling dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jOTDB3</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jParmFacade</artifactId>
</dependency>
<!-- Internal dependencies -->
<dependency>
<groupId>nl.astron.lofar.lib</groupId>
<artifactId>plotter</artifactId>
</dependency>
<!-- External dependencies -->
<dependency>
<groupId>org.swinglabs</groupId>
<artifactId>swing-layout</artifactId>
</dependency>
<dependency>
<groupId>org.netbeans.external</groupId>
<artifactId>AbsoluteLayout</artifactId>
</dependency>
</dependencies>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : ParmDBConfiguration.xml
Created on : June 8, 2006, 9:28 AM
Author : pompert
Description:
This document describes the PARMDB instances to be inserted in the OTB for test purposes.
-->
<parmdb>
<servers>
<!-- Only one server can be specified at this time. Please modify this server node if needed -->
<server id="ParmDB1" name="ParmDB on LOFAR17">
<connection>
<rmihostname>lofar17.astron.nl</rmihostname>
<rmiport>10668</rmiport>
</connection>
<tables>
</tables>
</server>
</servers>
</parmdb>
\ No newline at end of file
/*
* Main.java
*
* 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
*
*/
package nl.astron.lofar.sas.otb;
import com.darwinsys.lang.GetOpt;
import com.darwinsys.lang.GetOptDesc;
import java.awt.GraphicsEnvironment;
import java.awt.HeadlessException;
import java.awt.Rectangle;
import java.io.File;
import java.util.Iterator;
import java.util.Map;
import nl.astron.lofar.lofarutils.LofarUtils;
import nl.astron.lofar.sas.otb.exceptions.NoServerConnectionException;
import nl.astron.lofar.sas.otb.exceptions.NotLoggedInException;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
/**
* This is the Main class for the OTB framework.
*
* @created 11-01-2006, 9:11
* @author coolen
* @version $Id$
* @updated
*/
public class Main {
static Logger logger = Logger.getLogger(Main.class);
static MainFrame itsMainFrame = null;
static {
Runtime.getRuntime().addShutdownHook(new Thread() {
@Override
public void run() {
System.out.println("Shutting down OTB");
// uninstall tab selector
LofarUtils.TextSelector.uninstall();
if (itsMainFrame != null) itsMainFrame.exit();
}
});
}
/**
* @param args the command line arguments
*/
public static void main(String[] argv) {
try {
String logConfig = "OTB.log_prop";
String server = "sas001";
String port = "10199";
String database = "LOFAR_2";
String user = "observer";
boolean errs = false;
GetOptDesc options[] = {
new GetOptDesc('s', "server", true),
new GetOptDesc('p', "port", true),
new GetOptDesc('l', "logfile", true),
new GetOptDesc('d', "database", true),
new GetOptDesc('u', "user", true),
new GetOptDesc('h', "help", false)
};
GetOpt parser = new GetOpt(options);
Map optionsFound = parser.parseArguments(argv);
Iterator it = optionsFound.keySet().iterator();
while (it.hasNext()) {
String key = (String)it.next();
char c = key.charAt(0);
switch (c) {
case 's':
server = (String)optionsFound.get(key);
break;
case 'p':
port = (String)optionsFound.get(key);
break;
case 'l':
logConfig = (String)optionsFound.get(key);
break;
case 'd':
database = (String)optionsFound.get(key);
break;
case 'u':
user = (String)optionsFound.get(key);
break;
case 'h':
errs = true;
break;
case '?':
errs = true;
break;
default:
throw new IllegalStateException(
"Unexpected option character: "+ c);
}
}
if (errs) {
System.err.println("Usage: OTB.jar [-s server] [-p port] [-d database] [-u username] [-l logFile] [-h]");
}
// install tab focus
LofarUtils.TextSelector.install();
File f = new File(logConfig);
if (f.exists()) {
PropertyConfigurator.configure(logConfig);
} else {
logConfig = File.separator+"opt"+File.separator+"sas"+File.separator+logConfig;
f = new File(logConfig);
if (f.exists()) {
PropertyConfigurator.configure(logConfig);
} else {
logger.error("OTB.log_prop not found.");
}
}
// install tab focus
LofarUtils.TextSelector.install();
logger.info("OTB started");
try {
itsMainFrame = new MainFrame(server,port,database,user);
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
Rectangle screenRect = ge.getMaximumWindowBounds();
itsMainFrame.setSize(screenRect.getSize());
itsMainFrame.setVisible(true);
}
catch(NoServerConnectionException ex ) {
String aS="ex";
logger.error(aS);
}
catch (NotLoggedInException ex ) {
logger.error(ex);
}
}
catch(IllegalStateException | HeadlessException e) {
// catch all exceptions and create a fatal error message, including
// a stack trace.
logger.fatal("Fatal exception, OTB halted",e);
}
}
}
<?xml version="1.1" encoding="UTF-8" ?>
<Form version="1.2" maxVersion="1.2" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<NonVisualComponents>
<Menu class="javax.swing.JMenuBar" name="jMenuBarMainFrame">
<SubComponents>
<Menu class="javax.swing.JMenu" name="jMenuFile">
<Properties>
<Property name="mnemonic" type="int" value="102"/>
<Property name="text" type="java.lang.String" value="File" noResource="true"/>
</Properties>
<SubComponents>
<MenuItem class="javax.swing.JSeparator" name="jSeparator1">
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemExit">
<Properties>
<Property name="mnemonic" type="int" value="120"/>
<Property name="text" type="java.lang.String" value="Exit" noResource="true"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemExitActionPerformed"/>
</Events>
</MenuItem>
</SubComponents>
</Menu>
<Menu class="javax.swing.JMenu" name="jMenuPlugins">
<Properties>
<Property name="mnemonic" type="int" value="112"/>
<Property name="text" type="java.lang.String" value="Plugins" noResource="true"/>
</Properties>
</Menu>
<Menu class="javax.swing.JMenu" name="jMenuTools">
<Properties>
<Property name="mnemonic" type="int" value="116"/>
<Property name="text" type="java.lang.String" value="Tools"/>
</Properties>
<SubComponents>
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemCoordChange">
<Properties>
<Property name="mnemonic" type="int" value="99"/>
<Property name="text" type="java.lang.String" value="Coord. Conversions"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemCoordChangeActionPerformed"/>
</Events>
</MenuItem>
</SubComponents>
</Menu>
</SubComponents>
</Menu>
</NonVisualComponents>
<Properties>
<Property name="defaultCloseOperation" type="int" value="3"/>
<Property name="title" type="java.lang.String" value="Lofar Observation Tree Browser" noResource="true"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBarMainFrame"/>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
</SyntheticProperties>
<Events>
<EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowClosing"/>
</Events>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,2,36"/>
</AuxValues>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
<Component class="nl.astron.lofar.sas.otbcomponents.StatusPanel" name="statusPanelMainFrame">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="South"/>
</Constraint>
</Constraints>
</Component>
<Container class="javax.swing.JToolBar" name="jToolBarPlugins">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="North"/>
</Constraint>
</Constraints>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
</Container>
</SubComponents>
</Form>
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment