Reply
Regular Contributor
Anu Raj
Posts: 133
0

ant : Parameter -command is specified already

[ Edited ]

Hi

 

I am working on Salesforce Touch; I am new with this platform. I am referring to the Salesforce Touch guide. I am trying to create a native Android project, using this command

ant create_native -Dapp.name={DemoApp} -Dtarget.dir={C:\Anu Raj\project\Salesforce Touch} -Dpackage.name={com.acme.mobileapp}"

but i am getting this error while doing this --- > "

ant : Parameter -command is specified already.
At line:1 char:4
+ ant <<<<  create_native -Dapp.name={DemoApp} -Dtarget.dir={C:\} -Dpackage.nam
e={com.acme.mobileapp}
+ CategoryInfo          : InvalidArgument: (:) [], ParameterBindingExcepti
on
+ FullyQualifiedErrorId : ParameterSpecifiedAlready

At line:1 char:4 + ant <<<< create_native -Dapp.name={DemoApp} -Dtarget.dir={C:} -Dpackage.nam e={com.acme.mobileapp} + CategoryInfo : InvalidArgument: (:) [], ParameterBindingExcepti on + FullyQualifiedErrorId : ParameterSpecifiedAlready

can anybody tell me what is the issue for this.