Notifications
Clear all

How can I use ant from a linux-based installation of ONE?

1 Posts
1 Users
1 Reactions
1,178 Views
0
Topic starter

I want to run some load data commands on my dataset in my linux-based installation of ONE.  But when I try to do this, I get an error that ant is not found:

 

[p10pltd@plt-4000-qa3-ui-138 RTVN_Dataset]$ pwd
/one/PLT/plt_latest/datasets/RTVN_Dataset
[p10pltd@plt-4000-qa3-ui-138 RTVN_Dataset]$ ant load-minimal-data
bash: ant: command not found

So how can I access ant from a linux-based install of ONE?

1 Answer
1
Topic starter

You can setup your environment to make ant available as follows:

 

cd /one/PLT/plt_latest/setup
. antEnv.sh

 

Once done, you will see that ant is useable, so you can cd to your dataset and run whatever ant targets are required.