Cactus
  1. Cactus
  2. CACTUS-105

Jakarta Cactus does not build due to dependency on j2ee-1.3.jar

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8
    • Component/s: Other
    • Labels:
      None

      Description

      I know that j2ee.jar is not available in ibiblio but a close equivalent one is in jboss-j2ee-3.2.3.jar, would it be possible to use that instead in the project.xml file?

      i.e.
      <dependency>
      <groupId>jboss</groupId>
      <artifactId>jboss-j2ee</artifactId>
      <version>3.2.3</version>
      </dependency>

        Activity

        Archimedes Trajano created issue -
        Vincent Massol made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 10693 ]
        Hide
        Vincent Massol added a comment -

        Sounds like a good idea if it works. However there's still a problem: we need 2 versions: one for J2EE 1.2 and one for J2EE 1.3 (and soon another one for J2EE 1.4). Is there one in JBoss for J2EE 1.2?

        in addition we'll need to derive these jboss-j2ee versions from $

        {cactus.j2ee.version.full}

        . For example we need to transform "1.3" into "3.2.3". That'll require some scripting in maven.xml. Not nice. However this can solved by splitting the framework/ maven projects into 3 projects: shared/, j2ee12/ and j2ee13/.

        Show
        Vincent Massol added a comment - Sounds like a good idea if it works. However there's still a problem: we need 2 versions: one for J2EE 1.2 and one for J2EE 1.3 (and soon another one for J2EE 1.4). Is there one in JBoss for J2EE 1.2? in addition we'll need to derive these jboss-j2ee versions from $ {cactus.j2ee.version.full} . For example we need to transform "1.3" into "3.2.3". That'll require some scripting in maven.xml. Not nice. However this can solved by splitting the framework/ maven projects into 3 projects: shared/, j2ee12/ and j2ee13/.
        Hide
        Archimedes Trajano added a comment -

        I think it does work, I basically copied the jboss-j2ee-3.2.3.jar as j2ee-1.3.jar on my local repository.

        Show
        Archimedes Trajano added a comment - I think it does work, I basically copied the jboss-j2ee-3.2.3.jar as j2ee-1.3.jar on my local repository.
        Hide
        Vincent Massol added a comment -

        ok. Cool. But what about the other issues I've highlighted in my previous comment?

        Thanks

        Show
        Vincent Massol added a comment - ok. Cool. But what about the other issues I've highlighted in my previous comment? Thanks
        Hide
        Archimedes Trajano added a comment -

        I was just thinking about it, if cactus builds on 1.3 why do we need the other version for? Since this was supposed to be just a build problem that we're trying to resolve right?

        Show
        Archimedes Trajano added a comment - I was just thinking about it, if cactus builds on 1.3 why do we need the other version for? Since this was supposed to be just a build problem that we're trying to resolve right?
        Hide
        Archimedes Trajano added a comment -

        Doh I see the problem now.

        Show
        Archimedes Trajano added a comment - Doh I see the problem now.
        Hide
        Vincent Massol added a comment -

        I've just applied your idea of using jboss-j2ee jar for the Ant build. For Maven it's a bit more complex and I think we need to wait till we separate the framework project and others into several subprojects (share/, j2ee12/, j2ee13/). We also need to decide whether we want to do this.

        Show
        Vincent Massol added a comment - I've just applied your idea of using jboss-j2ee jar for the Ant build. For Maven it's a bit more complex and I think we need to wait till we separate the framework project and others into several subprojects (share/, j2ee12/, j2ee13/). We also need to decide whether we want to do this.
        Vincent Massol made changes -
        Fix Version/s 1.7 [ 10693 ]
        Vincent Massol made changes -
        Component/s Other [ 10897 ]
        Hide
        Petar Tahchiev added a comment -

        I am closing this issue since it is no longer valid, because Cactus build system is now Maven

        Show
        Petar Tahchiev added a comment - I am closing this issue since it is no longer valid, because Cactus build system is now Maven
        Petar Tahchiev made changes -
        Fix Version/s 1.8 [ 12310167 ]
        Resolution Invalid [ 6 ]
        Assignee Petar Tahchiev [ paranoiabla ]
        Status Open [ 1 ] Resolved [ 5 ]
        Petar Tahchiev made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Petar Tahchiev
            Reporter:
            Archimedes Trajano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development