alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java EE 6 example source code file (rest-build.xml)

This example Java EE 6 source code file (rest-build.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Java EE 6 tags/keywords

do, do, edit, edit, generated, not, not, utf-8, utf-8

The Java EE 6 rest-build.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<!--
        *** GENERATED - DO NOT EDIT  ***
        -->
<project name="web-jpa-war-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">
        <xmlproperty file="${webinf.dir}/web.xml"/>
        <replace file="${restbeans.test.file}" token="${base.url.token}" value="${rest.base.url}||${web-app.servlet-mapping.servlet-name}||${web-app.servlet-mapping.url-pattern}"/>
        <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>
</project>

Other Java EE 6 examples (source code examples)

Here is a short list of links related to this Java EE 6 rest-build.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 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.