Hi Jurgen.
thank you very much for your quick response.
As you suspected I forgot to add SMILA-INF folder inside the
build.properties file.
Then I removed my old copy of SMILA build (1.1), I unzipped an empty
one (because I had played with some configuration file in the old
one) and I copied the exported bundle - it now has the SMILA-INF
folder inside the jar - inside the plugins folder.
I started SMILA and I looked to my pipelet at the URL you wrote.
Nothing.
In the log, when it loads the pipelets, mine is not present.
So I tried to add my bundle inside the config.ini file in the
configuration folder, as I saw the other pipelet bundles written
inside.
New test, same result.
Thanks
-------- Messaggio originale --------
Hi Lorenzo
Hi.
I just created a pipelet calling a web service. Inside eclipse
everithing works. Now I'd like to create my own build
distribution using my pipelet and my bpel.
I must use SMILA 1.1.
I tested doing it using original SMILA 1.1 distribution and
adding my bpel in
configuration/org.eclipse.smila.processing.bpel and modifing
deploy.xml. Then I exported my boundle (the pipelet) as
described in wiki (http://wiki.eclipse.org/SMILA/Documentation/HowTo/How_to_export_a_bundle)
and I tested just copying it in plugins folder (at same level
of smila.exe).
The bpel is seen by smila. That is not for pipelet as
described in REST api response
{
"message" : "Error processing BPEL workflow TrendAnalysisResultsDashboardPipeline: Invocation of pipeline element TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 failed due to pipelet error: Pipelet of class org.eclipse.smila.integration.trendanalysisresults.DashboardPipelet for activity TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 is not yet instantiated.\ncaused by: Invocation of pipeline element TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 failed due to pipelet error: Pipelet of class org.eclipse.smila.integration.trendanalysisresults.DashboardPipelet for activity TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 is not yet instantiated.\ncaused by: Pipelet of class org.eclipse.smila.integration.trendanalysisresults.DashboardPipelet for activity TrendAnalysisResultsDashboardPipeline/invokeDashBoardPipelet@29 is not yet instantiated."
}
You could check http://localhost:8050/smila/pipelets
if your pipelet is listed there. If not, please check if the
SMILA-INF directory with the pipelet description JSON file is
present in the exported bundle. If not you must probably add
the SMILA-INF directory to the build.properties of the bundle.
If it is listed, you can follow the link and see if there
are errors reported (at the end of the page, probably).
I tested also the wiki about Build
a SMILA-Distribution following this page
http://wiki.eclipse.org/SMILA/Documentation/HowTo/Howto_build_a_SMILA-Distribution
but something goes wrong as you can read below.
Buildfile: C:\workspace\SMILA.builder\make.xml
versions:
[echo] SMILA version=1.1.0.Unversioned directory
clean:
[delete] Deleting directory
C:\workspace\eclipse.build
versions:
[echo] SMILA version=1.1.0.Unversioned directory
bundle.names.init:
fetch:
[mkdir] Created dir: C:\workspace\eclipse.build
[mkdir] Created dir:
C:\workspace\eclipse.build\features
[mkdir] Created dir:
C:\workspace\eclipse.build\plugins
[mkdir] Created dir:
C:\workspace\eclipse.build\Application
[echo] ### copying all features ###
[echo] bundle
org.eclipse.smila.extension.feature does not exist!!
[echo] bundle org.eclipse.smila.feature does
not exist!!
[echo] bundle
org.eclipse.smila.product.core.feature does not exist!!
[echo] bundle org.eclipse.smila.test.feature
does not exist!!
...
BUILD FAILED
C:\workspace\SMILA.builder\make.xml:447: Java
returned: 13
Total time: 38 seconds
I will try to reproduce this. Never seen this before.
Regards,
Juergen
--
Lorenzo Eccher
lorenzo.eccher@xxxxxx
(+39) 0461 312 306
Engineering Ingegneria informatica s.p.a
www.eng.it
ENGINEERING Society and Territory Trento Research Office
EIT-ITC Labs, Trento node
ESTRO Lab at FBK building
via Sommarive, 18
Povo - 38123 Trento
Le informazioni trasmesse sono destinate esclusivamente alla
persona o alla società in indirizzo e sono da intendersi
confidenziali e riservate. Ogni trasmissione, inoltro,
diffusione o altro uso di queste informazioni a persone o
società differenti dal destinatario è proibita. Se ricevete
questa comunicazione per errore, contattate il mittente e
cancellate le informazioni da ogni computer.
The information transmitted is intended only for the person
or entity to which it is addressed and may contain
confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If
you received this in error, please contact the sender and
delete the material from any computer.
Die Informationen in dieser E-Mail-Mitteilung sind
vertraulich und deren Verbreitung in jeglicher Art oder Form
ist untersagt. Sollten Sie diese Nachricht irrtümlich erhalten
haben, ersuchen wir Sie, sofort den Absender darüber zu
informieren und die Mail zu löschen.
|