Bugs item #468161, was opened at 2001-10-04 20:57
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=468161&group_id=22866

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Errors in example build.xml file?

Initial Comment:


                    I think I have found a couple of errors in the 
examples/build/build.xml file. Please 
forgive me if these represent my misunderstanding rather being
                    actual errors or if they have already been reported. (I couldn't 
see any sign of 
them 
when I searched though.)

                    Starting with the most trivial ones: The numbering for the 
chapters on CMP, JAWS 
and JMS should be 5,6, 8 respectively.

                    Secondly, the line:
                    <property name="servlet.jar" 
value="${env.JBOSS_DIST}}/../tomcat/lib/servlet.jar"/>
                    should have only one } not }} after JBOSS_DIST. The change made no 
apparent 
difference to the operation, for me.

                    The final and more serious error for me was in the "Chapter 4 - 
CMP" section. The 
build-client.xml file is called from this section for three of the
                    targets, but when I initially tried it, it failed. The reason 
being that the "client" 
property had not been set in build.xml. I changed the code to the
                    following (but I don't know much about XML, so am not sure whether 
it is the 
'proper' way to do it.):

                    <target name="cmp-cd-list" depends="init">
                    <property name="client" value="List" />
                    <ant antfile="org/jboss/docs/cmp/cd/build/build-client.xml" 
target="main" />
                    </target>

                    <target name="cmp-cd-upload" depends="init">
                    <property name="client" value="Upload" />
                    <ant antfile="org/jboss/docs/cmp/cd/build/build-client.xml" 
target="main" />
                    </target>

                    <target name="cmp-cd-remove" depends="init">
                    <property name="client" value="Remove" />
                    <ant antfile="org/jboss/docs/cmp/cd/build/build-client.xml" 
target="main" />
                    </target>

                    After adding the three lines shown in italics the code worked and 
I was able to 
successfully run the upload and list clients.

                    I hope this is of help.

                    Cheers
                    Roger

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=468161&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to