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

[jira] Created: (GERONIMO-1681) directory module migration to Maven2

directory module migration to Maven2
------------------------------------

         Key: GERONIMO-1681
         URL: http://issues.apache.org/jira/browse/GERONIMO-1681
     Project: Geronimo
        Type: Sub-task
    Reporter: reghuram rajakumar vasanthakumari




-- 
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-1681) directory module migration to Maven2

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

Jacek Laskowski commented on GERONIMO-1681:
-------------------------------------------

After some tweaks committed as revision 383147. I wonder how it works for you. Could you please run it again with the latest sources and report how it goes?

I tried mvn -Dmodule=directory and finished with the following error:

java.lang.IllegalArgumentException: Base directory is not a directory: ./target
        at org.apache.geronimo.system.serverinfo.BasicServerInfo.<init>(BasicServerInfo.java:69)

I think it relates to the recent change wrt geronimo.home and geronimo.base.

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>  Attachments: pom.xml
>


-- 
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-1681) directory module migration to Maven2

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

    Fix Version: 1.x
     Resolution: Fixed

Verified thus eligibled to be closed. Thanks Prasad and Reghu!

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>     Assignee: reghuram rajakumar vasanthakumari
>      Fix For: 1.x
>  Attachments: org.apache.geronimo.directory.RunningTest.patch, pom.xml, pom.xml.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-1681) directory module migration to Maven2

Posted by "reghuram rajakumar vasanthakumari (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1681?page=comments#action_12368651 ] 

reghuram rajakumar vasanthakumari commented on GERONIMO-1681:
-------------------------------------------------------------

please assign this task to me.

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari

>


-- 
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-1681) directory module migration to Maven2

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

Prasad Kashyap commented on GERONIMO-1681:
------------------------------------------

Sorry. Hadn't seen this JIRA. Saw Anita's note on the devlist and created a new JIRA. (Geronimo-1717). 
http://issues.apache.org/jira/browse/GERONIMO-1717

That has the patch to run tests successfully.

This module can now be considered migrated successfully.

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>     Assignee: reghuram rajakumar vasanthakumari
>  Attachments: org.apache.geronimo.directory.RunningTest.patch, pom.xml, pom.xml.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-1681) directory module migration to Maven2

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

reghuram rajakumar vasanthakumari updated GERONIMO-1681:
--------------------------------------------------------

    Attachment: pom.xml

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>  Attachments: pom.xml
>


-- 
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-1681) directory module migration to Maven2

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

Anita Kulshreshtha commented on GERONIMO-1681:
----------------------------------------------

There are test failures (rev 383311).


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running org.apache.geronimo.directory.RunningTest
10:10:59,609 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: objectName="geronimo.sys
tem:type=Directory"
java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException
        at org.apache.geronimo.directory.DirectoryGBean.doStart(DirectoryGBean.java:197)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:939)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:523)
        at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:203)
.....................................................................................................................................

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>     Assignee: reghuram rajakumar vasanthakumari
>  Attachments: pom.xml
>


-- 
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-1681) directory module migration to Maven2

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

Dain Sundstrom reassigned GERONIMO-1681:
----------------------------------------

    Assign To: reghuram rajakumar vasanthakumari

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>     Assignee: reghuram rajakumar vasanthakumari
>  Attachments: pom.xml
>


-- 
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-1681) directory module migration to Maven2

Posted by "reghuram rajakumar vasanthakumari (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1681?page=comments#action_12368655 ] 

reghuram rajakumar vasanthakumari commented on GERONIMO-1681:
-------------------------------------------------------------

Hi,
     I have written the pom.xml for directory module.  I have used the dependency plugin, please let me know whether 
it has to be removed


[INFO] [compiler:compile]
Compiling 5 source files to /opt/Workspace/Geronimo/Geronimo/modules/directory/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
     [copy] Copying 1 file to /opt/Workspace/Geronimo/Geronimo/modules/directory/target/var
[INFO] Executed tasks
[INFO] [compiler:testCompile]
Compiling 1 source file to /opt/Workspace/Geronimo/Geronimo/modules/directory/target/test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir: /opt/Workspace/Geronimo/Geronimo/modules/directory/target/surefire-reports
 
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running org.apache.geronimo.directory.RunningTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.327 sec
[INFO] [jar:jar]
[INFO] Building jar: /opt/Workspace/Geronimo/Geronimo/modules/directory/target/geronimo-directory-1.2-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing /opt/Workspace/Geronimo/Geronimo/modules/directory/target/geronimo-directory-1.2-SNAPSHOT.jar to /root/.m2/repository/org/apache/geronimo/geronimo-directory/1.2-SNAPSHOT/geronimo-directory-1.2-SNAPSHOT.jar
[INFO] [maven-one-plugin:install-maven-one-repository {execution: default}]
[INFO] Installing /opt/Workspace/Geronimo/Geronimo/modules/directory/target/geronimo-directory-1.2-SNAPSHOT.jar to /root/.maven/repository/org.apache.geronimo/jars/geronimo-directory-1.2-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Fri Mar 03 10:51:15 IST 2006
[INFO] Final Memory: 10M/19M
[INFO] ----------------------------------------------------------------------------

regards
reghu

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>  Attachments: pom.xml
>


-- 
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-1681) directory module migration to Maven2

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

reghuram rajakumar vasanthakumari updated GERONIMO-1681:
--------------------------------------------------------

    Attachment: org.apache.geronimo.directory.RunningTest.patch
                pom.xml.patch

Hi Jaeck,
             Sorry for late response. The problem with ./target was due to the TestCase RunningTest.java,  the setup method has been wriiten like 
                             serverInfoGBean.setAttribute("baseDirectory", "./target"); 
so that it will work when we run 'mvn install' from modules/directory. But it complains when we run 'mvn -Dmodules=directory" 

CNFE is due to some missing dependency in pom.xml.  

I am attaching the patch for both RunningTest.java and pom.xml


Regards,
Reghu



> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>     Assignee: reghuram rajakumar vasanthakumari
>  Attachments: org.apache.geronimo.directory.RunningTest.patch, pom.xml, pom.xml.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-1681) directory module migration to Maven2

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

Anita Kulshreshtha commented on GERONIMO-1681:
----------------------------------------------

What happens if you use serverInfoGBean.setAttribute("baseDirectory", " target")   , ie.e no "./"

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>     Assignee: reghuram rajakumar vasanthakumari
>  Attachments: org.apache.geronimo.directory.RunningTest.patch, pom.xml, pom.xml.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-1681) directory module migration to Maven2

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

Jacek Laskowski commented on GERONIMO-1681:
-------------------------------------------

Sending        modules/directory/pom.xml
Sending        modules/directory/src/test/org/apache/geronimo/directory/RunningTest.java
Transmitting file data ..
Committed revision 383848.

The tests don't work, though, when executed from within modules/directory dir. Needs to be sorted out before the task is closed.

> directory module migration to Maven2
> ------------------------------------
>
>          Key: GERONIMO-1681
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1681
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: reghuram rajakumar vasanthakumari
>     Assignee: reghuram rajakumar vasanthakumari
>  Attachments: org.apache.geronimo.directory.RunningTest.patch, pom.xml, pom.xml.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