You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2008/01/08 11:03:35 UTC

[jira] Created: (TUSCANY-1950) Calculator-script produces etrenuous *sys-package-mgr* output.

Calculator-script produces etrenuous *sys-package-mgr* output. 
---------------------------------------------------------------

                 Key: TUSCANY-1950
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1950
             Project: Tuscany
          Issue Type: Improvement
    Affects Versions: Java-SCA-1.1
         Environment: All
            Reporter: Simon Laws
            Priority: Minor
             Fix For: Java-SCA-Next


s\calculator-script>ant run
Buildfile: build.xml

run:
     [java] 3 + 2=5.0
     [java] 3 - 2=1.0
     [java] *sys-package-mgr*: can't create package cache dir, 'C:\simon\tuscany
\release\sca-r1.1-rc0\tuscany-sca-1.1-incubating-SNAPSHOT\lib\jython-2.2.jar\cac
hedir\packages'
     [java] 3 * 2=6.0
     [java] 3 / 2=1.5

Mail from ant on this subject during R1.1 release...


Is thats the *sys-package-mgr* messages? If so they've been there in all the
past releases and i think we should just ignore them for now (unless someone
wants to try?). Jython works fine like this, just runs a little slower. You
can fix it by setting  the python.home system property, ideally we'd do that
in the  script extension and  set it up so it only has the application
classes visable in the classloader that jython uses to create the package
cache.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1950) Calculator-script produces etrenuous *sys-package-mgr* output.

Posted by "Luciano Resende (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende updated TUSCANY-1950:
-------------------------------------

    Fix Version/s:     (was: Java-SCA-Next)
                   Java-SCA-1.2

> Calculator-script produces etrenuous *sys-package-mgr* output. 
> ---------------------------------------------------------------
>
>                 Key: TUSCANY-1950
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1950
>             Project: Tuscany
>          Issue Type: Improvement
>    Affects Versions: Java-SCA-1.1
>         Environment: All
>            Reporter: Simon Laws
>            Priority: Minor
>             Fix For: Java-SCA-1.2
>
>
> s\calculator-script>ant run
> Buildfile: build.xml
> run:
>      [java] 3 + 2=5.0
>      [java] 3 - 2=1.0
>      [java] *sys-package-mgr*: can't create package cache dir, 'C:\simon\tuscany
> \release\sca-r1.1-rc0\tuscany-sca-1.1-incubating-SNAPSHOT\lib\jython-2.2.jar\cac
> hedir\packages'
>      [java] 3 * 2=6.0
>      [java] 3 / 2=1.5
> Mail from ant on this subject during R1.1 release...
> Is thats the *sys-package-mgr* messages? If so they've been there in all the
> past releases and i think we should just ignore them for now (unless someone
> wants to try?). Jython works fine like this, just runs a little slower. You
> can fix it by setting  the python.home system property, ideally we'd do that
> in the  script extension and  set it up so it only has the application
> classes visable in the classloader that jython uses to create the package
> cache.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1950) Calculator-script produces etrenuous *sys-package-mgr* output.

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-1950.
------------------------------

    Resolution: Fixed

r637375 has a work around fix for this by setting the cachedir to a temporary folder if the Jython system properties are not set.  This actually makes even more *sys-package-mgr* messages the first time a jython script is run as the cachedir gets initialized, but subsequent runs then don't get any messages.

> Calculator-script produces etrenuous *sys-package-mgr* output. 
> ---------------------------------------------------------------
>
>                 Key: TUSCANY-1950
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1950
>             Project: Tuscany
>          Issue Type: Improvement
>    Affects Versions: Java-SCA-1.1
>         Environment: All
>            Reporter: Simon Laws
>            Priority: Minor
>             Fix For: Java-SCA-1.2
>
>
> s\calculator-script>ant run
> Buildfile: build.xml
> run:
>      [java] 3 + 2=5.0
>      [java] 3 - 2=1.0
>      [java] *sys-package-mgr*: can't create package cache dir, 'C:\simon\tuscany
> \release\sca-r1.1-rc0\tuscany-sca-1.1-incubating-SNAPSHOT\lib\jython-2.2.jar\cac
> hedir\packages'
>      [java] 3 * 2=6.0
>      [java] 3 / 2=1.5
> Mail from ant on this subject during R1.1 release...
> Is thats the *sys-package-mgr* messages? If so they've been there in all the
> past releases and i think we should just ignore them for now (unless someone
> wants to try?). Jython works fine like this, just runs a little slower. You
> can fix it by setting  the python.home system property, ideally we'd do that
> in the  script extension and  set it up so it only has the application
> classes visable in the classloader that jython uses to create the package
> cache.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org