JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Ant task for fsm based feature
Forum Index » Sentinel Express
Author Message
iostres


Joined: 24/01/2012 10:52:51
Messages: 75
Offline

Hi all,

is there a predefined sentinel ant task to build SBB features from .fsm files? If so, how to use it?

BR,
Ivan
charlie


Joined: 21/08/2008 22:00:34
Messages: 46
Offline

Hi Ivan,

Here is an example fsm build script:



In the feature ant build file you'll need to do the following:

Compile the feature source:



Create the feature SBB DD:



You'll also need to create the SBB jar:



So there is a bit to put together. Hopefully, you'll be able to get it working based on these ant build snippets.

Best regards,

Charlie

Hi all,

is there a predefined sentinel ant task to build SBB features from .fsm files? If so, how to use it?

BR,
Ivan
iostres


Joined: 24/01/2012 10:52:51
Messages: 75
Offline

I was trying to use this task from sentinel-build:



But I always get this error:

Finding class com.opencloud.sentinel.ant.Fsm
Loaded from /home/rhinodev/opencloud/rhino-prod-sentinel/sentinel-install/sentinel/verso-sentinel-ss7-features/target/libs/antlib/sentinel-build-2.1.0.13.jar com/opencloud/sentinel/ant/Fsm.class
Class com.opencloud.sentinel.ant.Fsm loaded from ant loader (parentFirst)
Finding class com.opencloud.sentinel.ant.ClassNameElement
Loaded from /home/rhinodev/opencloud/rhino-prod-sentinel/sentinel-install/sentinel/verso-sentinel-ss7-features/target/libs/antlib/sentinel-build-2.1.0.13.jar com/opencloud/sentinel/ant/ClassNameElement.class
Finding class com.opencloud.sentinel.ant.JavaTypeBasedElement
Loaded from /home/rhinodev/opencloud/rhino-prod-sentinel/sentinel-install/sentinel/verso-sentinel-ss7-features/target/libs/antlib/sentinel-build-2.1.0.13.jar com/opencloud/sentinel/ant/JavaTypeBasedElement.class
Class com.opencloud.sentinel.ant.JavaTypeBasedElement loaded from ant loader (parentFirst)
Class com.opencloud.sentinel.ant.ClassNameElement loaded from ant loader (parentFirst)
Class java.lang.NullPointerException loaded from parent loader (parentFirst)

BUILD FAILED
/home/rhinodev/opencloud/rhino-prod-sentinel/sentinel-install/sentinel/verso-sentinel-ss7-features/build.xml:35: fsm doesn't support the nested "cne" element.
at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:371)
at org.apache.tools.ant.UnknownElement.handleChild(UnknownElement.java:593)
at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:358)
at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:204)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: class com.opencloud.sentinel.ant.Fsm doesn't support the nested "cne" element.
at org.apache.tools.ant.IntrospectionHelper.throwNotSupported(IntrospectionHelper.java:509)
at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:361)
... 15 more

What did I do wrong? shouldn't Fsm accept ClassNameElement via addConfigured..? Is this a valid path to take to generate Sbbs from fsm?

This message was edited 1 time. Last update was at 02/10/2014 01:02:10

charlie


Joined: 21/08/2008 22:00:34
Messages: 46
Offline

Hi Ivan,

I'm not sure why you are using the "cne" element. I'm not sure what that is supposed to be.

Here is a example usage:



The codec implements

The values of createdInSetSbbContext and multipleFsms will vary depending on the needs of the application.

Best regards,

Charlie
iostres


Joined: 24/01/2012 10:52:51
Messages: 75
Offline

deleted

This message was edited 4 times. Last update was at 07/11/2014 05:34:17

alphajohn468@gmail.com


Joined: 09/07/2019 19:39:37
Messages: 1
Offline

I am impacting to have an examination of it and feel to top digital marketing institute in delhi proceed forward its structure for my use constantly.
 
Forum Index » Sentinel Express
Go to:   
Powered by JForum 2.1.8 © JForum Team