Thursday 11 July 2013

ant-sca-compile.xml:158: C:\Program\lib does not exist.



Issue: ant-sca-compile.xml:158: C:\Program\lib does not exist.



Building in workspace C:\Dump\Vinodfusion
[Vinodfusion] $ cmd.exe /C '"c:\ant\bin\ant.bat -file DeploymentScripts -Dproperties="" -DOutput="" -DMDS="" -Dwn.bea.home=C:/Oracle/Middleware -DTemp="" -Dserver.user=weblogic -DoutputRootDir="" -Ddeployment.plan.environment=dev -Ddev.port=8001 -Dmds.enabled=true -Dtmp.output.dir=logs -DApplications/Projects="" -DFiles/Java/jdk1.6.0_34="" -DChoose="" -Ddev="" -Dwl_home=${wn.bea.home}/wlserver_10.3 -Doracle.home=C:/oracle/JdevMWHome/jdeveloper -Dmds.undeploy=false -DDeployment="" -DC=/builds/Vinodfusion -DbuildVersion="" -DProperties="" -Ddev.overwrite=true -Dmds.applications=true -Dapplications.home=../VinodfusionServices -Ddev.serverURL=http://vinodfusion:8001 -Dneed="" -D${outputRootDir}/${buildVersion}="" -DRevision="" -DGlobal="" -Dserver.password=welcome1-D1.0.0.1="" -Dservers="" -Djava.passed.home=C:/Program -Ddev.forceDefault=true -Dwhich="" -Dthe="" -D-------------------------="" -Drev=1.0 -DGeneral="" -Dlogs="" -Dapplication=Vinodfusion -Dserver="" -DDevelopment="" -DApplication="" -Ddev.password=octagon8 -DDetails="" -DServices="" -Dfor="" -DDirectory="" -DSpecific="" -DoutputDir="" -Denvironment="" -DEnvironment="" -Ddeployed="" -Dinformation="" -Ddev.server.host=vinodfusion -Dweblogic="" -Ddeployment="" -DSOA="" -D-----------------------------------------------------------------------="" -Ddev.user=weblogic -DProject="" -Dbe="" -Dcredential="" -Dto="" -Dmds.local.seed=../VinodfusionMDS/Seed -D= -Dbuild.properties="" buildAll && exit %%ERRORLEVEL%%"'
Buildfile: C:\Dump\Vinodfusion\DeploymentScripts\build.xml
     [echo] basedir C:\Dump\Vinodfusion\DeploymentScripts
     [echo] Ant: Apache Ant(TM) version 1.8.3 compiled on February 26 2012 Java: 1.6
    [input] skipping input as property server.password has already been set.
     [echo] oracle.home = C:/oracle/JdevMWHome/jdeveloper

BUILD FAILED
C:\Dump\Vinodfusion\DeploymentScripts\build.xml:14: The following error occurred while executing this line:
C:\Dump\Vinodfusion\DeploymentScripts\buildofmservices.xml:14: The following error occurred while executing this line:
C:\Dump\Vinodfusion\DeploymentScripts\ant-sca-compile.xml:158: C:\Program\lib does not exist.

Total time: 3 seconds
Build step 'Invoke Ant' marked build as failure
[WeblogicDeploymentPlugin] - build didn't finished successfully. The plugin execution is disabled.
[INFO] ------------------------------------------------------------------------
[INFO] DEPLOYMENT FAILURE
[INFO] ------------------------------------------------------------------------
Sending e-mails to: vinodreddy14@gmail.com
Notifying upstream projects of job completion
Finished: FAILURE


Resolution:

We noticed that values in  build.properties in jenkins are word wrapped( Means values are not completed in one line). Removed the word wrapp and Re-initiated in deployment and we are able to overcome the issue.

No comments:

Post a Comment