Changeset 142

Show
Ignore:
Timestamp:
05/02/07 21:16:32 (2 years ago)
Author:
paulhethmon
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AcmeIdp/trunk/build.xml

    r82 r142  
    1 <?xml version="1.0" encoding="UTF-8"?> 
    2 <!-- You may freely edit this file. See commented blocks below for --> 
    3 <!-- some examples of how to customize the build. --> 
    4 <!-- (If you delete it and reopen the project it will be recreated.) --> 
    5 <project name="AcmeIdp" default="default" basedir="."> 
     1<?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="AcmeIdp" default="default" basedir="."> 
    62    <description>Builds, tests, and runs the project AcmeIdp.</description> 
    73    <import file="nbproject/build-impl.xml"/> 
  • AcmeIdp/trunk/nbproject/build-impl.xml

    r135 r142  
    1 <?xml version="1.0" encoding="UTF-8"?> 
    2 <!-- 
     1<?xml version="1.0" encoding="UTF-8"?><!-- 
    32        *** GENERATED FROM project.xml - DO NOT EDIT  *** 
    43        ***         EDIT ../build.xml INSTEAD         *** 
     
    1716        - cleanup 
    1817 
    19         --> 
    20 <project name="AcmeIdp-impl" default="build" basedir=".." xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1" xmlns:webproject1="http://www.netbeans.org/ns/web-project/1"> 
     18        --><project xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1" 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" name="AcmeIdp-impl" default="build" basedir=".."> 
    2119    <import file="ant-deploy.xml"/> 
    2220    <target name="default" depends="dist,javadoc" description="Build whole project."/> 
     
    3533        <!-- The two properties below are usually overridden --> 
    3634        <!-- by the active platform. Just a fallback. --> 
    37         <property name="default.javac.source" value="1.4"/> 
    38         <property name="default.javac.target" value="1.4"/> 
     35        <property value="1.4" name="default.javac.source"/> 
     36        <property value="1.4" name="default.javac.target"/> 
    3937    </target> 
    4038    <target name="-init-project" depends="-pre-init,-init-private,-init-user"> 
     
    4240    </target> 
    4341    <target name="-do-ear-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" if="dist.ear.dir"> 
    44         <property value="${build.ear.web.dir}/META-INF" name="build.meta.inf.dir"/> 
    45         <property name="build.classes.dir.real" value="${build.ear.classes.dir}"/> 
    46         <property name="build.web.dir.real" value="${build.ear.web.dir}"/> 
     42        <property name="build.meta.inf.dir" value="${build.ear.web.dir}/META-INF"/> 
     43        <property value="${build.ear.classes.dir}" name="build.classes.dir.real"/> 
     44        <property value="${build.ear.web.dir}" name="build.web.dir.real"/> 
    4745    </target> 
    4846    <target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property, -do-ear-init"> 
     47        <webproject1:property value="platforms.${platform.active}.home" name="platform.home"/> 
     48        <webproject1:property value="platforms.${platform.active}.bootclasspath" name="platform.bootcp"/> 
     49        <webproject1:property value="platforms.${platform.active}.compile" name="platform.compiler"/> 
     50        <webproject1:property value="platforms.${platform.active}.javac" name="platform.javac.tmp"/> 
     51        <condition value="${platform.home}/bin/javac" property="platform.javac"> 
     52            <equals arg2="$${platforms.${platform.active}.javac}" arg1="${platform.javac.tmp}"/> 
     53        </condition> 
     54        <property value="${platform.javac.tmp}" name="platform.javac"/> 
     55        <webproject1:property value="platforms.${platform.active}.java" name="platform.java.tmp"/> 
     56        <condition value="${platform.home}/bin/java" property="platform.java"> 
     57            <equals arg2="$${platforms.${platform.active}.java}" arg1="${platform.java.tmp}"/> 
     58        </condition> 
     59        <property value="${platform.java.tmp}" name="platform.java"/> 
     60        <webproject1:property value="platforms.${platform.active}.javadoc" name="platform.javadoc.tmp"/> 
     61        <condition value="${platform.home}/bin/javadoc" property="platform.javadoc"> 
     62            <equals arg2="$${platforms.${platform.active}.javadoc}" arg1="${platform.javadoc.tmp}"/> 
     63        </condition> 
     64        <property value="${platform.javadoc.tmp}" name="platform.javadoc"/> 
     65        <fail unless="platform.home">Must set platform.home</fail> 
     66        <fail unless="platform.bootcp">Must set platform.bootcp</fail> 
     67        <fail unless="platform.java">Must set platform.java</fail> 
     68        <fail unless="platform.javac">Must set platform.javac</fail> 
     69        <fail if="platform.invalid">Platform is not correctly set up</fail> 
    4970        <condition property="have.tests"> 
    5071            <or> 
     
    6687            <isfalse value="${javadoc.preview}"/> 
    6788        </condition> 
    68         <property name="javac.compilerargs" value=""/> 
     89        <property value="" name="javac.compilerargs"/> 
    6990        <condition property="no.deps"> 
    7091            <and> 
     
    7798            </not> 
    7899        </condition> 
    79         <property name="build.web.excludes" value="${build.classes.excludes}"/> 
     100        <property value="${build.classes.excludes}" name="build.web.excludes"/> 
    80101        <condition property="do.compile.jsps"> 
    81102            <istrue value="${compile.jsps}"/> 
     
    84105            <istrue value="${display.browser}"/> 
    85106        </condition> 
    86         <available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/> 
    87         <available file="${conf.dir}/persistence.xml" property="has.persistence.xml"/> 
     107        <available property="has.custom.manifest" file="${conf.dir}/MANIFEST.MF"/> 
     108        <available property="has.persistence.xml" file="${conf.dir}/persistence.xml"/> 
    88109        <condition property="do.war.package.with.custom.manifest"> 
    89110            <and> 
     
    100121            </and> 
    101122        </condition> 
    102         <property value="${build.web.dir}/META-INF" name="build.meta.inf.dir"/> 
    103         <property name="build.classes.dir.real" value="${build.classes.dir}"/> 
    104         <property name="build.web.dir.real" value="${build.web.dir}"/> 
    105         <condition property="application.args.param" value="${application.args}" else=""> 
     123        <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/> 
     124        <property value="${build.classes.dir}" name="build.classes.dir.real"/> 
     125        <property value="${build.web.dir}" name="build.web.dir.real"/> 
     126        <condition else="" value="${application.args}" property="application.args.param"> 
    106127            <and> 
    107128                <isset property="application.args"/> 
    108129                <not> 
    109                     <equals arg1="${application.args}" arg2="" trim="true"/> 
     130                    <equals trim="true" arg2="" arg1="${application.args}"/> 
    110131                </not> 
    111132            </and> 
     
    135156            <attribute name="value"/> 
    136157            <sequential> 
    137                 <property name="@{name}" value="${@{value}}"/> 
     158                <property value="${@{value}}" name="@{name}"/> 
    138159            </sequential> 
    139160        </macrodef> 
     
    147168            <element name="customize" optional="true"/> 
    148169            <sequential> 
    149                 <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" includeantruntime="false"> 
     170                <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" fork="yes" executable="${platform.javac}" tempdir="${java.io.tmpdir}" includeantruntime="false"> 
    150171                    <classpath> 
    151172                        <path path="@{classpath}"/> 
     
    161182            <attribute name="includes" default="**/*Test.java"/> 
    162183            <sequential> 
    163                 <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed"
     184                <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed" jvm="${platform.java}"
    164185                    <batchtest todir="${build.test.results.dir}"> 
    165186                        <fileset dir="${test.src.dir}" includes="@{includes}"/> 
     
    170191                    <syspropertyset> 
    171192                        <propertyref prefix="test-sys-prop."/> 
    172                         <mapper type="glob" from="test-sys-prop.*" to="*"/> 
     193                        <mapper to="*" from="test-sys-prop.*" type="glob"/> 
    173194                    </syspropertyset> 
    174                     <formatter type="brief" usefile="false"/> 
     195                    <formatter usefile="false" type="brief"/> 
    175196                    <formatter type="xml"/> 
    176197                </junit> 
     
    183204            <element name="customize" optional="true"/> 
    184205            <sequential> 
    185                 <java fork="true" classname="@{classname}"> 
     206                <java classname="@{classname}" fork="true" jvm="${platform.java}"> 
    186207                    <jvmarg line="${runmain.jvmargs}"/> 
    187208                    <classpath> 
     
    190211                    <syspropertyset> 
    191212                        <propertyref prefix="run-sys-prop."/> 
    192                         <mapper type="glob" from="run-sys-prop.*" to="*"/> 
     213                        <mapper to="*" from="run-sys-prop.*" type="glob"/> 
    193214                    </syspropertyset> 
    194215                    <customize/> 
     
    202223            <attribute name="classpath" default="${debug.classpath}"/> 
    203224            <sequential> 
    204                 <nbjpdastart transport="dt_socket" addressproperty="jpda.address" name="@{name}"> 
     225                <nbjpdastart name="@{name}" addressproperty="jpda.address" transport="dt_socket"> 
    205226                    <classpath> 
    206227                        <path path="@{classpath}"/> 
    207228                    </classpath> 
     229                    <bootclasspath> 
     230                        <path path="${platform.bootcp}"/> 
     231                    </bootclasspath> 
    208232                </nbjpdastart> 
    209233            </sequential> 
     
    213237            <sequential> 
    214238                <nbjpdareload> 
    215                     <fileset includes="${fix.includes}*.class" dir="@{dir}"/> 
     239                    <fileset dir="@{dir}" includes="${fix.includes}*.class"/> 
    216240                </nbjpdareload> 
    217241            </sequential> 
     
    224248            <attribute name="args" default="${application.args.param}"/> 
    225249            <sequential> 
    226                 <java fork="true" classname="@{classname}"> 
     250                <java classname="@{classname}" fork="true" jvm="${platform.java}"> 
    227251                    <jvmarg value="-Xdebug"/> 
    228252                    <jvmarg value="-Xnoagent"/> 
     
    235259                    <syspropertyset> 
    236260                        <propertyref prefix="run-sys-prop."/> 
    237                         <mapper type="glob" from="run-sys-prop.*" to="*"/> 
     261                        <mapper to="*" from="run-sys-prop.*" type="glob"/> 
    238262                    </syspropertyset> 
    239263                    <arg line="@{args}"/> 
     
    247271            <attribute name="propname"/> 
    248272            <sequential> 
    249                 <basename property="base_@{propname}" file="@{file}"/> 
    250                 <zipfileset id="tld.files_@{propname}" src="@{file}" includes="META-INF/*.tld META-INF/tlds/*.tld"/> 
    251                 <pathconvert property="tld.files.path_@{propname}" refid="tld.files_@{propname}"/> 
    252                 <condition value="yes" property="hastlds_@{propname}"> 
    253                     <contains string="${tld.files.path_@{propname}}" substring=".tld" casesensitive="false"/> 
     273                <basename file="@{file}" property="base_@{propname}"/> 
     274                <zipfileset includes="META-INF/*.tld META-INF/tlds/*.tld" src="@{file}" id="tld.files_@{propname}"/> 
     275                <pathconvert refid="tld.files_@{propname}" property="tld.files.path_@{propname}"/> 
     276                <condition property="hastlds_@{propname}" value="yes"> 
     277                    <contains casesensitive="false" substring=".tld" string="${tld.files.path_@{propname}}"/> 
    254278                </condition> 
    255                 <condition value="${build.web.dir.real}/WEB-INF/lib" property="copy.to.dir_@{propname}"> 
     279                <condition property="copy.to.dir_@{propname}" value="${build.web.dir.real}/WEB-INF/lib"> 
    256280                    <isset property="hastlds_@{propname}"/> 
    257281                </condition> 
    258                 <condition value="${dist.ear.dir}" property="copy.to.dir_@{propname}"> 
     282                <condition property="copy.to.dir_@{propname}" value="${dist.ear.dir}"> 
    259283                    <not> 
    260284                        <isset property="hastlds_@{propname}"/> 
    261285                    </not> 
    262286                </condition> 
    263                 <copy file="@{file}" todir="${copy.to.dir_@{propname}}"/> 
    264                 <condition value="${base_@{propname}}" property="@{propname}"> 
     287                <copy todir="${copy.to.dir_@{propname}}" file="@{file}"/> 
     288                <condition property="@{propname}" value="${base_@{propname}}"> 
    265289                    <not> 
    266290                        <isset property="hastlds_@{propname}"/> 
    267291                    </not> 
    268292                </condition> 
    269                 <condition value="" property="@{propname}"> 
     293                <condition property="@{propname}" value=""> 
    270294                    <isset property="hastlds_@{propname}"/> 
    271295                </condition> 
     
    289313    <target name="-copy-webdir"> 
    290314        <copy todir="${build.web.dir.real}"> 
    291             <fileset excludes="${build.web.excludes}" dir="${web.docbase.dir}"/> 
     315            <fileset dir="${web.docbase.dir}" excludes="${build.web.excludes}"/> 
    292316        </copy> 
    293317    </target> 
     
    298322        </copy> 
    299323    </target> 
    300     <target name="-copy-manifest" if="has.custom.manifest"> 
     324    <target if="has.custom.manifest" name="-copy-manifest"> 
    301325        <mkdir dir="${build.meta.inf.dir}"/> 
    302326        <copy todir="${build.meta.inf.dir}"> 
    303             <fileset dir="${conf.dir}" includes="MANIFEST.MF"/> 
     327            <fileset includes="MANIFEST.MF" dir="${conf.dir}"/> 
    304328        </copy> 
    305329    </target> 
    306     <target name="-copy-persistence-xml" if="has.persistence.xml"> 
     330    <target if="has.persistence.xml" name="-copy-persistence-xml"> 
    307331        <mkdir dir="${build.web.dir.real}/WEB-INF/classes/META-INF"/> 
    308332        <copy todir="${build.web.dir.real}/WEB-INF/classes/META-INF"> 
    309             <fileset dir="${conf.dir}" includes="persistence.xml"/> 
     333            <fileset includes="persistence.xml" dir="${conf.dir}"/> 
    310334        </copy> 
    311335    </target> 
     
    337361    <target name="compile-jsps" depends="compile" if="do.compile.jsps" description="Test compile JSP pages to expose compilation errors."> 
    338362        <mkdir dir="${build.generated.dir}/src"/> 
    339         <java classname="org.netbeans.modules.web.project.ant.JspC" fork="true" failonerror="true"> 
     363        <java failonerror="true" fork="true" classname="org.netbeans.modules.web.project.ant.JspC"> 
    340364            <arg value="-uriroot"/> 
    341365            <arg file="${basedir}/${build.web.dir.real}"/> 
     
    346370        </java> 
    347371        <mkdir dir="${build.generated.dir}/classes"/> 
    348         <webproject2:javac srcdir="${build.generated.dir}/src" destdir="${build.generated.dir}/classes" classpath="${j2ee.platform.classpath}:${build.classes.dir.real}:${jspcompilation.classpath}"/> 
     372        <webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir.real}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/> 
    349373    </target> 
    350374    <target name="-do-compile-single-jsp" depends="compile" if="jsp.includes"> 
    351375        <fail unless="javac.jsp.includes">Must select some files in the IDE or set javac.jsp.includes</fail> 
    352376        <mkdir dir="${build.generated.dir}/src"/> 
    353         <java classname="org.netbeans.modules.web.project.ant.JspCSingle" fork="true" failonerror="true"> 
     377        <java failonerror="true" fork="true" classname="org.netbeans.modules.web.project.ant.JspCSingle"> 
    354378            <arg value="-uriroot"/> 
    355379            <arg file="${basedir}/${build.web.dir.real}"/> 
     
    362386        </java> 
    363387        <mkdir dir="${build.generated.dir}/classes"/> 
    364         <webproject2:javac srcdir="${build.generated.dir}/src" destdir="${build.generated.dir}/classes" classpath="${j2ee.platform.classpath}:${build.classes.dir.real}:${jspcompilation.classpath}"> 
     388        <webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir.real}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"> 
    365389            <customize> 
    366390                <patternset includes="${javac.jsp.includes}"/> 
     
    379403        <!-- You can override this target in the ../build.xml file. --> 
    380404    </target> 
    381     <target name="-do-dist-without-manifest" if="do.war.package.without.custom.manifest" depends="init,compile,compile-jsps,-pre-dist"> 
    382         <dirname property="dist.jar.dir" file="${dist.war}"/> 
     405    <target if="do.war.package.without.custom.manifest" name="-do-dist-without-manifest" depends="init,compile,compile-jsps,-pre-dist"> 
     406        <dirname file="${dist.war}" property="dist.jar.dir"/> 
    383407        <mkdir dir="${dist.jar.dir}"/> 
    384         <jar jarfile="${dist.war}" compress="${jar.compress}"> 
     408        <jar compress="${jar.compress}" jarfile="${dist.war}"> 
    385409            <fileset dir="${build.web.dir.real}"/> 
    386410        </jar> 
    387411    </target> 
    388     <target name="-do-dist-with-manifest" if="do.war.package.with.custom.manifest" depends="init,compile,compile-jsps,-pre-dist"> 
    389         <dirname property="dist.jar.dir" file="${dist.war}"/> 
     412    <target if="do.war.package.with.custom.manifest" name="-do-dist-with-manifest" depends="init,compile,compile-jsps,-pre-dist"> 
     413        <dirname file="${dist.war}" property="dist.jar.dir"/> 
    390414        <mkdir dir="${dist.jar.dir}"/> 
    391         <jar manifest="${build.meta.inf.dir}/MANIFEST.MF" jarfile="${dist.war}" compress="${jar.compress}"> 
     415        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF"> 
    392416            <fileset dir="${build.web.dir.real}"/> 
    393417        </jar> 
    394418    </target> 
    395419    <target name="do-dist" depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest"/> 
    396     <target name="library-inclusion-in-manifest" depends="init" if="dist.ear.dir"> 
    397         <basename property="included.lib.libs.ApacheCommons.classpath.5" file="${libs.ApacheCommons.classpath.libfile.5}"/> 
    398         <basename property="included.lib.libs.ApacheCommons.classpath.4" file="${libs.ApacheCommons.classpath.libfile.4}"/> 
    399         <basename property="included.lib.libs.ApacheCommons.classpath.3" file="${libs.ApacheCommons.classpath.libfile.3}"/> 
    400         <basename property="included.lib.libs.ApacheCommons.classpath.2" file="${libs.ApacheCommons.classpath.libfile.2}"/> 
    401         <basename property="included.lib.libs.ApacheCommons.classpath.1" file="${libs.ApacheCommons.classpath.libfile.1}"/> 
    402         <copy-ear-war file="${libs.ApacheCommons.classpath.libfile.5}" propname="included.lib.libs.ApacheCommons.classpath.5.X"/> 
    403         <copy-ear-war file="${libs.ApacheCommons.classpath.libfile.4}" propname="included.lib.libs.ApacheCommons.classpath.4.X"/> 
    404         <copy-ear-war file="${libs.ApacheCommons.classpath.libfile.3}" propname="included.lib.libs.ApacheCommons.classpath.3.X"/> 
    405         <copy-ear-war file="${libs.ApacheCommons.classpath.libfile.2}" propname="included.lib.libs.ApacheCommons.classpath.2.X"/> 
    406         <copy-ear-war file="${libs.ApacheCommons.classpath.libfile.1}" propname="included.lib.libs.ApacheCommons.classpath.1.X"/> 
    407         <basename property="included.lib.libs.Javolution.classpath" file="${libs.Javolution.classpath}"/> 
    408         <copy-ear-war file="${libs.Javolution.classpath}" propname="included.lib.libs.Javolution.classpath.X"/> 
    409         <basename property="included.lib.libs.Velocity1.4.classpath" file="${libs.Velocity1.4.classpath}"/> 
    410         <copy-ear-war file="${libs.Velocity1.4.classpath}" propname="included.lib.libs.Velocity1.4.classpath.X"/> 
    411         <basename property="included.lib.libs.OpenSAML-20070323.classpath.6" file="${libs.OpenSAML-20070323.classpath.libfile.6}"/> 
    412         <basename property="included.lib.libs.OpenSAML-20070323.classpath.5" file="${libs.OpenSAML-20070323.classpath.libfile.5}"/> 
    413         <basename property="included.lib.libs.OpenSAML-20070323.classpath.4" file="${libs.OpenSAML-20070323.classpath.libfile.4}"/> 
    414         <basename property="included.lib.libs.OpenSAML-20070323.classpath.3" file="${libs.OpenSAML-20070323.classpath.libfile.3}"/> 
    415         <basename property="included.lib.libs.OpenSAML-20070323.classpath.2" file="${libs.OpenSAML-20070323.classpath.libfile.2}"/> 
    416         <basename property="included.lib.libs.OpenSAML-20070323.classpath.1" file="${libs.OpenSAML-20070323.classpath.libfile.1}"/> 
    417         <copy-ear-war file="${libs.OpenSAML-20070323.classpath.libfile.6}" propname="included.lib.libs.OpenSAML-20070323.classpath.6.X"/> 
    418         <copy-ear-war file="${libs.OpenSAML-20070323.classpath.libfile.5}" propname="included.lib.libs.OpenSAML-20070323.classpath.5.X"/> 
    419         <copy-ear-war file="${libs.OpenSAML-20070323.classpath.libfile.4}" propname="included.lib.libs.OpenSAML-20070323.classpath.4.X"/> 
    420         <copy-ear-war file="${libs.OpenSAML-20070323.classpath.libfile.3}" propname="included.lib.libs.OpenSAML-20070323.classpath.3.X"/> 
    421         <copy-ear-war file="${libs.OpenSAML-20070323.classpath.libfile.2}" propname="included.lib.libs.OpenSAML-20070323.classpath.2.X"/> 
    422         <copy-ear-war file="${libs.OpenSAML-20070323.classpath.libfile.1}" propname="included.lib.libs.OpenSAML-20070323.classpath.1.X"/> 
     420    <target depends="init" name="library-inclusion-in-manifest" if="dist.ear.dir"> 
     421        <basename file="${libs.ApacheCommons.classpath.libfile.6}" property="included.lib.libs.ApacheCommons.classpath.6"/> 
     422        <basename file="${libs.ApacheCommons.classpath.libfile.5}" property="included.lib.libs.ApacheCommons.classpath.5"/> 
     423        <basename file="${libs.ApacheCommons.classpath.libfile.4}" property="included.lib.libs.ApacheCommons.classpath.4"/> 
     424        <basename file="${libs.ApacheCommons.classpath.libfile.3}" property="included.lib.libs.ApacheCommons.classpath.3"/> 
     425        <basename file="${libs.ApacheCommons.classpath.libfile.2}" property="included.lib.libs.ApacheCommons.classpath.2"/> 
     426        <basename file="${libs.ApacheCommons.classpath.libfile.1}" property="included.lib.libs.ApacheCommons.classpath.1"/> 
     427        <copy-ear-war propname="included.lib.libs.ApacheCommons.classpath.6.X" file="${libs.ApacheCommons.classpath.libfile.6}"/> 
     428        <copy-ear-war propname="included.lib.libs.ApacheCommons.classpath.5.X" file="${libs.ApacheCommons.classpath.libfile.5}"/> 
     429        <copy-ear-war propname="included.lib.libs.ApacheCommons.classpath.4.X" file="${libs.ApacheCommons.classpath.libfile.4}"/> 
     430        <copy-ear-war propname="included.lib.libs.ApacheCommons.classpath.3.X" file="${libs.ApacheCommons.classpath.libfile.3}"/> 
     431        <copy-ear-war propname="included.lib.libs.ApacheCommons.classpath.2.X" file="${libs.ApacheCommons.classpath.libfile.2}"/> 
     432        <copy-ear-war propname="included.lib.libs.ApacheCommons.classpath.1.X" file="${libs.ApacheCommons.classpath.libfile.1}"/> 
     433        <basename file="${libs.Javolution.classpath}" property="included.lib.libs.Javolution.classpath"/> 
     434        <copy-ear-war propname="included.lib.libs.Javolution.classpath.X" file="${libs.Javolution.classpath}"/> 
     435        <basename file="${libs.OpenSAML-20070323.classpath.libfile.6}" property="included.lib.libs.OpenSAML-20070323.classpath.6"/> 
     436        <basename file="${libs.OpenSAML-20070323.classpath.libfile.5}" property="included.lib.libs.OpenSAML-20070323.classpath.5"/> 
     437        <basename file="${libs.OpenSAML-20070323.classpath.libfile.4}" property="included.lib.libs.OpenSAML-20070323.classpath.4"/> 
     438        <basename file="${libs.OpenSAML-20070323.classpath.libfile.3}" property="included.lib.libs.OpenSAML-20070323.classpath.3"/> 
     439        <basename file="${libs.OpenSAML-20070323.classpath.libfile.2}" property="included.lib.libs.OpenSAML-20070323.classpath.2"/> 
     440        <basename file="${libs.OpenSAML-20070323.classpath.libfile.1}" property="included.lib.libs.OpenSAML-20070323.classpath.1"/> 
     441        <copy-ear-war propname="included.lib.libs.OpenSAML-20070323.classpath.6.X" file="${libs.OpenSAML-20070323.classpath.libfile.6}"/> 
     442        <copy-ear-war propname="included.lib.libs.OpenSAML-20070323.classpath.5.X" file="${libs.OpenSAML-20070323.classpath.libfile.5}"/> 
     443        <copy-ear-war propname="included.lib.libs.OpenSAML-20070323.classpath.4.X" file="${libs.OpenSAML-20070323.classpath.libfile.4}"/> 
     444        <copy-ear-war propname="included.lib.libs.OpenSAML-20070323.classpath.3.X" file="${libs.OpenSAML-20070323.classpath.libfile.3}"/> 
     445        <copy-ear-war propname="included.lib.libs.OpenSAML-20070323.classpath.2.X" file="${libs.OpenSAML-20070323.classpath.libfile.2}"/> 
     446        <copy-ear-war propname="included.lib.libs.OpenSAML-20070323.classpath.1.X" file="${libs.OpenSAML-20070323.classpath.libfile.1}"/> 
     447        <basename file="${libs.Velocity.classpath}" property="included.lib.libs.Velocity.classpath"/> 
     448        <copy-ear-war propname="included.lib.libs.Velocity.classpath.X" file="${libs.Velocity.classpath}"/> 
    423449        <mkdir dir="${build.web.dir.real}/META-INF"/> 
    424         <manifest file="${build.web.dir.real}/META-INF/MANIFEST.MF" mode="update"> 
    425             <attribute name="Class-Path" value="${included.lib.libs.ApacheCommons.classpath.1.X} ${included.lib.libs.ApacheCommons.classpath.2.X} ${included.lib.libs.ApacheCommons.classpath.3.X} ${included.lib.libs.ApacheCommons.classpath.4.X} ${included.lib.libs.ApacheCommons.classpath.5.X} ${included.lib.libs.Javolution.classpath} ${included.lib.libs.Velocity1.4.classpath} ${included.lib.libs.OpenSAML-20070323.classpath.1.X} ${included.lib.libs.OpenSAML-20070323.classpath.2.X} ${included.lib.libs.OpenSAML-20070323.classpath.3.X} ${included.lib.libs.OpenSAML-20070323.classpath.4.X} ${included.lib.libs.OpenSAML-20070323.classpath.5.X} ${included.lib.libs.OpenSAML-20070323.classpath.6.X} "/> 
     450        <manifest mode="update" file="${build.web.dir.real}/META-INF/MANIFEST.MF"> 
     451            <attribute name="Class-Path" value="${included.lib.libs.ApacheCommons.classpath.1.X} ${included.lib.libs.ApacheCommons.classpath.2.X} ${included.lib.libs.ApacheCommons.classpath.3.X} ${included.lib.libs.ApacheCommons.classpath.4.X} ${included.lib.libs.ApacheCommons.classpath.5.X} ${included.lib.libs.ApacheCommons.classpath.6.X} ${included.lib.libs.Javolution.classpath} ${included.lib.libs.OpenSAML-20070323.classpath.1.X} ${included.lib.libs.OpenSAML-20070323.classpath.2.X} ${included.lib.libs.OpenSAML-20070323.classpath.3.X} ${included.lib.libs.OpenSAML-20070323.classpath.4.X} ${included.lib.libs.OpenSAML-20070323.classpath.5.X} ${included.lib.libs.OpenSAML-20070323.classpath.6.X} ${included.lib.libs.Velocity.classpath} "/> 
    426452        </manifest> 
    427453        <delete dir="${dist.ear.dir}/temp"/> 
    428454    </target> 
    429     <target name="library-inclusion-in-archive" depends="init" unless="dist.ear.dir"> 
    430         <copy file="${libs.ApacheCommons.classpath.libfile.5}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    431         <copy file="${libs.ApacheCommons.classpath.libfile.4}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    432         <copy file="${libs.ApacheCommons.classpath.libfile.3}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    433         <copy file="${libs.ApacheCommons.classpath.libfile.2}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    434         <copy file="${libs.ApacheCommons.classpath.libfile.1}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    435         <copy file="${libs.Javolution.classpath}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    436         <copy file="${libs.Velocity1.4.classpath}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    437         <copy file="${libs.OpenSAML-20070323.classpath.libfile.6}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    438         <copy file="${libs.OpenSAML-20070323.classpath.libfile.5}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    439         <copy file="${libs.OpenSAML-20070323.classpath.libfile.4}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    440         <copy file="${libs.OpenSAML-20070323.classpath.libfile.3}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    441         <copy file="${libs.OpenSAML-20070323.classpath.libfile.2}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
    442         <copy file="${libs.OpenSAML-20070323.classpath.libfile.1}" todir="${build.web.dir.real}/WEB-INF/lib"/> 
     455    <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir"> 
     456        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.ApacheCommons.classpath.libfile.6}"/> 
     457        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.ApacheCommons.classpath.libfile.5}"/> 
     458        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.ApacheCommons.classpath.libfile.4}"/> 
     459        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.ApacheCommons.classpath.libfile.3}"/> 
     460        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.ApacheCommons.classpath.libfile.2}"/> 
     461        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.ApacheCommons.classpath.libfile.1}"/> 
     462        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.Javolution.classpath}"/> 
     463        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.OpenSAML-20070323.classpath.libfile.6}"/> 
     464        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.OpenSAML-20070323.classpath.libfile.5}"/> 
     465        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.OpenSAML-20070323.classpath.libfile.4}"/> 
     466        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.OpenSAML-20070323.classpath.libfile.3}"/> 
     467        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.OpenSAML-20070323.classpath.libfile.2}"/> 
     468        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.OpenSAML-20070323.classpath.libfile.1}"/> 
     469        <copy todir="${build.web.dir.real}/WEB-INF/lib" file="${libs.Velocity.classpath}"/> 
    443470    </target> 
    444471    <target name="do-ear-dist" depends="init,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest"> 
    445         <dirname property="dist.jar.dir" file="${dist.ear.war}"/> 
     472        <dirname file="${dist.ear.war}" property="dist.jar.dir"/> 
    446473        <mkdir dir="${dist.jar.dir}"/> 
    447         <jar jarfile="${dist.ear.war}" compress="${jar.compress}" manifest="${build.web.dir.real}/META-INF/MANIFEST.MF"> 
     474        <jar manifest="${build.web.dir.real}/META-INF/MANIFEST.MF" compress="${jar.compress}" jarfile="${dist.ear.war}"> 
    448475            <fileset dir="${build.web.dir.real}"/> 
    449476        </jar> 
     
    479506    </target> 
    480507    <target name="run-deploy" depends="init,compile,compile-jsps,-do-compile-single-jsp,dist,-pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,-post-run-deploy"/> 
    481     <target name="-run-deploy-nb" if="netbeans.home"> 
    482         <nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/> 
    483     </target> 
    484     <target name="-init-deploy-ant" unless="netbeans.home"> 
    485         <property name="deploy.ant.archive" value="${dist.war}"/> 
    486         <property name="deploy.ant.docbase.dir" value="${web.docbase.dir}"/> 
    487         <property name="deploy.ant.resource.dir" value="${resource.dir}"/> 
    488         <property name="deploy.ant.enabled" value="true"/> 
     508    <target if="netbeans.home" name="-run-deploy-nb"> 
     509        <nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/> 
     510    </target> 
     511    <target unless="netbeans.home" name="-init-deploy-ant"> 
     512        <property value="${dist.war}" name="deploy.ant.archive"/> 
     513        <property value="${web.docbase.dir}" name="deploy.ant.docbase.dir"/> 
     514        <property value="${resource.dir}" name="deploy.ant.resource.dir"/> 
     515        <property value="true" name="deploy.ant.enabled"/> 
    489516    </target> 
    490517    <target name="run-undeploy" depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant"/> 
    491     <target name="-run-undeploy-nb" if="netbeans.home"> 
     518    <target if="netbeans.home" name="-run-undeploy-nb"> 
    492519        <fail message="Undeploy is not supported from within the IDE"/> 
    493520    </target> 
     
    496523    </target> 
    497524    <target name="run-display-browser" depends="run-deploy,-init-display-browser,-display-browser-nb,-display-browser-cl"/> 
    498     <target name="-init-display-browser" if="do.display.browser"> 
     525    <target if="do.display.browser" name="-init-display-browser"> 
    499526        <condition property="do.display.browser.nb"> 
    500527            <isset property="netbeans.home"/> 
     
    504531        </condition> 
    505532    </target> 
    506     <target name="-display-browser-nb" if="do.display.browser.nb"> 
     533    <target if="do.display.browser.nb" name="-display-browser-nb"> 
    507534        <nbbrowse url="${client.url}"/> 
    508535    </target> 
    509     <target name="-get-browser" if="do.display.browser.cl" unless="browser"> 
    510         <condition property="browser" value="rundll32"> 
     536    <target unless="browser" if="do.display.browser.cl" name="-get-browser"> 
     537        <condition value="rundll32" property="browser"> 
    511538            <os family="windows"/> 
    512539        </condition> 
    513         <condition property="browser.args" value="url.dll,FileProtocolHandler" else=""> 
     540        <condition else="" value="url.dll,FileProtocolHandler" property="browser.args"> 
    514541            <os family="windows"/> 
    515542        </condition> 
    516         <condition property="browser" value="/usr/bin/open"> 
     543        <condition value="/usr/bin/open" property="browser"> 
    517544            <os family="mac"/> 
    518545        </condition> 
    519546        <property environment="env"/> 
    520         <condition property="browser" value="${env.BROWSER}"> 
     547        <condition value="${env.BROWSER}" property="browser"> 
    521548            <isset property="env.BROWSER"/> 
    522549        </condition> 
    523         <condition property="browser" value="/usr/bin/firefox"> 
     550        <condition value="/usr/bin/firefox" property="browser"> 
    524551            <available file="/usr/bin/firefox"/> 
    525552        </condition> 
    526         <condition property="browser" value="/usr/local/firefox/firefox"> 
     553        <condition value="/usr/local/firefox/firefox" property="browser"> 
    527554            <available file="/usr/local/firefox/firefox"/> 
    528555        </condition> 
    529         <condition property="browser" value="/usr/bin/mozilla"> 
     556        <condition value="/usr/bin/mozilla" property="browser"> 
    530557            <available file="/usr/bin/mozilla"/> 
    531558        </condition> 
    532         <condition property="browser" value="/usr/local/mozilla/mozilla"> 
     559        <condition value="/usr/local/mozilla/mozilla" property="browser"> 
    533560            <available file="/usr/local/mozilla/mozilla"/> 
    534561        </condition> 
    535         <condition property="browser" value="/usr/sfw/lib/firefox/firefox"> 
     562        <condition value="/usr/sfw/lib/firefox/firefox" property="browser"> 
    536563            <available file="/usr/sfw/lib/firefox/firefox"/> 
    537564        </condition> 
    538         <condition property="browser" value="/opt/csw/bin/firefox"> 
     565        <condition value="/opt/csw/bin/firefox" property="browser"> 
    539566            <available file="/opt/csw/bin/firefox"/> 
    540567        </condition> 
    541         <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla"> 
     568        <condition value="/usr/sfw/lib/mozilla/mozilla" property="browser"> 
    542569            <available file="/usr/sfw/lib/mozilla/mozilla"/> 
    543570        </condition> 
    544         <condition property="browser" value="/opt/csw/bin/mozilla"> 
     571        <condition value="/opt/csw/bin/mozilla" property="browser"> 
    545572            <available file="/opt/csw/bin/mozilla"/> 
    546573        </condition> 
    547574    </target> 
    548     <target name="-display-browser-cl" depends="-get-browser" if="do.display.browser.cl"> 
     575    <target if="do.display.browser.cl" depends="-get-browser" name="-display-browser-cl"> 
    549576        <fail unless="browser"> 
    550577                    Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable. 
    551578                </fail> 
    552         <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/> 
     579        <property value="${deploy.ant.client.url}${client.urlPart}" name="browse.url"/> 
    553580        <echo>Launching ${browse.url}</echo> 
    554         <exec executable="${browser}" spawn="true"> 
     581        <exec spawn="true" executable="${browser}"> 
    555582            <arg line="${browser.args} ${browse.url}"/> 
    556583        </exec> 
     
    564591            --> 
    565592    <target name="debug" description="Debug project in IDE." depends="init,compile,compile-jsps,-do-compile-single-jsp,dist" if="netbeans.home"> 
    566         <nbdeploy debugmode="true" clientUrlPart="${client.urlPart}"/> 
     593        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true"/> 
    567594        <antcall target="connect-debugger"/> 
    568595        <antcall target="debug-display-browser"/> 
    569596    </target> 
    570     <target name="connect-debugger" unless="is.debugged"> 
    571         <nbjpdaconnect name="${name}" host="${jpda.host}" address="${jpda.address}" transport="${jpda.transport}"> 
     597    <target unless="is.debugged" name="connect-debugger"> 
     598        <nbjpdaconnect transport="${jpda.transport}" address="${jpda.address}" host="${jpda.host}" name="${name}"> 
    572599            <classpath> 
    573600                <path path="${debug.classpath}:${ws.debug.classpaths}"/> 
     
    576603                <path path="${web.docbase.dir}:${ws.web.docbase.dirs}"/> 
    577604            </sourcepath> 
     605            <bootclasspath> 
     606                <path path="${platform.bootcp}"/> 
     607            </bootclasspath> 
    578608        </nbjpdaconnect> 
    579609    </target> 
    580     <target name="debug-display-browser" if="do.display.browser"> 
     610    <target if="do.display.browser" name="debug-display-browser"> 
    581611        <nbbrowse url="${client.url}"/> 
    582612    </target> 
     
    592622    <target name="-pre-debug-fix" depends="init"> 
    593623        <fail unless="fix.includes">Must set fix.includes</fail> 
    594         <property name="javac.includes" value="${fix.includes}.java"/> 
     624        <property value="${fix.includes}.java" name="javac.includes"/> 
    595625    </target> 
    596626    <target name="-do-debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,compile-single"> 
     
    603633    <target name="javadoc-build" depends="init"> 
    604634        <mkdir dir="${dist.javadoc.dir}"/> 
    605         <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true" useexternalfile="true"
     635        <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true" useexternalfile="true" executable="${platform.javadoc}"
    606636            <classpath> 
    607637                <path path="${javac.classpath}:${j2ee.platform.classpath}"/> 
     
    693723    <target name="-debug-start-debuggee-test" if="have.tests" depends="init,compile-test"> 
    694724        <fail unless="test.class">Must select one file in the IDE or set test.class</fail> 
    695         <webproject1:debug classname="junit.textui.TestRunner" classpath="${debug.test.classpath}" args="${test.class}"/> 
     725        <webproject1:debug args="${test.class}" classpath="${debug.test.classpath}" classname="junit.textui.TestRunner"/> 
    696726    </target> 
    697727    <target name="-debug-start-debugger-test" if="netbeans.home+have.tests" depends="init,compile-test"> 
    698         <webproject1:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/> 
     728        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/> 
    699729    </target> 
    700730    <target name="debug-test" depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test"/> 
     
    709739    <target name="deps-clean" depends="init" if="no.dist.ear.dir" unless="no.deps"/> 
    710740    <target name="do-clean" depends="init"> 
    711         <condition value="${build.web.dir.real}" property="build.dir.to.clean"> 
     741        <condition property="build.dir.to.clean" value="${build.web.dir.real}"> 
    712742            <isset property="dist.ear.dir"/> 
    713743        </condition> 
    714         <property value="${build.web.dir.real}" name="build.dir.to.clean"/> 
    715         <delete includeEmptyDirs="true" quiet="true"> 
     744        <property name="build.dir.to.clean" value="${build.web.dir.real}"/> 
     745        <delete quiet="true" includeEmptyDirs="true"> 
    716746            <fileset dir="${build.dir.to.clean}/WEB-INF/lib"/> 
    717747        </delete> 
    718748        <delete dir="${build.dir}"/> 
    719         <available file="${build.dir.to.clean}/WEB-INF/lib" type="dir" property="status.clean-failed"/> 
     749        <available property="status.clean-failed" type="dir" file="${build.dir.to.clean}/WEB-INF/lib"/> 
    720750        <delete dir="${dist.dir}"/> 
    721751    </target> 
    722752    <target name="check-clean" depends="do-clean" if="status.clean-failed"> 
    723753        <echo message="Warning: unable to delete some files in ${build.web.dir.real}/WEB-INF/lib - they are probably locked by the J2EE server. "/> 
    724         <echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/> 
     754        <echo message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again." level="info"/> 
    725755    </target> 
    726756    <target name="-post-clean"> 
  • AcmeIdp/trunk/nbproject/genfiles.properties

    r135 r142  
    1 build.xml.data.CRC32=4d2e78ea 
    2 build.xml.script.CRC32=6ed50798 
     1build.xml.data.CRC32=5d181752 
     2build.xml.script.CRC32=aba0f6b0 
    33build.xml.stylesheet.CRC32=95be3570 
    44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 
    55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 
    6 nbproject/build-impl.xml.data.CRC32=4d2e78ea 
    7 nbproject/build-impl.xml.script.CRC32=5398a86e 
     6nbproject/build-impl.xml.data.CRC32=5d181752 
     7nbproject/build-impl.xml.script.CRC32=18cffc42 
    88nbproject/build-impl.xml.stylesheet.CRC32=ac43bae1 
  • AcmeIdp/trunk/nbproject/project.properties

    r135 r142  
    2626    ${libs.ApacheCommons.classpath}:\ 
    2727    ${libs.Javolution.classpath}:\ 
    28     ${libs.Velocity1.4.classpath}:\ 
    29     ${libs.OpenSAML-20070323.classpath} 
     28    ${libs.OpenSAML-20070323.classpath}:\ 
     29    ${libs.Velocity.classpath} 
    3030# Space-separated list of extra javac options 
    3131javac.compilerargs= 
    3232javac.debug=true 
    3333javac.deprecation=false 
    34 javac.source=${default.javac.source} 
    35 javac.target=${default.javac.target} 
     34javac.source=1.5 
     35javac.target=1.5 
    3636javac.test.classpath=\ 
    3737    ${javac.classpath}:\ 
     
    5252jspcompilation.classpath=${jspc.classpath}:${javac.classpath} 
    5353lib.dir=${web.docbase.dir}/WEB-INF/lib 
    54 platform.active=default_platform 
     54# Property libs.Velocity.classpath is set here just to make sharing of project simpler. 
     55# The library definition has always preference over this property. 
     56libs.Velocity.classpath=../../lib/velocity-1.5/velocity-1.5.jar 
     57platform.active=Java_HotSpot_TM__Client_VM_1.5.0_07-87 
    5558resource.dir=setup 
    5659run.test.classpath=\ 
  • AcmeIdp/trunk/nbproject/project.xml

    r135 r142  
    1 <?xml version="1.0" encoding="UTF-8"?> 
    2 <project xmlns="http://www.netbeans.org/ns/project/1"> 
     1<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://www.netbeans.org/ns/project/1"> 
    32    <type>org.netbeans.modules.web.project</type> 
    43    <configuration> 
     
    65            <name>AcmeIdp</name> 
    76            <minimum-ant-version>1.6</minimum-ant-version> 
     7            <explicit-platform explicit-source-supported="true"/> 
    88            <web-module-libraries> 
    9                 <library files="5"> 
     9                <library files="6"> 
    1010                    <file>${libs.ApacheCommons.classpath}</file> 
    1111                    <path-in-war>WEB-INF/lib</path-in-war> 
     
    1515                    <path-in-war>WEB-INF/lib</path-in-war> 
    1616                </library> 
    17                 <library files="1"> 
    18                     <file>${libs.Velocity1.4.classpath}</file> 
     17                <library files="6"> 
     18                    <file>${libs.OpenSAML-20070323.classpath}</file> 
    1919                    <path-in-war>WEB-INF/lib</path-in-war> 
    2020                </library> 
    21                 <library files="6"> 
    22                     <file>${libs.OpenSAML-20070323.classpath}</file> 
     21                <library files="1"> 
     22                    <file>${libs.Velocity.classpath}</file> 
    2323                    <path-in-war>WEB-INF/lib</path-in-war> 
    2424                </library> 
  • AcmeIdp/trunk/web/login.jsp

    r139 r142  
    5353      AuthnRequestImpl auth = (AuthnRequestImpl) session.getAttribute(_authnrequest); 
    5454      // we must now build the Response object to redirect the user back to the SP with 
     55      // saml-core-2.0 has example of a response object, section 5.4.6, page 70 
    5556      ResponseBuilder rspBldr = (ResponseBuilder) builderFactory.getBuilder(Response.DEFAULT_ELEMENT_NAME); 
    5657      Response rsp = rspBldr.buildObject(); 
  • AcmeIdp/trunk/web/recv-authnrequest.jsp

    r139 r142  
    6464  Response rsp = rspBldr.buildObject(); 
    6565 
     66  ResponseBuilder respBldr = (ResponseBuilder) builderFactory.getBuilder(Response.DEFAULT_ELEMENT_NAME); 
     67  Response resp = respBldr.buildObject(); 
     68   
    6669%>     
    6770<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"