简体   繁体   中英

Tibco buildear error - generate ear file on cmd

I am trying to generate an .ear file on the command line. I get the following error:

Starting up...
The resource path to the ear 'null' doesn't begin with a '/'
Aborting.

When I run this command, I am in the folder where my where the archive is. I am using the following command:

buildear.exe -s -ear "CustomerDetailsService.archive" -o "C:\repos\sc\Projects\CustomerDetails\Deployment\Services.ear" -p "C:\repos\sc\Projects\CustomerDetails"

I realise the error is telling me the .archive file doesn't start with a '/', but, I'm not sure how I can set the file to begin with a '/'. How can I fix this error?

You need to handle the space in the path. Give this a try:

buildear -s -ear /CreditCheck.archive -o "C:\Tibco direct\CreditCheck\EarFile\CreditCheck.ear" -p "C:\Tibco direct\CreditCheck"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM