cancel
Showing results for 
Search instead for 
Did you mean: 

Script files not showing up in jar

qwertz
Confirmed Champ
Confirmed Champ

Hi, I have an existing AMP file containing js scripts that should overwrite existing ones in share, such as actions.js. I need to convert this AMP to the new jar format using SDK 3 but I'm facing some problems. I've put the scripts in the src/main/assembly/web/ directory but after generating the jar file, these files are not present in the jar and nothing is overwritten. Does anyone have suggestions?

2 REPLIES 2

hardik1512
Star Contributor
Star Contributor

Try adding them under

src\main\resources\META-INF\resources

While generating jar, these files will be present inside it and will also be overridden when you run.

Thanks, it worked!