How to compile MobileFirst 'apps' for specific envirronment? -


i trying compile mobile applications using 'ant' task shown below

  <target name="target-name">     <app-builder         worklightserverhost="localhost:9080"         applicationfolder="/home/apps/clsdashboard"         environments="desktopbrowser,ipad"         nativeprojectprefix=""         outputfolder="bin/" />   </target> 

but errors shown below

build failed /home/clsapp/build_apps_and_adapters.xml:14: failed building application: trying build ios environment, required attribute 'nativeprojectprefix' missing. add 'nativeprojectprefix' attribute project name value <app-builder> task , re-run script. 

though can understand error how avoid building apps other environments (or) otherwise want compile 'apps' 'desktop' , 'ipad'

since you're attempting build ios environment (ipad...) need specify value nativeprojectprefix property. value should name of project.

per documentation:

the nativeprojectprefix attribute mandatory when build ios applications


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -