How to run the buildwar command in linux server with SSD v7.0.2

Which IIQ version are you inquiring about?

8.1 P2

Share all details about your problem, including any error messages you may have received.

am unable to run the build war command in linux server from SSD v7.0.2 version. kindly suggest any ways to fix this issue

Hi @Praveencharan

Can you share any logs or screenshot on the error you’re getting

Hi @tharshith,

whenever am running run build war command where my SSD is installed. am getting no such file or directory.

Please check if Apache ant is installed in your machine. Also check if Apache Ant’s file location is properly placed in build.sh file.

@Praveencharan Welcome back to the community.

is there any error you are getting? Please share.

You can use the below command to create the war ./build.sh war

Regards
Ankush

Hi @Praveencharan

Make sure you’re in the right directory You need to be inside the SSD installation folder when running the command. Otherwise, it won’t find the necessary files.
→ cd /path/to/your/SSD
→ ./build.sh war

2 Likes

Please find the screenshot

any idea how to install apache ant in my server and how add the path in build.sh file

Make the script executable If build.sh is there but not executable, fix it with:
→ chmod +x build.sh

2 Likes

Please refer this link https://community.sailpoint.com/t5/Professional-Services/Services-Standard-Build-SSB-v7-0-2/ta-p/190496?attachment-id=12921

1 Like

after running the build.war. it is getting failed. any idea how to set the java_home

Hi @Praveencharan to set the java home in linux please refer following link - https://access.redhat.com/solutions/1445833

1 Like

Hi @Akhila_2001 ,

It is getting failed unable to find a javac complier

Hii @Praveencharan

Can you confirm $echo JAVA_HOME is printing value? if not please follow below steps-

This is the sample lines how it is placed in my bashrc config file:
image

Confirm whether this path set correctly by running the command:
image

Then try to build war using the ./build.sh war in SSD.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.