You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Kevin Jin (JIRA)" <ji...@apache.org> on 2009/01/06 03:13:44 UTC

[jira] Created: (SHINDIG-817) make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/

make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/
-----------------------------------------------------------------------------------------------------------------------

                 Key: SHINDIG-817
                 URL: https://issues.apache.org/jira/browse/SHINDIG-817
             Project: Shindig
          Issue Type: Improvement
          Components: Features (Javascript)
            Reporter: Kevin Jin
            Priority: Minor


The files java/server/src/test/resources/endtoend/opensocial-templates/*_test.js were copied from features/opensocial-templates/. It's not convenient to maintain two copies. Since testadapter.js supports excluding individual tests if they are imcompatible due to HtmlUnit limitation, we don't need two copies. Make them sym-links and if any new tests fail in HtmlUnit due to JavaScript limitation, we can exclude them in testadapter.js.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-817) make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/

Posted by "Vincent Siveton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694316#action_12694316 ] 

Vincent Siveton commented on SHINDIG-817:
-----------------------------------------

Why not using svn externals?

> make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-817
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-817
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Javascript 
>            Reporter: Kevin Jin
>            Priority: Minor
>
> The files java/server/src/test/resources/endtoend/opensocial-templates/*_test.js were copied from features/opensocial-templates/. It's not convenient to maintain two copies. Since testadapter.js supports excluding individual tests if they are imcompatible due to HtmlUnit limitation, we don't need two copies. Make them sym-links and if any new tests fail in HtmlUnit due to JavaScript limitation, we can exclude them in testadapter.js.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-817) make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/

Posted by "Vincent Siveton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton resolved SHINDIG-817.
-------------------------------------

    Resolution: Won't Fix

No more need due to SHINDIG-988 

> make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-817
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-817
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Javascript 
>            Reporter: Kevin Jin
>            Priority: Minor
>
> The files java/server/src/test/resources/endtoend/opensocial-templates/*_test.js were copied from features/opensocial-templates/. It's not convenient to maintain two copies. Since testadapter.js supports excluding individual tests if they are imcompatible due to HtmlUnit limitation, we don't need two copies. Make them sym-links and if any new tests fail in HtmlUnit due to JavaScript limitation, we can exclude them in testadapter.js.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-817) make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/

Posted by "Henning Schmiedehausen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662582#action_12662582 ] 

Henning Schmiedehausen commented on SHINDIG-817:
------------------------------------------------

You can't store symlinks in SVN. Please forget this idea. :-) 

> make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-817
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-817
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Kevin Jin
>            Priority: Minor
>
> The files java/server/src/test/resources/endtoend/opensocial-templates/*_test.js were copied from features/opensocial-templates/. It's not convenient to maintain two copies. Since testadapter.js supports excluding individual tests if they are imcompatible due to HtmlUnit limitation, we don't need two copies. Make them sym-links and if any new tests fail in HtmlUnit due to JavaScript limitation, we can exclude them in testadapter.js.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-817) make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/

Posted by "Kevin Jin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661033#action_12661033 ] 

Kevin Jin commented on SHINDIG-817:
-----------------------------------

The usual 'svn di' does not work for making sym-links. I'm not attaching a patch. Instead, please run these commands in your client:
cd java/server/src/test/resources/endtoend/opensocial-templates
cp compiler_test.js ../../../../../../../features/opensocial-templates  # this version is newer
rm *_test.js
ln -s ../../../../../../../features/opensocial-templates/*_test.js .



> make java/server/src/test/resources/endtoend/opensocial-templates/*_test.js sym-links to features/opensocial-templates/
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-817
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-817
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript)
>            Reporter: Kevin Jin
>            Priority: Minor
>
> The files java/server/src/test/resources/endtoend/opensocial-templates/*_test.js were copied from features/opensocial-templates/. It's not convenient to maintain two copies. Since testadapter.js supports excluding individual tests if they are imcompatible due to HtmlUnit limitation, we don't need two copies. Make them sym-links and if any new tests fail in HtmlUnit due to JavaScript limitation, we can exclude them in testadapter.js.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.