Skip to main content
1 of 2
AnuRaj
  • 2.5k
  • 7
  • 53
  • 80

ant : Parameter -command is specified already

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

can anybody tell me what is the issue for this.

AnuRaj
  • 2.5k
  • 7
  • 53
  • 80