Re: Help wanted to diagnose an xsd error in running Java code generator

2005-09-29 Thread Nacho G. Mac Dowell
Hi Shaoguang, the problem is that your xsd is not valid. If you want to go the quick way, either remove the targetNamespace or add to the xs:shema element xmlns=com.jaxme. But I recommend reading: http://www.w3.org/TR/xmlschema-0/#NS BTW, the ant task is going to complain because it won't be

Re: maven

2005-08-19 Thread Nacho G. Mac Dowell
robert burrell donkin wrote: it's not really working for me (at all). probably just something stupid i've done (or not done). if you give me some exact instructions, i'll try to replicate. - robert Can you update now your project? I converted the docs to anakia. Try running goal test and

[jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

2005-08-19 Thread Nacho G. Mac Dowell (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12319341 ] Nacho G. Mac Dowell commented on JAXME-64: -- Hi all! I was thinking on how to integrate the plugin within jaxme. Do we want a generic jaxme plugin as suggested here

Re: ChainGenerator

2005-08-19 Thread Nacho G. Mac Dowell
Update your sources to be able to reproduce! nacho PD: On common-build there is a maven.xml with a goal build. All projects inherit this goal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[jira] Commented: (JAXME-64) [PATCH] Maven plugin for JaxMe2

2005-08-19 Thread Nacho G. Mac Dowell (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12319357 ] Nacho G. Mac Dowell commented on JAXME-64: -- Silly me... Yes there is no difference, we could have a generic goal for xjc and then more specific ones to build

Re: maven

2005-08-19 Thread Nacho G. Mac Dowell
Hi all, JaxMeCore is now compiling the schemas properly and passing all tests! :-) Running the multiproject goal on the top level project should install the jars in the local repository and generate the multiproject site. Please give it a try and see if this is reproducible. Notice that at

Re: maven

2005-08-19 Thread Nacho G. Mac Dowell
Jochen Wiedmann wrote: I receive the following error message here. (Perhaps I need to set some property?) No, I forgot to say that the supplied docs from the top level project are not being transformed because they are not in anakia format. You can either rename the xdocs directory from

Re: Jaxme Maven

2005-08-17 Thread Nacho G. Mac Dowell
robert burrell donkin wrote: two good reasons: forrest produces nice multi-format documentation and has good support for doc-book. FYI soon, all ASF websites will be generated through (next generation) forrest. site:deploy (and so on) will no longer be available so if people are still happy

Re: Jaxme Maven

2005-08-17 Thread Nacho G. Mac Dowell
Jochen Wiedmann wrote: Confused ... is Anakia format the format used by the XDoc plugin? yes (At least my impression is, that we'll all benefit, if we are working with the same version ASAP.) got it I am getting an authorization failure when trying to copy a branch. Is there

Re: Subversion's up and running

2005-08-17 Thread Nacho G. Mac Dowell
Is anybody using subclipse? I was wondering if it has the same effect to move folders around in the workspace and then comitting as if I do it from the rename/move sync view. I suppose this is the only way (at least the latter) to keep the resource history. Isn't it? Anyway, SVN rocks! I

Re: Jaxme Maven

2005-08-05 Thread Nacho G. Mac Dowell
Jochen Wiedmann wrote: Choose the approach, which is more simple. If we want, we can change later. I've already taken the more complicated approach :-[ We'll do it the other way around if it's ok with you. I'll refactor if it proves to be a pain... I know of no possibility to specify

Re: Jaxme Maven

2005-08-05 Thread Nacho G. Mac Dowell
robert burrell donkin wrote: it's usually worth mentioning that you're trying to mavenise an apache project when asking on the maven lists Brett Porter is showing quite a lot of interest on this issue. BTW I did mention it was for ws-jaxme ;-) I've made a first-approach-patch and it's

ChainGenerator

2005-08-05 Thread Nacho G. Mac Dowell
I've successfully mavenized api, xs and js. All tests are ran by maven and pass. I am now mavenizing jm and I am facing a class loading problem with the chain generator. If I use it as-is (not from ant, from maven), then there is a npe because Thread.currentThread().getContextClassLoader() is

Re: Jaxme Maven

2005-08-05 Thread Nacho G. Mac Dowell
I have 10 days off now and will be leaving in an hour or so 8-) So if there are no answers from me for this thread is not that I am not interested or anything. I'm just relaxing a bit... best regards, nacho PD: As soon as I am back it will only be a matter of days before I check in the

