Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

B)  When the overlay in ssp-platform includes customized Javascript code (currently, since Configuration.js is still the mechanism through which much of this site-specific customization happens, this will be very common until all of the configuration settings are pushed to the SSP config table.)
\\
%> cd {ssp-src}
# Builds and installs the ssp.war file in the local maven repository
%> mvn -Dmaven.test.skip=true clean install
%> cd {platform-src}/uportal-portlets-overlay/ssp
# Builds the ssp.war file for the overlay project in ssp-platform
%> mvn clean package
%> cd /target/ssp
# Builds the minified versions of app-all.js and all-classes.js
%> sencha build -p ssp.jsb3 -d .
# Copy the minified versions to the src/main/webapp directory for ssp in the overlay
%> cp app-all.js ../../src/main/webapp/
%> cp all-classes.js ../../src/main/webapp/
%> cd ../../
# Make sure it looks like all-classes.js and app-all.js have been modified
%> git status
# Add, commit, and push those changes
%> git add src/main/webapp/app-all.js src/main/webapp/all-classes.js
%> git commit -m "NOJIRA Update aggregated/minified js to include overlay code"
%> git push <remote-name> <branch-name>
%> cd {platform-src}
# Then build and deploy platform as usual


...