Skip to main content

Source code file content

Revision: 171

Adding new module to overall project pom
» Project Revision History

» Checkout URL

weblogic-12c-user-examples / arun.gupta / javaee6 / HelloWorld / nbproject / rest-build.xml

Size: 2958 bytes, 1 line
<?xml version="1.0" encoding="UTF-8"?>
<!--
        *** GENERATED - DO NOT EDIT  ***
        -->
<project name="HelloWorld-rest-build" basedir=".." xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:webproject1="http://www.netbeans.org/ns/web-project/1" xmlns:jaxrs="http://www.netbeans.org/ns/jax-rs/1">
    <target name="-check-trim">
        <condition property="do.trim">
            <and>
                <isset property="client.urlPart"/>
                <length string="${client.urlPart}" when="greater" length="0"/>
            </and>
        </condition>
    </target>
    <target name="-trim-url" if="do.trim">
        <pathconvert pathsep="/" property="rest.base.url">
            <propertyset>
                <propertyref name="client.url"/>
            </propertyset>
            <globmapper from="*${client.urlPart}" to="*/"/>
        </pathconvert>
    </target>
    <target name="-spare-url" unless="do.trim">
        <property name="rest.base.url" value="${client.url}"/>
    </target>
    <target name="test-restbeans" depends="run-deploy,-init-display-browser,-check-trim,-trim-url,-spare-url">
        <replace file="${restbeans.test.file}" token="${base.url.token}" value="${rest.base.url}||${rest.application.path}"/>
        <condition property="do.browse-url">
            <istrue value="${display.browser}"/>
        </condition>
        <antcall target="browse-url"/>
    </target>
    <target name="browse-url" if="do.browse-url">
        <nbbrowse url="${restbeans.test.url}"/>
    </target>
    <target name="check-rest-config-props" depends="-do-init">
        <condition property="do-generate-rest-config">
            <and>
                <equals arg1="${rest.config.type}" arg2="ide"/>
                <isset property="rest.resources.path"/>
            </and>
        </condition>
    </target>
    <target name="generate-rest-config" depends="check-rest-config-props" if="do-generate-rest-config">
        <mkdir dir="${build.generated.sources.dir}/rest/org/netbeans/rest/application/config/"/>
        <echo file="${build.generated.sources.dir}/rest/org/netbeans/rest/application/config/ApplicationConfig.java">/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.netbeans.rest.application.config;
/**
 * This class is generated by the NetBeans IDE,
 * and registers all REST root resources created in the project.
 * Please, DO NOT EDIT this class unless you really need and 
 * understand the results of changes.
 * It is safe to change REST resources path value of 
 * ApplicationPath annotation. It can be done also via UI action 
 * called on RESTful Web Services node ( REST Resources Configuration dialog ). 
 * 
 */
@javax.ws.rs.ApplicationPath("${rest.resources.path}")
public class ApplicationConfig extends javax.ws.rs.core.Application {
}</echo>
    </target>
</project>
 
 
Close
loading
Please Confirm
Close