Re: Jaxme Maven

2005-08-04 Thread Nacho G. Mac Dowell
I wouldn't use checkstyle, until someone makes a serious effort to clean up the sources. As soon as someone did, we can very well add the file later. I'll leave the checkstyle file but forget about the report for the time being Ok, I have a few more questions... - Do we want a changes.xml

Jaxme Maven

2005-08-03 Thread Nacho G. Mac Dowell
I have a few questions regarding jaxme's mavenizing. I'm sure there are more to come :-) - Project JaxMe2 has been renamed to JaxMeCore so it doesn't clash with the top-level project. Any other ideas? - How do we want to handle subproject's version? All subprojects have the same version? -

Re: Jaxme Maven

2005-08-03 Thread Nacho G. Mac Dowell
Nice one, Fredrik! :-) I'll try it out later but it totally seems like the right track. I was looking at the antlr plugin which does exactly the same! Thanks nacho Fredrik Vraalsen wrote: Nacho G. Mac Dowell wrote: - When building JS's tests the first thing I did

Re: cvs commit: ws-jaxme status.xml build.xml

2005-05-20 Thread Nacho G. Mac Dowell
[EMAIL PROTECTED] wrote: Prepared 0.4 final. I have made Richard's changes in xjctask.xml. However, I am hesitating to check in because I am not sure if you are in the process of building. Should I just commit it to HEAD? regards, nacho PD: I think the best way to avoid this is to actually

[jira] Commented: (JAXME-54) ISO-8859-1 encoding not working correctly.

2005-05-20 Thread Nacho G. Mac Dowell (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-54?page=comments#action_65848 ] Nacho G. Mac Dowell commented on JAXME-54: -- When specifying an XML encoding as follows: marshaller.setProperty(Marshaller.JAXB_ENCODING, ISO-8859-1); I get

[jira] Created: (JAXME-50) The generation of isSet methods generates wrong code

2005-05-06 Thread Nacho G. Mac Dowell (JIRA)
) Reporter: Nacho G. Mac Dowell Priority: Minor Geert Barentsen wrote: The generation of isSet methods (jaxb:globalBindings generateIsSetMethod=true /) seems to be wrong in nested classes because of an extra underscore. Below is a short example of wrongly generated code: both _period and period

[jira] Closed: (JAXME-48) ClassCastException in IndentationEngineImpl (write method) when a primitive array

2005-04-21 Thread Nacho G. Mac Dowell (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-48?page=all ] Nacho G. Mac Dowell closed JAXME-48: Resolution: Fixed Fix Version: current (nightly) Applied patch on HEAD and v0_4. ClassCastException in IndentationEngineImpl (write method

Re: JAXME-47

2005-04-19 Thread Nacho G. Mac Dowell
, Nacho Jochen Wiedmann wrote: On Apr 12, 2005 10:51 AM, Nacho G. Mac Dowell [EMAIL PROTECTED] wrote: Anyway I think I know now enough about the issue to tackle it: All SimpleTypeSG should provide the correct getCastFromString and getXMLField should use this. right? Exactly

[jira] Created: (JAXME-48) ClassCastException in IndentationEngineImpl (write method) when a primitive array

2005-04-19 Thread Nacho G. Mac Dowell (JIRA)
Components: JaxMeJS Reporter: Nacho G. Mac Dowell Priority: Minor The method write(IndentationTarget pTarget, Object pObject) in IndentationEngineImpl throws a ClassCastException when object type is a primitive array. The solution is (AFAIK) to use reflection. The patch: Index

Re: Announce: Nested group support

2005-03-11 Thread Nacho G. Mac Dowell
I have absolutely no idea about Maven. What are the advantages? Quoting Maven's site: Maven is a Java project management and project comprehension tool. Maven is based on the concept of a project object model (POM) in that all the artifacts produced by Maven are a result of consulting a well

Re: Announce: Nested group support

2005-03-10 Thread Nacho G. Mac Dowell
Hi Jochen, Another side effect, we are very close to support for POJO's now Do you mean we'll be able to reverse jaxb's behaviour? This would definitely attract a lot more users! Volunteers? I am releasing an app next week and will probably be able to come back (hopefully) in two weeks time. I