You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org> on 2006/03/05 15:59:42 UTC

[jira] Created: (GERONIMO-1693) j2ee-scheme module migration to Maven2

j2ee-scheme module migration to Maven2
--------------------------------------

         Key: GERONIMO-1693
         URL: http://issues.apache.org/jira/browse/GERONIMO-1693
     Project: Geronimo
        Type: Sub-task
    Reporter: Anita Kulshreshtha




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by Jacek Laskowski <el...@gmail.com>.
2006/3/8, Prasad Kashyap <go...@gmail.com>:
> Jacek,
>
> Let me know what you think about this comment ?
> http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369392

Whow, what an excellent way to trigger the response someone's need! ;)
I read it in the morning, but couldn't digest it so far. I would
rather not want to delete anything which seems to clutter the sources,
but may really turn out to be used rarely but still. Will look into
its use and commit or talk it over later on.

> Either we can delete the file or see if the xmlbeans mojo has a way to
> include/exclude just the needed files from a schemaDirectory.

That would be much, much safer. Will have to look at the
xmlbeans-plugin's sources. If you come up with something interesting,
drop a line at once. If it doesn't support it yet, I think we could
submit a patch and gently ask Brett (or others from the M2 dev team)
to commit it.

Thanks for your patience.

> Prasad

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl

Re: [jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by Prasad Kashyap <go...@gmail.com>.
Jacek,

Let me know what you think about this comment ?
http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369392

Either we can delete the file or see if the xmlbeans mojo has a way to
include/exclude just the needed files from a schemaDirectory.

Cheers
Prasad

On 3/8/06, Prasad Kashyap (JIRA) <de...@geronimo.apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369392 ]
>
> Prasad Kashyap commented on GERONIMO-1693:
> ------------------------------------------
>
> The patch for this module lies in deleting src\j2ee_1_4schema/j2ee_web_services_client_1_1.xsd file.
>
> Not just b'coz this is the file that is causing all the errors but also b'coz even the maven.xml during m1 build never tries to load this xsd.
>
> Now, I tried to load this file in maven.xml and it worked fine in m1 is a different matter :-P
>
> Errors due to j2ee_web-services_client_1_1.xsd :
> --------
> xml ErrorLoading referenced file http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd
>
> xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:60: error: sch-props-correct.2: Duplicate global type: port-component-refType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_services_client_1_1.xsd)
>
> xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:135: error: sch-props-correct.2: Duplicate global type: service-refType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_services_client_1_1.xsd)
>
> xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:259: error: sch-props-correct.2: Duplicate global type: service-ref_handlerType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_services_client_1_1.xsd)
>
> xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:112: error: sch-props-correct.2: Duplicate model group: service-refGroup@http://java.sun.com/xml/ns/j2ee (Original model group found in file: j2ee_web_services_client_1_1.xsd)
>
> xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
>
> xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
>
> xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
>
> xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
> ----------------
>
> Cheers
> Prasad
>
>
> > j2ee-schema module migration to Maven2
> > --------------------------------------
> >
> >          Key: GERONIMO-1693
> >          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
> >      Project: Geronimo
> >         Type: Sub-task
> >     Reporter: Anita Kulshreshtha
> >     Priority: Blocker
> >  Attachments: pom.patch
> >
>
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>

[jira] Updated: (GERONIMO-1693) Module migration to Maven2: j2ee-schema

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]

Dain Sundstrom updated GERONIMO-1693:
-------------------------------------

    Component: buildsystem

> Module migration to Maven2: j2ee-schema
> ---------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Security: public(Regular issues) 
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369336 ] 

Anita Kulshreshtha commented on GERONIMO-1693:
----------------------------------------------

Interesting indeed... It was not working for me, but the 'directory' was. So I used this form and made this editing error. 
After doing this the build worked! and worked many times. After this I built security and the full build and then tomcat!
Thanks Prasad! for pointing this out.


> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by anita kulshreshtha <a_...@yahoo.com>.
Thanks David! comments inline...

--- "David Jencks (JIRA)" <de...@geronimo.apache.org>
wrote:

>     [
>
http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369562
> ] 
> 
> David Jencks commented on GERONIMO-1693:
> ----------------------------------------
> 
> The problems seem to be caused by xmlbeans
> downloading a copy of the webservices client schema
> from the web rather than using the local copy.  This
> brings up the point that it is essential that
> download=false for all our use of xmlbeans.  We must
> supply every schema that we compile.
> 
> In the m1 plugin I had to supply an entity resolver
> and a catalog manager in order to help xmlbeans find
> the correct local schemas.  Something similar may be
> needed here also.
    The catalogLocation is listed as a TODO item with
