Petals Studio

Can not import classe from petals-cdk-*

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.1.1
  • Fix Version/s: 1.2.0
  • Component/s: None
  • Security Level: Public
  • Description:

    When I create a service-unit projects for the component petals-se-pojo, I can not import object from petals-cdk-core.

  • Environment:
    Linux os

Activity

Hide
Vincent Zurczak added a comment - Wed, 3 Nov 2010 - 16:47:27 +0100

Is the CDK core in the project's class path?

Show
Vincent Zurczak added a comment - Wed, 3 Nov 2010 - 16:47:27 +0100 Is the CDK core in the project's class path?
Hide
Mathieu Carrolle added a comment - Thu, 4 Nov 2010 - 09:59:15 +0100

Yes it's in the classpath :

<classpathentry kind="var" path="M2_REPO/org/ow2/petals/petals-cdk-api/2.0/petals-cdk-api-2.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/ow2/petals/petals-cdk-core/5.0/petals-cdk-core-5.0.jar"/>
Show
Mathieu Carrolle added a comment - Thu, 4 Nov 2010 - 09:59:15 +0100 Yes it's in the classpath :
<classpathentry kind="var" path="M2_REPO/org/ow2/petals/petals-cdk-api/2.0/petals-cdk-api-2.0.jar"/>
<classpathentry kind="var" path="M2_REPO/org/ow2/petals/petals-cdk-core/5.0/petals-cdk-core-5.0.jar"/>
Hide
Vincent Zurczak added a comment - Thu, 4 Nov 2010 - 10:24:56 +0100

Is the M2_REPO variable defined?

Show
Vincent Zurczak added a comment - Thu, 4 Nov 2010 - 10:24:56 +0100 Is the M2_REPO variable defined?
Hide
Mathieu Carrolle added a comment - Mon, 8 Nov 2010 - 10:14:44 +0100

Okay, the variable M2_REPO is not defined.
You can reject the issue.

Show
Mathieu Carrolle added a comment - Mon, 8 Nov 2010 - 10:14:44 +0100 Okay, the variable M2_REPO is not defined. You can reject the issue.
Hide
Vincent Zurczak added a comment - Mon, 8 Nov 2010 - 11:14:29 +0100

OK.
FYI, the POJO tooling will be updated soon.
It's still in a transition state.

Show
Vincent Zurczak added a comment - Mon, 8 Nov 2010 - 11:14:29 +0100 OK. FYI, the POJO tooling will be updated soon. It's still in a transition state.
Hide
Vincent Zurczak added a comment - Mon, 8 Nov 2010 - 11:15:32 +0100

The M2_REPO variable was not set.
And the studio did not create this variable (it is not supposed to it in this version of the tooling).

Show
Vincent Zurczak added a comment - Mon, 8 Nov 2010 - 11:15:32 +0100 The M2_REPO variable was not set. And the studio did not create this variable (it is not supposed to it in this version of the tooling).

People

Dates

  • Created:
    Wed, 3 Nov 2010 - 16:41:20 +0100
    Updated:
    Mon, 8 Nov 2010 - 11:15:56 +0100
    Resolved:
    Mon, 8 Nov 2010 - 11:15:32 +0100