You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Vincent Siveton (JIRA)" <ji...@apache.org> on 2009/04/13 14:45:14 UTC

[jira] Updated: (SHINDIG-806) Move Javascript in the features directory in a better location

     [ https://issues.apache.org/jira/browse/SHINDIG-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated SHINDIG-806:
------------------------------------

    Fix Version/s: 1.0.x-incubating

Merged in the branch in [r764427|http://svn.apache.org/viewvc?rev=764427&view=rev]

> Move Javascript in the features directory in a better location
> --------------------------------------------------------------
>
>                 Key: SHINDIG-806
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-806
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Javascript 
>    Affects Versions: 1.0.x-incubating
>            Reporter: Henning Schmiedehausen
>             Fix For: trunk, 1.0.x-incubating
>
>         Attachments: SHINDIG-806.patch
>
>
> Having the feature subdirectories right under the features folder is actually some kind of PITA whenever you want to turn this into an IDE project (e.g. eclipse). I'd like to move the javascript into src/main/javascript and the tests into src/test/javascript. This also would allow to package up the code without the tests.
> However, this is either one really, really big patch or  small one with a number of additional file moves:
> the following files go into src/test/javascript/<subdirectory>
> ./core/authtest.js
> ./core.io/iotest.js
> ./core/prefstest.js
> ./core/utiltest.js
> ./mocks/env.js
> ./mocks/xhr.js
> ./opensocial-base/jsonactivitytest.js
> ./opensocial-reference/activitytest.js
> ./opensocial-templates/compiler_test.js
> ./opensocial-templates/container_test.js
> ./opensocial-templates/data_test.js
> ./opensocial-templates/domutil.js
> ./opensocial-templates/loader_test.js
> ./opensocial-templates/os_test.js
> ./opensocial-templates/ost_test.html
> ./opensocial-templates/README
> ./opensocial-templates/template_test.js
> ./opensocial-templates/util_test.js
> ./views/urltemplatetest.js
> Then move the following directories:
> analytics auth-refresh caja core core.io dynamic-height flash locked-domain opensocial-* pubsub rpc setprefs settitle skins tabs views and feature.txt to src/main/javascript
> mocks to src/test/javascript
> And apply the attached patch. Then the features directory builds as a "real" maven project; also the produced jar no longer contains the test javascript.

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