You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rex Wang (JIRA)" <ji...@apache.org> on 2009/07/16 16:40:14 UTC

[jira] Commented: (GERONIMO-4750) port dojo-legacy external

    [ https://issues.apache.org/jira/browse/GERONIMO-4750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731962#action_12731962 ] 

Rex Wang commented on GERONIMO-4750:
------------------------------------

Before current solution, which copied all the worked js files to the external dojo 0.4.3 project, I tried to build the http://svn.dojotoolkit.org/src/tags/release-0.4.3/. Unfortunately, although the build can be run successfully, it requires to install 3 ant libs to <user.home>/.ant/lib firstly, otherwise will shows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-check-config:
-fix-config:
     [copy] Copying 3 files to C:\Documents and Settings\Rex\.ant\lib
     [echo]
     [echo] +--------------------------------------------------------+
     [echo] | Due to some horrendous design decisions by the authors |
     [echo] | of Ant, it has been necessary to install some jar     |
     [echo] | files to your ~/.ant/ directory. Given the nature of   |
     [echo] | the problem, it will be necessary for you to re-run   |
     [echo] | your build command.                                    |
     [echo] |                                                        |
     [echo] | The Dojo team apologies for this inconvenience.        |
     [echo] |                                                        |
     [echo] | The system will now exit.                              |
     [echo] +--------------------------------------------------------+
     [echo]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
D:\_g\ext\trunk\geronimo-dojo-0.4.3\target\resources\buildscripts\build.xml:198: Sorry, please re-run your build command, it should work now.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
That means the ant script firstly check :		
               <available property="bsf_ok" file="${user.home}/.ant/lib/bsf.jar" />
		<available property="ant_bsf_ok" file="${user.home}/.ant/lib/ant-apache-bsf.jar" />
if not, it will autoly add the libs to your ant/lib and require you to re-run this script. That is really frustrating.....

I also tried to fish the src/ files out of dojo svn, but that not worked with the dojo.js correctly.

So, the current solution is the only choice.

-Rex



> port dojo-legacy external
> -------------------------
>
>                 Key: GERONIMO-4750
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4750
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 2.2
>            Reporter: Rex Wang
>            Assignee: Rex Wang
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4750.patch, geronimo-dojo-0.4.3.patch
>
>
> the last artifact in our svn repo is the dojo 0.4.3, we need port it out.

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