Další země :-) + zrušení přebytečných výpisů na konsoli.
1 <?xml version="1.0" encoding="UTF-8"?>
3 *** GENERATED - DO NOT EDIT ***
5 <project name="nekurak.net-rest-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">
6 <target name="-check-trim">
7 <condition property="do.trim">
9 <isset property="client.urlPart"/>
10 <length string="${client.urlPart}" when="greater" length="0"/>
14 <target name="-trim-url" if="do.trim">
15 <pathconvert pathsep="/" property="rest.base.url">
17 <propertyref name="client.url"/>
19 <globmapper from="*${client.urlPart}" to="*/"/>
22 <target name="-spare-url" unless="do.trim">
23 <property name="rest.base.url" value="${client.url}"/>
25 <target name="test-restbeans" depends="run-deploy,-init-display-browser,-check-trim,-trim-url,-spare-url">
26 <replace file="${restbeans.test.file}" token="${base.url.token}" value="${rest.base.url}||${rest.application.path}"/>
27 <condition property="do.browse-url">
28 <istrue value="${display.browser}"/>
30 <antcall target="browse-url"/>
32 <target name="browse-url" if="do.browse-url">
33 <nbbrowse url="${restbeans.test.url}"/>
35 <target name="check-rest-config-props" depends="-do-init">
36 <condition property="do-generate-rest-config">
38 <equals arg1="${rest.config.type}" arg2="ide"/>
39 <isset property="rest.resources.path"/>
43 <target name="generate-rest-config" depends="check-rest-config-props" if="do-generate-rest-config">
44 <mkdir dir="${build.generated.sources.dir}/rest/org/netbeans/rest/application/config/"/>
45 <echo file="${build.generated.sources.dir}/rest/org/netbeans/rest/application/config/ApplicationConfig.java">/*
46 * To change this template, choose Tools | Templates
47 * and open the template in the editor.
50 package org.netbeans.rest.application.config;
52 * This class is generated by the Netbeans IDE,
53 * and registers all REST root resources created in the project.
54 * Please, DO NOT EDIT this class !
56 @javax.ws.rs.ApplicationPath("${rest.resources.path}")
57 public class ApplicationConfig extends javax.ws.rs.core.Application {