alien4cloud / alien4cloud-cloudify2-provider

Contains the PaaS provider plugin to allow deployments using Cloudify v2
http://alien4cloud.github.io/documentation/cloudify2_driver/index.html
Apache License 2.0
0 stars 3 forks source link

Error in class import #3

Open maniacojazz opened 10 years ago

maniacojazz commented 10 years ago

The custom classes from the "scripts" directory can not be imported into life cycle scripts.

Here the logged error message: "Unable to resolve the class"

lucboutier commented 10 years ago

Hi,

Can you please elaborate on the need. If you look at issue #2 I have left a comment on TOSCA support and trying to avoid any cloudify 2 specific elements.

If you really need to execute java code in your components it may be better (if that's independent from cloudify) to run it by setting class path yourself in a more TOSCA compatible way: from shell script for example by setting class path on your own ?

Luc

lucboutier commented 10 years ago

I set the issue as wont fix for now so please let me know if you see any good reasons or important requirement for us to support it.

lucboutier commented 10 years ago

Waiting for scenario as the issue is related to the support of GroovyArtifact rather than specific cloudify environment.