Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Process Manager (Stardust) » Unable to build KnowledgeBase Standalone Spring Example project
Unable to build KnowledgeBase Standalone Spring Example project [message #1085303] Mon, 12 August 2013 14:37 Go to next message
Stephanie Smith is currently offline Stephanie Smith
Messages: 6
Registered: March 2010
Junior Member
I am trying to build the Standalone-Spring example project documented here,
http://wiki.eclipse.org/Stardust/KnowledgeBase/Testing/Standalone-Spring


The maven install fails with the following.
Any suggestions?



[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.sungard.embed:embedded:1.0.0-SNAPSHOT (C:\stardust2\workspace\embedded\pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Could not transfer artifact com.infinity.bpm.rtenv:jta-jencks:pom:5.3.1-NIGHTLY-SNAPSHOT from/to ipp-experimental (https://infinity.sungard.com/repository/ipp-experimental): Not authorized , ReasonPhrase:Unauthorized. @ line 45, column 16 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Re: Unable to build KnowledgeBase Standalone Spring Example project [message #1087144 is a reply to message #1085303] Thu, 15 August 2013 03:40 Go to previous messageGo to next message
Vikash Pandey is currently offline Vikash Pandey
Messages: 11
Registered: October 2011
Junior Member
Please following below mentioned steps:
Use the pom.xml found here
Add carnot.properties and carnot.license file of 5.3.x release to Stardust_Testing_Embedded_Spring\embedded\src\main\resources folder. Also edit carnot.properties to point the following param to correct location of carnot.license as per your situation:
License.LicenseFilePath = E:/Stardust_Testing_Embedded_Spring/embedded/src/main/resources/carnot.license

Edit SimpleTest.java located at Stardust_Testing_Embedded_Spring\embedded\src\test\java\com\sungard\embed\embedded and fix the package of:
import com.sungard.embed.embedded.AbstractProcessContextTest;

Edit carnot-spring-context.xml and fix the package of the bean carnotAuditTrailInitalizer as below:
<bean id="carnotAuditTrailInitalizer" class="[b]com.sungard.embed.embedded.AuditTrailInitalizer[/b]">
		<property name="dataSource" ref="carnotXaAuditTrailDataSource" />
		<property name="auditTrailDdlFile" value="src/main/resources/audittrail_ddl.sql" />
	</bean>


Once the above steps are done, run mvn clean install from within the folder where pom.xml of this project is. It will build and run the test SimpleTest.java.

We are in the process of updating the article to make it work with Startdust 1.0.
Re: Unable to build KnowledgeBase Standalone Spring Example project [message #1107322 is a reply to message #1087144] Thu, 12 September 2013 04:38 Go to previous message
Robert Emsbach is currently offline Robert Emsbach
Messages: 115
Registered: October 2011
Location: Singapore
Senior Member

Stephanie,

we have refactored the code. The updated zip contains a Maven project which will run without license file and requires only the Stardust and not the IPP maven repository.

Rob
Previous Topic:DaemonWatchdog source code
Next Topic:Sysconsole utility
Goto Forum:
  


Current Time: Mon Jul 28 12:42:17 EDT 2014

Powered by FUDForum. Page generated in 0.18247 seconds