oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Laidlaw (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OODT-452) Move the default File Manager policy files to 'core' subdirectory
Date Sat, 19 May 2012 19:26:41 GMT

    [ https://issues.apache.org/jira/browse/OODT-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279606#comment-13279606

Ross Laidlaw commented on OODT-452:

Hi Chris!

Apologies!  After reading your comment, I realised that I had not tested the build after moving
the files.  And indeed some unit tests for the filemgr component are failing with the build:

* org.apache.oodt.cas.filemgr.catalog.TestLuceneCatalog
* org.apache.oodt.cas.filemgr.ingest.TestLocalCache
* org.apache.oodt.cas.filemgr.ingest.TestStdIngester
* org.apache.oodt.cas.filemgr.ingest.TestRmiCache
* org.apache.oodt.cas.filemgr.tools.TestMetadataBasedProductMover
* org.apache.oodt.cas.filemgr.ingest.TestCachedIngester

So there's a bit more work to be done other than just moving the files over.  I found that
each test is failing because of the following code (same in each test class):

      "file://" + new File("./src/main/resources/examples").getAbsolutePath());

And if I change the above code to the following, the tests all pass and the build succeeds:

      "file://" + new File("./src/main/resources/examples/core").getAbsolutePath());

Would you be happy for me to commit the moves and also patch the tests?  I'll upload the patch
soon after posting this comment.

> Move the default File Manager policy files to 'core' subdirectory
> -----------------------------------------------------------------
>                 Key: OODT-452
>                 URL: https://issues.apache.org/jira/browse/OODT-452
>             Project: OODT
>          Issue Type: Sub-task
>          Components: file manager
>            Reporter: Ross Laidlaw
>              Labels: gsoc2012
>             Fix For: 0.5
> Move the current contents of http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/resources/examples,
i.e. the default File Manager policy files 'elements.xml', 'product-types.xml' and 'product-type-element-map.xml'
to a subdirectory named 'core', i.e.: http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/resources/examples/core.
> (ensure assembly.xml, unit tests, etc still work after moving!)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message