"ant -p" does not show all targets -


i know build.xml contains @ least ten targets, 2 show when run ant -p:

$ ant -p build.xml buildfile: /home/nico/myproject/build.xml  main targets:   clean  clean default target: deploy 

how display targets?

ant -p shows targets have description.

to show targets, run ant -p -v. generate quite lot of lines, full list of targets findable @ end of output:

apache ant(tm) version 1.9.6 compiled on july 8 2015 trying default build file: build.xml buildfile: /home/nico/myproject/build.xml detected java version: 1.7 in: /usr/lib/jvm/java-7-openjdk-amd64/jre detected os: linux parsing buildfile /home/nico/myproject/build.xml uri = file:/home/nico/myproject/build.xml project base dir set to: /home/nico/myproject parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml uri = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml zip file importing file /home/nico/ide/build-common-portlet.xml /home/nico/myproject/build.xml overriding previous definition of reference ant.projecthelper parsing buildfile /home/nico/ide/build-common-portlet.xml uri = file:/home/nico/ide/build-common-portlet.xml importing file /home/nico/ide/build-common-plugin.xml /home/nico/ide/build-common-portlet.xml overriding previous definition of reference ant.projecthelper parsing buildfile /home/nico/ide/build-common-plugin.xml uri = file:/home/nico/ide/build-common-plugin.xml defined in main or previous import, ignore war importing file /home/nico/ide/build-common.xml /home/nico/ide/build-common-plugin.xml overriding previous definition of reference ant.projecthelper parsing buildfile /home/nico/ide/build-common.xml uri = file:/home/nico/ide/build-common.xml  [property] loading environment env. parsing buildfile jar:file:/home/nico/ide/lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml uri = jar:file:/home/nico/ide/lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml zip file parsing buildfile jar:file:/home/nico/ide/lib/antelopetasks.jar!/ise/antelope/tasks/antlib.xml uri = jar:file:/home/nico/ide/lib/antelopetasks.jar!/ise/antelope/tasks/antlib.xml zip file  [property] loading /home/nico/ide/build.nico.properties property "env.computername" has not been set  [property] loading /home/nico/ide/build.${env.computername}.properties  [property] unable find property file: /home/nico/ide/build.${env.computername}.properties property "env.host" has not been set  [property] loading /home/nico/ide/build.${env.host}.properties  [property] unable find property file: /home/nico/ide/build.${env.host}.properties property "env.hostname" has not been set  [property] loading /home/nico/ide/build.${env.hostname}.properties  [property] unable find property file: /home/nico/ide/build.${env.hostname}.properties  [property] loading /home/nico/ide/build.properties override ignored property "app.server.type" override ignored property "app.server.tomcat.dir" override ignored property "app.server.tomcat.portal.dir" override ignored property "app.server.tomcat.deploy.dir" override ignored property "app.server.tomcat.lib.global.dir" override ignored property "app.server.parent.dir" importing file /home/nico/ide/build-common-ivy.xml /home/nico/ide/build-common.xml overriding previous definition of reference ant.projecthelper parsing buildfile /home/nico/ide/build-common-ivy.xml uri = file:/home/nico/ide/build-common-ivy.xml [available] found: /home/nico/ide/.ivy/ivy-2.3.0.jar parsing buildfile jar:file:/home/nico/ide/.ivy/ivy-2.3.0.jar!/org/apache/ivy/ant/antlib.xml uri = jar:file:/home/nico/ide/.ivy/ivy-2.3.0.jar!/org/apache/ivy/ant/antlib.xml zip file [available] unable find ivy.xml [available] found: /home/nico/ide/ivy.xml overriding previous definition of reference ant.projecthelper [whichresource] searching org/eclipse/jdt/core/jdtcompileradapter.class overriding previous definition of reference ant.projecthelper [available] found: docroot/web-inf/liferay-plugin-package.properties  [property] loading /home/nico/myproject/docroot/web-inf/liferay-plugin-package.properties [antlib:ise.antelope.tasks] not load definitions resource ise/antelope/tasks/antlib.xml. not found. property "plugin.full.version" has not been set property "plugin.full.version" has not been set property "plugin.full.version" has not been set property "plugin.full.version" has not been set property "plugin.full.version" has not been set [available] unable find src [available] unable find tmp  [macrodef] creating macro  classpath-to-jar overriding previous definition of reference ant.projecthelper overriding previous definition of reference ant.projecthelper  main targets:   clean  clean other targets:    build-client  build-common-plugin.war  build-css  build-db  build-lang  build-lang-cmd  build-service  build-wsdd  build-wsdl  build-xsd  clean-portal-dependencies  compile  compile-import-shared  compile-java  compile-test  compile-test-cmd  compile-test-integration  compile-test-unit  create  deploy  direct-deploy  format-javadoc  format-source  format-wsdl  format-xsd  jar-javadoc  jar-source  javadoc  merge  merge-unzip  patch  print-current-time  publish  publish-local-m2-release  publish-local-m2-snapshot  publish-remote-m2-release  publish-remote-m2-snapshot  setup-eclipse  setup-jrebel  shrink-zip-cmd  sort-xml-attributes  test  test-class  test-cmd  test-integration  test-unit  war default target: deploy 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -