My Oracle Support Banner

Unable To Build The Project Via Ant Script (Doc ID 2576000.1)

Last updated on SEPTEMBER 04, 2019

Applies to:

Oracle Communications Design Studio - Version 7.3.5.0.0 and later
Information in this document applies to any platform.

Goal

On : 7.3.5.0.0 version, Automation

User unable to build the project via ant script

Using JDK 1.8 and OSM v7.3
Getting errors while building the cartridges using headless build. However the same cartridges got built successfully with Design Studio. 

Failure logs

     [exec] [studio.buildProject] Warning: encoding "UTF-8" not supported, using UTF-8 
     [exec] [studio.buildProject] Begin Task Setting contents for '/xyz_solution/.buildNumber'. 
     [exec] [studio.buildProject] Sub Task Packaging project: xyz_Solution with packager oracle.communications.studio.osm.cartridge.composite.packager

     [exec] [studio.buildProject] 
     [exec] [studio.buildProject] !ENTRY com.mslv.studio.core 4 0 2019-03-21 08:10:48.857 
     [exec] [studio.buildProject] !MESSAGE Unexpected Exception 
     [exec] [studio.buildProject] !STACK 1 
     [exec] [studio.buildProject] org.eclipse.core.runtime.CoreException: Referenced cartridge OracleComms_OSM_O2A_COM_CSO_FulfillmentPattern is not built. 
     [exec] [studio.buildProject] at oracle.communications.studio.osm.composite.builder.CompositeCartridgePackager.prePackageArchive(CompositeCartridgePackager.java:127) 
     [exec] [studio.buildProject] at com.mslv.studio.provisioning.builder.ProvisioningPackager.packageArchive(ProvisioningPackager.java:154) 
     [exec] [studio.buildProject] at com.mslv.studio.builder.AbstractPackager.fullBuild(AbstractPackager.java:216) 
     [exec] [studio.buildProject] at com.mslv.studio.packager.AbstractCartridgePackager.packageProject(AbstractCartridgePackager.java:275) 
     [exec] [studio.buildProject] at com.mslv.studio.packager.AbstractCartridgePackager.doFullPackage(AbstractCartridgePackager.java:125) 
     [exec] [studio.buildProject] at com.mslv.studio.builder.StudioBuilder.packageCartridge(StudioBuilder.java:279) 
     [exec] [studio.buildProject] at com.mslv.studio.builder.StudioBuilder.build(StudioBuilder.java:181) 
     [exec] [studio.buildProject] at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735) 
     [exec] [studio.buildProject] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 
     [exec] [studio.buildProject] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) 
     [exec] [studio.buildProject] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.