Hi:
After iteration to check what's wrong in my sample
application, I find another sample progam on internet
at http://muimi.com/j/jboss/xdoclet.html.
Finally I found out the problem may be likely resulted
from the build script - build.xml; which (has 'Name
Not Found' problem) I original borrowed
Sorry I forget to provide my client code. It's as
follow in A) secion.
I appreciate your reply, many thanks.
A.)
package client;
import javax.naming.*;
import javax.rmi.*;
import ejb.*;
public class EjbClient{
public static void main(String args[]) throws
Exception{
Newbie wrote:
> i encounter a problem when using xdoclet. the
> exception issues "Name not bound" as
> NameNotFoundException on client side(seemly have no
> access to the server due to no response printed on the
> server console).
NameNotFoundException is thrown when your JNDI lookup fails because
i encounter a problem when using xdoclet. the
exception issues "Name not bound" as
NameNotFoundException on client side(seemly have no
access to the server due to no response printed on the
server console).
the env i use: jboss3.2.3, j2sdk1.4.2_03, xdoclet1.2.
the session code is as below as well a
Hey all,
I can not seem to be able to map a CMR many-to-many relationship containing compound
keys. Has anyone had success with this in XDoclet 1.2?
In my case, the scenario is:
table1_storepk
table1_transactionpk
table1_datepk
table1_goodtransactionpk
table2_storepk
table2_remitpk
table2_datep
Thanks Andrew, I gotcha! Thanks to Tim and Erik too!!!
> However, xjavadoc.ant.XJavadocTask has a setEncoding(String) method
> that's commented "set source file charset", and DocletTask extends
> XJavadocTask (and all the others extend DocletTask). So, I reckon
> putting a encoding="ISO-8859-1" (
What we're discovering is the following:
We have got a master build that builds all the others.
When we run the master build, duplication of source generation is performed (and we
can guarantee that there is no source deletion); if we run the build from within each
single project, the code doe
I haven't used strutsdoclet but this might help.
I've found that merge resources in general need to be in a directory
structure that matches the package that your merging with.
package com.foo.struts;
..
MergeDir/com/foo/struts/struts-action.xml
Mark
On 30 Mar 2004, at 12:27, [EMAIL PROTECTED]
In an other project I generate a struts-config.xml. I want to reuse it in
my project and I want to know if it is possible during the merge to have a
base struts-config.xml, merge it with struts-action.xml ... and with the
result of the generation.
struts-config.xml (from other project) + struts-
Marco,
this is the standard behaviour. If files
are always recreated, then the root of your source might be wrong.
Xdoclet normally does scan all
files/directories though. Some ant experts can shurely telly you how
to
skip the task depending on some file system
state.
Von: [EMAIL PROTECT
Hi, my boss would
like to generate the XDoclet generated code
for our EJBs only when the "eventually generated"
code would be different from the "already
generated" one, thus avoiding lost of time.
Has anyone something to reccomend?
Thanks,
Marco
---
11 matches
Mail list logo