Home
Overview
Available Tasks (General)
projectBuild
compileWorkspace
getJavacErrorCount
getProjectData
setDebugInfo
Available Tasks (J2EE)
AppClientExport
EARExport
UtilJar
WARExport
Available Tasks (EJB enabled tools only)
AccessBeanRegeneration
EJBDeploy
EJBExport
getProjectData

Description

This is an internal (utility) task which gets the current project information.

Parameters
 


Attribute Description Required
Basedir The fully qualified project basedir (typically X:\MYWSAD\MYWORKSPACE\MYPROJECT)
Yes
ProjectProperty Property name to receive the project name No, default is projectName
WorkspaceProperty Property name to receive the workspace path No, default is workspaceName
NatureProperty Property name to receive the project nature No, default is natureName

Examples

<getProjectData  Basedir="${basedir}" />
<echo message="getProjectData: projectName=${projectName}
  nature=${natureName} workspace=${workspaceName}
  basedir=${basedir}" />
Retrieves and displays current project information 
<getProjectData  Basedir="${basedir}" 
  ProjectProperty="projectName"
  WorkspaceProperty="workspace"
  NatureProperty="nature" />
<echo message="getProjectData: projectName=${projectName}
  nature=${nature} workspace=${workspace}
  basedir=${basedir}" />
Sets the individual settings to false,...do builds..., sets all settings true.