Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
docpublic:systemes:esup:esup_socle_4_c7 [2016/05/26 15:28] procacci@tem-tsp.eu [parametrage] |
docpublic:systemes:esup:esup_socle_4_c7 [2016/05/27 13:14] (current) procacci@tem-tsp.eu [parametrage] |
[INFO] ------------------------------------------------------------------------ | [INFO] ------------------------------------------------------------------------ |
</code> | </code> |
| |
| === deploiement === |
| |
| ant deployPortletApp => ajoute dans le web.xml le fait que c'est le portail qui va lancer cette portlet (via pluto) et pousse le .war dans webapps . |
| |
| le deploy se fait depuis la racine des sources du portail |
| |
| <code> |
| [esup@esup4dz ~/esup-uportal] |
| $ cd /home/esup/esup-uportal |
| </code> |
| |
| puis deploy via ant deployPortletApp |
| |
| <code> |
| [esup@esup4dz ~/esup-uportal] |
| $ ant deployPortletApp -DportletApp=/home/esup/portlet/esup-filemanager/target/esup-filemanager.war |
| Buildfile: /home/esup/esup-uportal/build.xml |
| |
| checkForTomcat: |
| |
| deployPortletApp: |
| |
| install-parent-pom: |
| [artifact:install] [INFO] Installing /home/esup/esup-uportal/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/4.0.16-SNAPSHOT/uportal-parent-4.0.16-SNAPSHOT.pom |
| [touch] Creating /home/esup/esup-uportal/target/tmp/uportal-parent.pom-41461427-marker |
| [echo] Artifact '/home/esup/esup-uportal/bootstrap/pluto-assembler/target/pluto-assembler-4.0.16-SNAPSHOT.jar' is not available or out-of-date, calling 'mvn install' |
| |
| mvn: |
| [exec] [INFO] Scanning for projects... |
| [exec] [INFO] |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] [INFO] Building Bootstrap - Pluto Assembler Dependencies 4.0.16-SNAPSHOT |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] Downloading: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.pom |
| [exec] Downloaded: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.pom (2 KB at 2.6 KB/sec) |
| [exec] Downloading: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.jar |
| [exec] Downloaded: http://repo.maven.apache.org/maven2/org/apache/portals/pluto/pluto-ant-tasks/2.1.0-M3/pluto-ant-tasks-2.1.0-M3.jar (12 KB at 42.1 KB/sec) |
| [exec] [INFO] |
| [exec] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ pluto-assembler --- |
| [exec] [INFO] |
| [exec] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ pluto-assembler --- |
| [exec] [INFO] |
| [exec] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pluto-assembler --- |
| [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources. |
| [exec] [INFO] skip non existing resourceDirectory /home/esup/esup-uportal/bootstrap/pluto-assembler/src/main/resources |
| [exec] [INFO] |
| [exec] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pluto-assembler --- |
| [exec] [INFO] No sources to compile |
| [exec] [INFO] |
| [exec] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ pluto-assembler --- |
| [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources. |
| [exec] [INFO] skip non existing resourceDirectory /home/esup/esup-uportal/bootstrap/pluto-assembler/src/test/resources |
| [exec] [INFO] |
| [exec] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ pluto-assembler --- |
| [exec] [INFO] No sources to compile |
| [exec] [INFO] |
| [exec] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ pluto-assembler --- |
| [exec] [INFO] No tests to run. |
| [exec] [INFO] |
| [exec] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ pluto-assembler --- |
| [exec] [WARNING] JAR will be empty - no content was marked for inclusion! |
| [exec] [INFO] Building jar: /home/esup/esup-uportal/bootstrap/pluto-assembler/target/pluto-assembler-4.0.16-SNAPSHOT.jar |
| [exec] [INFO] |
| [exec] [INFO] --- maven-site-plugin:3.1.r1174614:attach-descriptor (attach-descriptor) @ pluto-assembler --- |
| [exec] [INFO] |
| [exec] [INFO] --- maven-install-plugin:2.4:install (default-install) @ pluto-assembler --- |
| [exec] [INFO] Installing /home/esup/esup-uportal/bootstrap/pluto-assembler/target/pluto-assembler-4.0.16-SNAPSHOT.jar to /home/esup/.m2/repository/org/jasig/portal/pluto-assembler/4.0.16-SNAPSHOT/pluto-assembler-4.0.16-SNAPSHOT.jar |
| [exec] [INFO] Installing /home/esup/esup-uportal/bootstrap/pluto-assembler/pom.xml to /home/esup/.m2/repository/org/jasig/portal/pluto-assembler/4.0.16-SNAPSHOT/pluto-assembler-4.0.16-SNAPSHOT.pom |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] [INFO] BUILD SUCCESS |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [exec] [INFO] Total time: 3.805s |
| [exec] [INFO] Finished at: Thu May 26 17:43:42 CEST 2016 |
| [exec] [INFO] Final Memory: 16M/310M |
| [exec] [INFO] ------------------------------------------------------------------------ |
| [assemblePortlet] Assembling '/home/esup/portlet/esup-filemanager/target/esup-filemanager.war' to '/home/esup/esup-uportal/target/tmp' |
| [assemblePortlet] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". |
| [assemblePortlet] SLF4J: Defaulting to no-operation (NOP) logger implementation |
| [assemblePortlet] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. |
| |
| fastWarDeploy: |
| [echo] extractWars=true |
| [echo] removeExisting=true |
| [mkdir] Created dir: /home/esup/esup-uportal/target/tmp/esup-filemanager |
| [unwar] Expanding: /home/esup/esup-uportal/target/tmp/esup-filemanager.war into /home/esup/esup-uportal/target/tmp/esup-filemanager |
| [echo] Moving /home/esup/esup-uportal/target/tmp/esup-filemanager to /opt/tomcat/webapps |
| [delete] Deleting: /home/esup/esup-uportal/target/tmp/esup-filemanager.war |
| |
| BUILD SUCCESSFUL |
| Total time: 10 seconds |
| </code> |
| |
| === visualisation Cmd=edit option sur l'interface === |
| |
| voir les options de personnalisation sur l'interface web (si css les caches) |
| |
| https://esup4dz.tem-tsp.eu/uPortal/f/welcome/p/esup-filemanager.u32l1n15/max/render.uP?p**Cmd=edit** |
| |
| |
==== esup-filemanager 2==== | ==== esup-filemanager 2==== |