unknown use. Which means we need a modified plugin.
http://mojo.codehaus.org/xmlbeans-maven-plugin/xmlbeans-mojo.html
> 
> Also, in the m1 plugin you can specify modules to
> add to the xmlbeans compiler classpath, where these
> modules include stuff already generated by xmlbeans.
>  In this way xmlbeans won't generate duplicate
> copies of the already generated classes, and you
> won't have big problems with xmlbeans not able to
> find the missing schemas.  This will be more of a
> problem compiling the *-builder modules which tend
> to depend on each other.
> 
> I also strongly recommend setting noJavac true, but
> it is possible that the m2 plugin won't let you do
> this.  I think maven should be in control of
> compiling the generated code, not xmlbeans/ant.  I
> consider exposing this property and the others that
> let xmlbeans compile the results in the m2 plugin an
> error.
Good news, noJavac is available.
> 
> > j2ee-schema module migration to Maven2
> > --------------------------------------
> >
> >          Key: GERONIMO-1693
> >          URL:
> http://issues.apache.org/jira/browse/GERONIMO-1693
> >      Project: Geronimo
> >         Type: Sub-task
> >     Reporter: Anita Kulshreshtha
> >     Priority: Blocker
> >  Attachments: pom.patch
> >
> 
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of
> the administrators:
>   
>
http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369562 ] 

David Jencks commented on GERONIMO-1693:
----------------------------------------

The problems seem to be caused by xmlbeans downloading a copy of the webservices client schema from the web rather than using the local copy.  This brings up the point that it is essential that download=false for all our use of xmlbeans.  We must supply every schema that we compile.

In the m1 plugin I had to supply an entity resolver and a catalog manager in order to help xmlbeans find the correct local schemas.  Something similar may be needed here also.

Also, in the m1 plugin you can specify modules to add to the xmlbeans compiler classpath, where these modules include stuff already generated by xmlbeans.  In this way xmlbeans won't generate duplicate copies of the already generated classes, and you won't have big problems with xmlbeans not able to find the missing schemas.  This will be more of a problem compiling the *-builder modules which tend to depend on each other.

I also strongly recommend setting noJavac true, but it is possible that the m2 plugin won't let you do this.  I think maven should be in control of compiling the generated code, not xmlbeans/ant.  I consider exposing this property and the others that let xmlbeans compile the results in the m2 plugin an error.

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1693) Module migration to Maven2: j2ee-schema

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]

Prasad Kashyap updated GERONIMO-1693:
-------------------------------------

    Summary: Module migration to Maven2: j2ee-schema  (was: j2ee-schema module migration to Maven2)

> Module migration to Maven2: j2ee-schema
> ---------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-1693) Module migration to Maven2: j2ee-schema

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]
     
Anita Kulshreshtha resolved GERONIMO-1693:
------------------------------------------

    Fix Version: 1.2
     Resolution: Fixed

> Module migration to Maven2: j2ee-schema
> ---------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Security: public(Regular issues) 
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>      Fix For: 1.2
>  Attachments: pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]

Anita Kulshreshtha updated GERONIMO-1693:
-----------------------------------------

    Attachment: pom.patch

The above site has been updated to indicate that catalogLocation is 
available! Added catalogLocation and included only 
the schemas used in maven1 build. I have tested with rev 384583, both 
individual module and the top down build. Please test and provide 
feedback.

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]

Anita Kulshreshtha reassigned GERONIMO-1693:
--------------------------------------------

    Assign To: Anita Kulshreshtha

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369303 ] 

Prasad Kashyap commented on GERONIMO-1693:
------------------------------------------

I have compilation errors too.

Root cause:
C:\Apache\geronimo2\modules\j2ee-schema\src\java\org\apache\geronimo\schema\SchemaConversionUtils.java:[26,39] package org.apache.geronimo.xbeans.j2ee does not exist

The <phase>process-resource</phase> specified in the patch doesn't exist. So it the mojo execution is completely skipped.

The actual phase name is "process-resources".  The mojo gets executed under this phase but we now have the old errors.



> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369246 ] 

Jacek Laskowski commented on GERONIMO-1693:
-------------------------------------------

That's interesting. It works for me without the patch whereas it failed upon applying it (there're compilation problems). I've reverted to be using Maven 2.0.2 and some self-built plugins.

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1693) Module migration to Maven2: j2ee-schema

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]
     
Anita Kulshreshtha closed GERONIMO-1693:
----------------------------------------


> Module migration to Maven2: j2ee-schema
> ---------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Security: public(Regular issues) 
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>      Fix For: 1.2
>  Attachments: pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]

Anita Kulshreshtha updated GERONIMO-1693:
-----------------------------------------

        Summary: j2ee-schema module migration to Maven2  (was: j2ee-scheme module migration to Maven2)
    Description: 
    Environment: 

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]

Anita Kulshreshtha updated GERONIMO-1693:
-----------------------------------------

    Priority: Blocker  (was: Major)

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) Module migration to Maven2: j2ee-schema

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12374734 ] 

Anita Kulshreshtha commented on GERONIMO-1693:
----------------------------------------------

   The <catalogLocation>  element has been implemented and will be available in xmlbeans-maven-pluign version 2.0.1.  
http://jira.codehaus.org/browse/MXMLBEANS-3
       Need to update the plugin version and enable the <catalogLocation> in j2ee-schema module.

> Module migration to Maven2: j2ee-schema
> ---------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Security: public(Regular issues) 
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369392 ] 

Prasad Kashyap commented on GERONIMO-1693:
------------------------------------------

