You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2012/11/14 03:30:12 UTC

[jira] [Created] (ODE-980) Upgrade to java6

Hadrian Zbarcea created ODE-980:
-----------------------------------

             Summary: Upgrade to java6
                 Key: ODE-980
                 URL: https://issues.apache.org/jira/browse/ODE-980
             Project: ODE
          Issue Type: Task
          Components: Build System
            Reporter: Hadrian Zbarcea
            Assignee: Hadrian Zbarcea
             Fix For: 1.4


The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Work started] (ODE-980) Upgrade to java6

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

Work on ODE-980 started by Hadrian Zbarcea.

> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498045#comment-13498045 ] 

Hadrian Zbarcea commented on ODE-980:
-------------------------------------

Yes, well, kinda :). It is against trunk, more precisely on a branch against my trunk on github, which is ahead of the ode trunk, because i have patches there for the jacob-generator too. Finishing that work (almost done actually) is contingent on the java6 upgrade now, hence the detour.

The easiest would be to redo this patch against the ode trunk. Using svn probably. I'll take a quick look at xdoclet too then. I'd like to finish this quickly and hopefully get my trunk and ode's back in sink and start looking at the model.
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498176#comment-13498176 ] 

Tammo van Lessen commented on ODE-980:
--------------------------------------

Strange, that worked but git apply failed. Anyways, tests are running and then I'll dcommit. Thanks for the patch!
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (ODE-980) Upgrade to java6

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498016#comment-13498016 ] 

Tammo van Lessen edited comment on ODE-980 at 11/15/12 1:23 PM:
----------------------------------------------------------------

The patch looks good, unfortunately it does not apply properly. Did you create it against trunk? The xdoclet stacktrace is a known issue. It does not affect the build, but sure, it should be fixed by migrating to Java Annotations as soon as possible.
                
      was (Author: vanto):
    The patch looks good, unfortunately it does not apply properly. Did you create it against trunk?
                  
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498527#comment-13498527 ] 

Hadrian Zbarcea commented on ODE-980:
-------------------------------------

Nice :) 

[...]
Building ode
Compiling ode:utils into /home/hudson/hudson-slave/workspace/ODE-trunk/trunk/utils/target/classes
javac: invalid source release: 1.6
[...]
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ODE-980) Upgrade to java6

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

Hadrian Zbarcea updated ODE-980:
--------------------------------

    Attachment: ode-java6.patch

@Tammo: would you have some time to take a look at the attached patch. I think I fixed all the issues related to differences in code generation, but there is one nasty stack trace in the build system (jruby) related to xdoclet and hibernate. Thanks.
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498285#comment-13498285 ] 

Hudson commented on ODE-980:
----------------------------

Integrated in ODE-trunk #429 (See [https://builds.apache.org/job/ODE-trunk/429/])
    ODE-980: Update to Java 6. Thanks to Hadrian for the patch! (Revision 1409927)

     Result = FAILURE
vanto : http://svn.apache.org/viewvc/?view=rev&rev=1409927
Files : 
* /ode/trunk/Rakefile
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/cron/SystemSchedulesConfig.java
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/replayer/Replayer.java
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/replayer/ReplayerContext.java
* /ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java
* /ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ProcessManagementTest.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/DeploymentUnitDir.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessCleanupConfImpl.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java
* /ode/trunk/jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeCommandsBase.java
* /ode/trunk/jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeListCommand.java

                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498060#comment-13498060 ] 

Hadrian Zbarcea commented on ODE-980:
-------------------------------------

@Tammo: the same patch applied fine for me against an svn local copy of the ode trunk using:
{code}
$ patch -p 1 < ode-java6.patch
{code}

Builds went fine too. Do you mind trying that quickly?
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498016#comment-13498016 ] 

Tammo van Lessen commented on ODE-980:
--------------------------------------

The patch looks good, unfortunately it does not apply properly. Did you create it against trunk?
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498053#comment-13498053 ] 

Tammo van Lessen commented on ODE-980:
--------------------------------------

I think the XDoclet issue is a bit tricky. Either we migrate to JPA 2 (we have that already in a branch, which is IMO untested and should be reviewed and probably also should wait for the OModel compatibility fixes), or we fix Xdoclet (it has some issues with the : in Java5 foreach statements). Both is not too easy to accomplish.
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ODE-980) Upgrade to java6

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498310#comment-13498310 ] 

Hudson commented on ODE-980:
----------------------------

Integrated in ODE-trunk-jdk6 #418 (See [https://builds.apache.org/job/ODE-trunk-jdk6/418/])
    ODE-980: Update to Java 6. Thanks to Hadrian for the patch! (Revision 1409927)

     Result = UNSTABLE
vanto : http://svn.apache.org/viewvc/ode/trunk/?view=rev&rev=1409927
Files : 
* /ode/trunk/Rakefile
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/cron/SystemSchedulesConfig.java
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/replayer/Replayer.java
* /ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/replayer/ReplayerContext.java
* /ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java
* /ode/trunk/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ProcessManagementTest.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/DeploymentUnitDir.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessCleanupConfImpl.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java
* /ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java
* /ode/trunk/jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeCommandsBase.java
* /ode/trunk/jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeListCommand.java

                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (ODE-980) Upgrade to java6

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498060#comment-13498060 ] 

Hadrian Zbarcea edited comment on ODE-980 at 11/15/12 2:55 PM:
---------------------------------------------------------------

@Tammo: the same patch applied fine for me against an svn local copy of the ode trunk using:

$ patch -p 1 < ode-java6.patch

Builds went fine too. Do you mind trying that quickly?
                
      was (Author: hadrian):
    @Tammo: the same patch applied fine for me against an svn local copy of the ode trunk using:
{code}
$ patch -p 1 < ode-java6.patch
{code}

Builds went fine too. Do you mind trying that quickly?
                  
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (ODE-980) Upgrade to java6

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tammo van Lessen resolved ODE-980.
----------------------------------

    Resolution: Fixed

Patch applied. Thanks!
                
> Upgrade to java6
> ----------------
>
>                 Key: ODE-980
>                 URL: https://issues.apache.org/jira/browse/ODE-980
>             Project: ODE
>          Issue Type: Task
>          Components: Build System
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4
>
>         Attachments: ode-java6.patch
>
>
> The new jacob-generator requires java6. Drop support for java5.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira