|
Java example source code file (project.xml)
The project.xml Java example source code<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of Oracle nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> <project xmlns="http://www.netbeans.org/ns/project/1"> <type>org.netbeans.modules.ant.freeform <configuration> <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1"> <name>langtools </general-data> <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2"> <!-- Do not use Project Properties customizer when editing this file manually. --> <name>langtools <properties> <property name="root">../../.. </properties> <folders> <source-folder> <label>langtools <location>${root} </source-folder> <source-folder> <label>Test files <type>tests <location>${root}/test </source-folder> <source-folder> <label>Build files <type>build <location>${root}/make </source-folder> <source-folder> <label>Source files <type>java <location>${root}/src/share/classes </source-folder> <build-file> <location>${root}/build/classes </build-file> </folders> <ide-actions> <!-- Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of Oracle nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> <!-- This file defines the standard actions accepted by langtools projects. It is normally included as an entity into a project's project.xml file. For information on these actions, see - NetBeans: Setting Up Projects at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html - NetBeans: Advanced Freeform Project Configuration at http://www.netbeans.org/kb/41/freeform-config.html --> <action name="build"> <target>build </action> <action name="clean"> <target>clean </action> <action name="rebuild"> <target>clean <target>build </action> <action name="compile.single"> <target>compile-single <property name="srcdir">${root}/src/share/classes <context> <property>includes <folder>${root}/src/share/classes <pattern>\.java$ <format>relative-path <arity> <separated-files>, </arity> </context> </action> <action name="run"> <target>run </action> <action name="run.single"> <target>run-single <context> <property>run.classname <folder>${root}/src/share/classes <pattern>\.java$ <format>java-name <arity> <one-file-only/> </arity> </context> </action> <!-- Note: NetBeans does not appear to support context menu items on shell scripts :-( --> <action name="run.single"> <target>jtreg <context> <property>jtreg.tests <folder>${root}/test <pattern>\.(java|sh)$ <format>relative-path <arity> <separated-files>, </arity> </context> </action> <action name="test"> <target>jtreg </action> <action name="debug"> <target>debug </action> <action name="debug.single"> <target>debug-single <context> <property>debug.classname <folder>${root}/src/share/classes <pattern>\.java$ <format>java-name <arity> <one-file-only/> </arity> </context> </action> <!-- Note: NetBeans does not appear to support context menu items on shell scripts :-( --> <action name="debug.single"> <target>debug-jtreg <context> <property>jtreg.tests <folder>${root}/test <pattern>\.(java|sh)$ <format>relative-path <arity> <one-file-only/> </arity> </context> </action> <action name="debug.fix"> <target>debug-fix <property name="srcdir">${root}/src/share/classes <context> <property>class <folder>${root}/src/share/classes <pattern>\.java$ <format>relative-path-noext <arity> <one-file-only/> </arity> </context> </action> <action name="javadoc"> <target>javadoc </action> <action name="select-tool"> <target>select-tool </action> <action name="test-select-tool-1"> <target>test-select-tool-1 </action> <action name="test-select-tool-2"> <target>test-select-tool-2 </action> </ide-actions> <export> <type>folder <location>${root}/build/classes <build-target>build </export> <view> <items> <source-folder style="tree"> <label>Source files <location>${root}/src/share/classes </source-folder> <source-folder style="tree"> <label>Test files <location>${root}/test </source-folder> <source-folder style="tree"> <label>Build files <location>${root}/make </source-folder> <source-file> <label>README <location>README </source-file> </items> <context-menu> <!-- Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of Oracle nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> <!-- This file defines the actions that will appear on the project's context menu, in the Projects viewer. It is normally included as an entity into a project's project.xml file. For information on these actions, see - NetBeans: Setting Up Projects at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html - NetBeans: Advanced Freeform Project Configuration at http://www.netbeans.org/kb/41/freeform-config.html --> <ide-action name="select-tool"/> <separator/> <ide-action name="build"/> <ide-action name="rebuild"/> <ide-action name="clean"/> <ide-action name="javadoc"/> <separator/> <ide-action name="run"/> <ide-action name="debug"/> <separator/> <ide-action name="test"/> </context-menu> </view> <subprojects/> </general-data> <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/3"> <compilation-unit> <package-root>${root}/src/share/classes <built-to>${root}/build/classes <source-level>1.7 </compilation-unit> </java-data> </configuration> </project> Other Java examples (source code examples)Here is a short list of links related to this Java project.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.