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

Category: JBossCMP
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Missing target parameters in examples bu

Initial Comment:
Hi

Just to let you know that I have recently downloaded 
and installed JBoss, and extremely impressed. Keep up 
the excellent work.

However, when working through the examples, I 
encountered a small problem when executing the 
command " ant cmp-cd-list" to try to build the client 
for the CD Entity Bean example. The error message was 
as follows:

main:
     [java] Exception in thread "main" 
java.lang.NoClassDefFoundError: org/jboss/docs/cmp/cd/
${client}


As a complete novice to ant, this was somewhat 
mysterious. But, thanks to the excellent readability 
of ant build files, I deduced that a property 
called "client" was expected for substitution here, 
and that the value should represent the name of the 
class to execute.

Returning to the "master" build.xml, I noticed that 
no "client" property had been set in any of the cmp-cd-
* targets, and so added one to each along the folloing 
lines:

    <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>

This cured the problem entirely, and everything else 
worked perfectly!


I'm not sure whether anyone else has pointed this out 
to you, but I thought i'd let you know in case 
everyone else thought that someone else would have 
done it, etc, etc.

Thanks for a great product.
Philip Hart



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

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

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

Reply via email to