The patch for this module lies in deleting src\j2ee_1_4schema/j2ee_web_services_client_1_1.xsd file.

Not just b'coz this is the file that is causing all the errors but also b'coz even the maven.xml during m1 build never tries to load this xsd.

Now, I tried to load this file in maven.xml and it worked fine in m1 is a different matter :-P

Errors due to j2ee_web-services_client_1_1.xsd :
--------
xml ErrorLoading referenced file http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd

xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:60: error: sch-props-correct.2: Duplicate global type: port-component-refType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_services_client_1_1.xsd)

xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:135: error: sch-props-correct.2: Duplicate global type: service-refType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_services_client_1_1.xsd)

xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:259: error: sch-props-correct.2: Duplicate global type: service-ref_handlerType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_services_client_1_1.xsd)

xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:112: error: sch-props-correct.2: Duplicate model group: service-refGroup@http://java.sun.com/xml/ns/j2ee (Original model group found in file: j2ee_web_services_client_1_1.xsd)

xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)

xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)

xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)

xml ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: warning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
----------------

Cheers
Prasad


> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369655 ] 

Anita Kulshreshtha commented on GERONIMO-1693:
----------------------------------------------

The catalogLocation is listed as a TODO item with unknown use... Which means we need to modify the xmlbeans-maven- plugin to
accept catalogLocation.
http://mojo.codehaus.org/xmlbeans-maven-plugin/xmlbeans-mojo.html
    It does have noJavac option.

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) j2ee-scheme module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12368943 ] 

Anita Kulshreshtha commented on GERONIMO-1693:
----------------------------------------------

This module has been converted, there are compilation  failures :

[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Geronimo :: J2EE Schema
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
 xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\application-client_1
_4.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\application_1_4.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\connector_1_5.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\ejb-jar_2_1.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_1_4.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_jaxrpc_mapping_1
_1.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_1_1
.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_cli
ent_1_1.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\jsp_2_0.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\web-app_2_4.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\web-jsptaglibrary_2_0
.xsd
xml ErrorLoading schema file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\xml.xsd
xml ErrorLoading config file D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\conf\xmlconfig.xml
xml ErrorLoading referenced file http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd
xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:60: error: sch-props-correct.2: Duplicate g
lobal type: port-component-refType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_service
s_client_1_1.xsd)
xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:135: error: sch-props-correct.2: Duplicate
global type: service-refType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_services_clie
nt_1_1.xsd)
xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:259: error: sch-props-correct.2: Duplicate
global type: service-ref_handlerType@http://java.sun.com/xml/ns/j2ee (Original global type found in file: j2ee_web_servi
ces_client_1_1.xsd)
xml Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:112: error: sch-props-correct.2: Duplicate
model group: service-refGroup@http://java.sun.com/xml/ns/j2ee (Original model group found in file: j2ee_web_services_cli
ent_1_1.xsd)
xml ErrorD:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: war
ning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (
Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
xml ErrorD:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: war
ning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (
Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
xml ErrorD:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: war
ning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (
Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)
xml ErrorD:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: war
ning: sch-props-correct.2: Duplicate identity constraint: service-ref_handler-name-key@http://java.sun.com/xml/ns/j2ee (
Original identity constraint found in file: j2ee_web_services_client_1_1.xsd)

[INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Sun Mar 05 09:36:54 EST 2006
[INFO] Final Memory: 5M/11M
[INFO] ----------------------------------------------------------------------------


> j2ee-scheme module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369845 ] 

Jacek Laskowski commented on GERONIMO-1693:
-------------------------------------------

Committed revision 384763. This worked for me with and without the patch, actually. It makes the migration very interesting - some people report problems whereas the other don't see them at all.

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1693) j2ee-schema module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1693?page=all ]

Anita Kulshreshtha updated GERONIMO-1693:
-----------------------------------------

    Attachment: pom.patch

This patch fixes this module
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running org.apache.geronimo.schema.SchemaConversionUtilsTest
[surefire] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 3.781 sec
[INFO] [jar:jar]
[INFO] Building jar: D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\target\geronimo-j2ee-schema-1.2-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\target\geronimo-j2ee-schema-1.2-SNAPSHOT.jar to C:\
Documents and Settings\User\.m2\repository\org\apache\geronimo\geronimo-j2ee-schema\1.2-SNAPSHOT\geronimo-j2ee-schema-1.
2-SNAPSHOT.jar
[INFO] [maven-one-plugin:install-maven-one-repository {execution: default}]
[INFO] Installing D:\anita\geronimo\geronimo-1.1\modules\j2ee-schema\target\geronimo-j2ee-schema-1.2-SNAPSHOT.jar to C:\
Documents and Settings\User\.maven\repository\org.apache.geronimo\jars\geronimo-j2ee-schema-1.2-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Tue Mar 07 09:57:23 EST 2006
[INFO] Final Memory: 5M/13M
[INFO] ----------------------------------------------------------------------------

> j2ee-schema module migration to Maven2
> --------------------------------------
>
>          Key: GERONIMO-1693
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1693
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Priority: Blocker
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira