Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

2. In the "System Properties" window, go to the "Advanced" tab and click "Environment Variables."

Image RemovedImage Added

3. The "Environment variables" window opens. Click the "New" button under "System variables."

Image RemovedImage Added

4. The "New system variable" input box opens. Type "variable name": ANT_HOME, and "variable value": <Ant installation directory>.

For example, c:\wso2\apache-ant-1.8.2. Click "OK."

Image RemovedImage Added

5. ANT_HOME variable is added to system variables.

...

1. In the "System variables" list select PATH variable, and click "Edit."

Image RemovedImage Added

2. The "Edit system variable" input box opens.

...

For example, c:\wso2\apache-ant-1.8.2\bin.

Image RemovedImage Added

3. The "bin" directory is added to the PATH variable.

...

Note
titleNotice

Variable set up will be effective for the CMD opened after this operation. In case a CMD was run before the variable was set up, this change will not be effective for it. To ensure the variable set up is effective, and variable value is reset, close and reopen the CMD you will run the product from, or close and reopen the browser you run the CMD from.

{Note:title=Windows Note} {color:#000000}The
Wiki Markup
Note
titleWindows Note

The ant.bat

script

makes

use

of

three

environment

variables

ANT_HOME,

CLASSPATH

and

JAVA_HOME.

Ensure

that

ANT_HOME

and

JAVA_HOME

variables

are

set,

and

that

they

do

not

have

quotes

(either

'

or

")

and

they

do

not

end

with

\

or

with

/.

CLASSPATH

should

be

unset

or

empty.

{color} {Note}

Setting JAVA_HOME

Refer to Installing on Windows from Binary Distribution for instructions on setting the JAVA_HOME.

...