I'm having some problems with AntDocs subtask of <doclet>.
It's generating an .xml file. However, the class description has
XML entity references in it, such as < and >. Shouldn't the
section with the class description be enclosed in a <![CDATA[ ]]>
block? The current generation causes an XML parse error when i try
to use DVSL to transform this .xml into .html
I believe this is an XDoclet issue, not dvsl, which is why i'm posting
here.
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<properties>
<title>antcallback</title>
<author email="[EMAIL PROTECTED]">XDoclet
Team</author>
</properties>
<head>
<link rel="shortcut icon" href="../../../../../favicon.ico" />
<link rel="icon" href="../../../../../favicon.ico" />
</head>
<body>
<section name="antcallback">
<p>
Identical (copy and paste, even) to the 'Ant' task, with the
exception that properties from the new project can be copied back into the
original project. Further modified to emulate "antcall". Build a
sub-project. <target name="foo" depends="init">
<ant antfile="build.xml" target="bar" >
<property name="property1" value="aaaaa" />
<property name="foo" value="baz" />
</ant></SPAN> </target></SPAN> <target name="bar"
depends="init"> <echo message="prop is ${property1}
${foo}" /> </target> Developed for use with Antelope, migrated
to ant-contrib Oct 2003. Credit to Costin for the original <ant> task,
on which this is based.
</p>
-----Original Message-----
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 1:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Many to many with Hibernate
Yeah
I wouldn't mind having a butchers.. (uk idiom for take a look).
On 10 Feb 2004, at 12:29, kaxell wrote:
> Hi,
>
> Thanks for your replys, but the trick I used to get it working was
> with the "@hibernate.collection-composite-element" tag. If anyone is
> interested in seeing how it works just reply to this message and I'll
> put an example on the list.
>
> /Klas
>
>
>>
>> From: "Shishir K. Singh" <[EMAIL PROTECTED]>
>> Date: 2004/02/06 fr PM 04:23:22 GMT
>> To: <[EMAIL PROTECTED]>
>> �mne: RE: [Xdoclet-user] Many to many with Hibernate
>>
>> I would say that have a look at the test suite that comes with the
>> xdoclet src and look for the hibernate examples. I think that I saw
>> something similar to what you need. I too had the same concerns but I
>> decided to opt the easy way out (due to lack of time) by putting id
>> in
>> each of my assocition class (that joins the two many to many class).
>>
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of kaxell
>> Sent: Friday, February 06, 2004 10:47 AM
>> To: [EMAIL PROTECTED]
>> Subject: [Xdoclet-user] Many to many with Hibernate
>>
>> Hi,
>>
>> I'm using xdoclet to generate my hibernate mapping files but I have a
>> problem when I'm trying to generate a many to many relationship. I
>> have
>> two tables which have a many to many relationship. They are linked to
>> eachother with a third table which also contains some extra properties
>> except the keys of the others. I have three separate classes and I'm
>> using a many-to-one relationship in the linking table to the other two
>> and from the two I'm using a one-to-many relationship. When I try to
>> generate the mapping files I get an exception which says that my
>> linking
>> table is missing an id.
>>
>> What I understand is that I haven't got it right in the xdoclet tags
>> but
>> I don't know how to fix it. Does anyone have any suggestions or
>> examples
>> how to solve this? The doclet is looking something like this:
>>
>> /**
>> * @hibernate.set
>> * lazy="true"
>> * inverse="true"
>> * @hibernate.collection-key
>> * column="colId"
>> * @hibernate.collection-one-to-many
>> * class="TheRelClass"
>> *
>> */
>>
>> --------------
>>
>> /**
>> * @hibernate.many-to-one
>> * column="colId"
>> * class="TheManyClass"
>> *
>> */
>>
>>
>> Thanks in advance.
>>
>> /K
>>
>>
>>
>> -------------------------------------------------------
>> The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference
>> on
>> Open Tools Development and Integration See the breadth of Eclipse
>> activity. February 3-5 in Anaheim, CA.
>> http://www.eclipsecon.org/osdn
>> _______________________________________________
>> xdoclet-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>>
>>
>> -------------------------------------------------------
>> The SF.Net email is sponsored by EclipseCon 2004
>> Premiere Conference on Open Tools Development and Integration
>> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>> http://www.eclipsecon.org/osdn
>> _______________________________________________
>> xdoclet-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user