| Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
docpublic:systemes:esup:esup_socle_3_2_c6 [2012/07/11 07:38] PROCACCIA [DLM] |
docpublic:systemes:esup:esup_socle_3_2_c6 [2013/01/16 11:37] (current) PROCACCIA [Theme par population] |
| lower_case_table_names=1 | lower_case_table_names=1 |
| </code> | </code> |
| | |
| | attention a bien positionner cet propriete dans [mysqld] et non dans [mysqld_safe] |
| | |
| | ==== engine=InnoDB depuis mysql5.5 ==== |
| | |
| | :!: Attention au format des databases en mysql 5.5, il faut des tables innoDB :!: |
| | |
| | * https://issues.jasig.org/browse/UP-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel |
| | * https://listes.esup-portail.org/sympa/arc/esup-utilisateurs/2011-02/msg00104.html |
| | |
| | <code> |
| | dans esup-uPortal-3.2.4-esupdev-1.0.0-RC3\update\uPortal\uportal-impl\src\main\resources\properties\rdbm.properties |
| | Il faut inverser le commentaire # pour obtenir ce qui suit. |
| | @ esup.db.mysql.dialect@hibernate.dialect=org.hibernate.dialect.MySQLDialect |
| | |
| | #@esup.db.mysql.dialect@hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect |
| | </code> |
| | |
| |
| Creation de la BD pour uportal | Creation de la BD pour uportal |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] |
| $ mkdir utilisateurs/ | $ mkdir user/ |
| |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/user] |
| $ ll utilisateurs/ | $ ls -l |
| total 12 | total 32 |
| -rw-r--r-- 1 esup esup 154 Jul 1 22:48 enseignant-lo.user | -rw-r--r-- 1 esup esup 157 Aug 16 17:54 accueil-guest-lo.user |
| -rw-r--r-- 1 esup esup 152 Jul 1 22:48 etudiant-lo.user | -rw-r--r-- 1 esup esup 151 Aug 16 17:54 accueil-lo.user |
| -rw-r--r-- 1 esup esup 153 Jul 1 22:48 personnel-lo.user | -rw-r--r-- 1 esup esup 153 Aug 16 17:54 aide-auth-lo.user |
| -rw-r--r-- 1 root root 147 Jul 1 23:04 sad-lo.user | -rw-r--r-- 1 esup esup 154 Aug 16 17:54 aide-guest-lo.user |
| -rw-r--r-- 1 root root 148 Jul 1 23:04 disi-lo.user | -rw-r--r-- 1 esup esup 150 Aug 16 17:54 campus-lo.user |
| | -rw-r--r-- 1 esup esup 148 Aug 16 17:54 disi-lo.user |
| | -rw-r--r-- 1 esup esup 147 Aug 16 17:54 tem-lo.user |
| | -rw-r--r-- 1 esup esup 147 Aug 16 17:54 tsp-lo.user |
| |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/utilisateurs] | |
| $ cat etudiant-lo.user | |
| |
| <user script="classpath://org/jasig/portal/io/import-user_v3-0.crn" username="etudiant-lo"> | |
| | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/user] |
| | $ cat tsp-lo.user |
| | |
| | <user script="classpath://org/jasig/portal/io/import-user_v3-0.crn" username="tsp-lo"> |
| <default-user>defaultTemplateUser</default-user> | <default-user>defaultTemplateUser</default-user> |
| </user> | </user> |
| | |
| </code> | </code> |
| |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install] | [esup@esup3re7 ~/esup-install] |
| $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/utilisateurs/ | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/user/ |
| Buildfile: build.xml | |
| ... | ... |
| [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/utilisateurs/ | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/user/ |
| [java] FILE_PATTERN=.* | [java] FILE_PATTERN=.* |
| [java] Import User: disi-lo.user | [java] Import User: accueil-guest-lo.user |
| [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized | [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized |
| [java] Import User: enseignant-lo.user | [java] Import User: accueil-lo.user |
| [java] Import User: etudiant-lo.user | [java] Import User: aide-auth-lo.user |
| [java] Import User: personnel-lo.user | [java] Import User: aide-guest-lo.user |
| [java] Import User: sad-lo.user | [java] Import User: campus-lo.user |
| [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/utilisateurs/ Complete in 23444 milliseconds. | [java] Import User: disi-lo.user |
| | [java] Import User: tem-lo.user |
| | [java] Import User: tsp-lo.user |
| | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/user/ Complete in 653 milliseconds. |
| |
| BUILD SUCCESSFUL | BUILD SUCCESSFUL |
| Total time: 42 seconds | Total time: 9 seconds |
| |
| </code> | </code> |
| <code> | <code> |
| |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership] | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership] |
| $ cat Proprietaires_de_fragment.group_membership | $ cat Proprietaires_de_fragment.group_membership |
| |
| <literal>all-lo</literal> | <literal>all-lo</literal> |
| <literal>fragmentTemplate</literal> | <literal>fragmentTemplate</literal> |
| <literal>guest-lo</literal> | <literal>campus-lo</literal> |
| <literal>personnel-lo</literal> | |
| <literal>enseignant-lo</literal> | |
| <literal>etudiant-lo</literal> | |
| <literal>sad-lo</literal> | |
| <literal>disi-lo</literal> | <literal>disi-lo</literal> |
| | <literal>accueil-guest-lo</literal> |
| | <literal>accueil-lo</literal> |
| | <literal>aide-auth-lo</literal> |
| | <literal>aide-guest-lo</literal> |
| | <literal>tem-lo</literal> |
| | <literal>tsp-lo</literal> |
| </children> | </children> |
| </group> | </group> |
| | |
| </code> | </code> |
| |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install] | [esup@esup3re7 ~/esup-install] |
| $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ -Dpattern="Proprietaires_de_fragment.*\.group_membership" | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ -Dpattern="Proprietaires_de_fragment.*\.group_membership" |
| Buildfile: build.xml | |
| ... | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ |
| [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ | |
| [java] FILE_PATTERN=Proprietaires_de_fragment.*\.group_membership | [java] FILE_PATTERN=Proprietaires_de_fragment.*\.group_membership |
| [java] Import Group_Membership: Proprietaires_de_fragment.group_membership | [java] Import Group_Membership: Proprietaires_de_fragment.group_membership |
| [java] Import Group_Membership: Proprietaires_de_fragment.group_membership | [java] Import Group_Membership: Proprietaires_de_fragment.group_membership |
| [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ Complete in 5228 milliseconds. | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ Complete in 607 milliseconds. |
| |
| BUILD SUCCESSFUL | BUILD SUCCESSFUL |
| Total time: 32 seconds | Total time: 10 seconds |
| |
| </code> | </code> |
| |
| |
| |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] | |
| $ mkdir fragments | |
| |
| $ ll fragments/ | |
| total 28 | |
| -rw-r--r-- 1 esup esup 2926 Jul 1 22:50 admin-lo.fragment-layout | |
| -rw-r--r-- 1 esup esup 1801 Jul 1 22:50 all-lo.fragment-layout | |
| -rw-r--r-- 1 esup esup 1650 Jul 1 22:50 enseignant-lo.fragment-layout | |
| -rw-r--r-- 1 esup esup 1944 Jul 1 22:50 etudiant-lo.fragment-layout | |
| -rw-r--r-- 1 esup esup 2997 Jul 1 22:50 guest-lo.fragment-layout | |
| -rw-r--r-- 1 esup esup 5161 Jul 1 22:50 personnel-lo.fragment-layout | |
| |
| |
| |
| <code> | <code> |
| [esup@esup3dev ~/src/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/fragments] | [esup@esup3re7 ~/src/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/] |
| $ ls | [esup@esup3re7 itsp]$ mkdir fragment-layout |
| admin-lo.fragment-layout enseignant-lo.fragment-layout guest-lo.fragment-layout | [esup@esup3re7 itsp]$ ll fragment-layout/ |
| all-lo.fragment-layout etudiant-lo.fragment-layout personnel-lo.fragment-layout | total 40 |
| | -rw-r--r-- 1 root root 1973 Aug 16 00:08 crmp-lo.fragment-layout |
| | -rw-r--r-- 1 root root 2108 Aug 16 00:08 disi-lo.fragment-layout |
| | -rw-r--r-- 1 root root 9494 Aug 16 00:08 enseignant-lo.fragment-layout |
| | -rw-r--r-- 1 root root 3916 Aug 16 00:08 etudiant-lo.fragment-layout |
| | -rw-r--r-- 1 root root 1538 Aug 16 00:08 guest-lo.fragment-layout |
| | -rw-r--r-- 1 root root 9668 Aug 16 00:08 personnel-lo.fragment-layout |
| </code> | </code> |
| |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install/custom] | [esup@esup3re7 custom]$ mkdir -p uPortal/uportal-war/src/main/webapp/media/skins/universality/ |
| $ mkdir -p uPortal/uportal-war/src/main/webapp/media/skins/universality/ | [esup@esup3re7 custom]$ mkdir -p uPortal/uportal-war/src/main/webapp/media/skins/muniversality/ |
| $ mkdir -p uPortal/uportal-war/src/main/webapp/media/skins/muniversality/ | |
| |
| |
| | [esup@esup3re7 esup-uPortal-3.2.4-esup-1.0.0-RC3]$ cp Portail/uPortal_rel-3.2.4/uportal-war/src/main/webapp/media/skins/universality/skinList.xml custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/ |
| |
| [esup@esup32dev ~/esup-install] | [esup@esup3re7 esup-uPortal-3.2.4-esup-1.0.0-RC3]$ cp Portail/uPortal_rel-3.2.4/uportal-war/src/main/webapp/media/skins/muniversality/skinList.xml custom/uPortal/uportal-war/src/main/webapp/media/skins/muniversality/ |
| $ cp Portail/uPortal_rel-3.2.4/uportal-war/src/main/webapp/media/skins/universality/skinList.xml custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/ | |
| | |
| [esup@esup32dev ~/esup-install] | |
| $ cp Portail/uPortal_rel-3.2.4/uportal-war/src/main/webapp/media/skins/muniversality/skinList.xml custom/uPortal/uportal-war/src/main/webapp/media/skins/muniversality/ | |
| |
| </code> | </code> |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install] | [esup@esup3re7 esup-uPortal-3.2.4-esup-1.0.0-RC3]$ vim custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/skinList.xml |
| $ vim custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/skinList.xml | |
| |
| | [esup@esup3re7 esup-install]$ diff Portail/uPortal_rel-3.2.4/uportal-war/src/main/webapp/media/skins/universality/skinList.xml custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/skinList.xml |
| [esup@esup32dev ~/esup-install] | 31a32,48 |
| $ diff Portail/uPortal_rel-3.2.4/uportal-war/src/main/webapp/media/skins/universality/skinList.xml custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/skinList.xml | |
| 55a56,71 | |
| > | > |
| > <skin> | > <skin> |
| > <skin-key>formation</skin-key> | > <skin-key>formation</skin-key> |
| > <skin-name>Theme de formation</skin-name> | > <skin-name>Theme de formation</skin-name> |
| > <skin-description> | > <skin-description> |
| > Theme de formation. | > Theme de formation. |
| > </skin-description> | > </skin-description> |
| > </skin> | > </skin> |
| | > |
| | > <skin> |
| | > <skin-key>itsp</skin-key> |
| | > <skin-name>Campus ITSP</skin-name> |
| | > <skin-description> |
| | > Skin de Telecom SudParis et Telecom Ecole de Management. |
| | > </skin-description> |
| | > </skin> |
| > | > |
| > <skin> | |
| > <skin-key>itsp</skin-key> | |
| > <skin-name>Campus ITSP</skin-name> | |
| > <skin-description> | |
| > Skin de Telecom SudParis et Telecom Ecole de Management. | |
| > </skin-description> | |
| > </skin> | |
| |
| </code> | </code> |
| Creation d'une skin itsp a partir de celui de "formation", preparation de l'arborescence custom et definition des css etc ... (ici reprise de la formation esup3.2) | Creation d'une skin itsp a partir de celui de "formation", preparation de l'arborescence custom et definition des css etc ... (ici reprise de la formation esup3.2) |
| |
| | recup des skin depuis une VM esup32dev |
| <code> | <code> |
| [esup@esup32dev ~/esup-install] | [esup@esup32dev ~/esup-install/custom/uPortal/uportal-war/src/main/webapp/media/skins/universality] |
| $ mkdir custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/formation | $ scp -r formation itsp tem tsp root@cnossos:/vz/private/10234/home/esup/esup-install/custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/ |
| | </code> |
| |
| |
| $ scp -r formation/* root@esup32dev.it-sudparis.eu:/home/esup/esup-install/custom/uPortal/uportal-war/src/main/webapp/media/skins/universality/formation | |
| formation.css 100% 5903 5.8KB/s 00:00 | |
| portal_logo.png 100% 16KB 16.2KB/s 00:00 | |
| portal_logo_slim.png 100% 16KB 16.2KB/s 00:00 | |
| skin.xml 100% 2581 2.5KB/s 00:00 | |
| thumb.gif 100% 3904 3.8KB/s 00:00 | |
| </code> | |
| |
| recopie du skin 3.2 "formation" en itsp | recopie du skin 3.2 "formation" en itsp |
| <code> | <code> |
| |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] |
| | $ ls |
| | admin channel fragment-layout group_membership user |
| | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] |
| $ mkdir theme | $ mkdir theme |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] | |
| $ cp /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/src/main/resources/properties/db/mini/theme/DLM_XHTML.theme ./theme/ | |
| | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] |
| | $ cp /home/esup/INSTALLATION/partage/portail/theme/DLM_XHTML.theme ./theme/ |
| |
| </code> | </code> |
| <code> | <code> |
| |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp] |
| $ diff theme/DLM_XHTML.theme /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/src/main/resources/properties/db/mini/theme/DLM_XHTML.theme | $ diff /home/esup/INSTALLATION/partage/portail/theme/DLM_XHTML.theme theme/DLM_XHTML.theme |
| 23,24c23,24 | 23,24c23,24 |
| < <value>itsp</value> | < <value>formation</value> |
| < <description>Campus itsp</description> | < <description>Design skin name</description> |
| --- | --- |
| > <value>formation</value> | > <value>itsp</value> |
| > <description>Design skin name</description> | > <description>campus ITSP</description> |
| 28c28 | 28c28 |
| < </theme> | < </theme> |
| | \ No newline at end of file |
| --- | --- |
| > </theme> | > </theme> |
| |
| |
| </code> | </code> |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install] | [esup@esup3re7 ~/esup-install] |
| $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/theme/ | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/theme/ |
| Buildfile: build.xml | Buildfile: build.xml |
| |
| | [java] INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@1e6743e' on ThreadLocal |
| | [java] INFO Created new lazily initialized GenericApplicationContext for the portal in 4162ms |
| [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/theme/ | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/theme/ |
| [java] FILE_PATTERN=.* | [java] FILE_PATTERN=.* |
| [java] Import Theme: DLM_XHTML.theme | [java] Import Theme: DLM_XHTML.theme |
| [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/theme/ Complete in 2142 milliseconds. | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/theme/ Complete in 541 milliseconds. |
| |
| BUILD SUCCESSFUL | BUILD SUCCESSFUL |
| Total time: 32 seconds | Total time: 12 seconds |
| |
| </code> | </code> |
| |
| Tout utilisateur ayant deja personnelement changer son skin, le gardera , donc si on le fait trop tard il faut modifier dans le BD le choix du skin pour chaque users ! | Tout utilisateur ayant deja personnelement changer son skin, le gardera , donc si on le fait trop tard il faut modifier dans le BD le choix du skin pour chaque users ! |
| | |
| | ==== Sidebar ==== |
| | |
| | retirer la sidebar de droite sur la page par defaut. |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install] |
| | $ grep use.sidebar config.properties |
| | esup.xsl.use.sidebar=true |
| | esup.xsl.use.sidebar.focused=true |
| | #esup.xsl.use.sidebar.guest=true |
| | esup.xsl.use.sidebar.guest=false |
| | </code> |
| |
| ==== Theme par population ==== | ==== Theme par population ==== |
| |
| <code> | <code> |
| custom/uPortal/uportal-impl/src/main/resources/properties/contexts/personDirectoryContext.xml | |
| |
| <entry key="supannentiteaffectationprincipale> | [esup@esup3re7 ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/contexts] |
| <set> <value>uPortalTemplateUserName</value> <value>supannentiteaffectationprincipale</value> | $ diff -ur personDirectoryContext.xml personDirectoryContext.xml.new |
| </set> | --- personDirectoryContext.xml 2012-08-25 21:29:30.000000000 +0200 |
| </entry> | +++ personDirectoryContext.xml.new 2012-08-25 21:28:58.000000000 +0200 |
| | @@ -305,6 +305,13 @@ |
| | <entry key="employeeType"> <value>employeeType</value></entry> |
| | <entry key="title"> <value>title</value></entry> |
| | <entry key="supannaffectation"> <value>supannaffectation</value></entry> |
| | + <entry key="supannentiteaffectationprincipale"> |
| | + <set> |
| | + <value>uPortalTemplateUserName</value> |
| | + <value>supannentiteaffectationprincipale</value> |
| | + </set> |
| | + </entry> |
| | + |
| | <entry key="objectclass"> <value>objectclass</value></entry> |
| | <entry key="supannorganisme"> <value>supannorganisme</value></entry> |
| | </map> |
| | |
| </code> | </code> |
| |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install] | [esup@esup3re7 ~/esup-install] |
| $ mkdir custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account | $ mkdir custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account |
| |
| | [esup@esup3re7 ~/esup-install] |
| [esup@esup32dev ~/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account] | $ ll /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ |
| $ ll | |
| total 36 | total 36 |
| -rw-r--r-- 1 esup esup 409 Jul 3 23:31 tem-default.profile | -rw-r--r-- 1 esup esup 410 Aug 26 14:40 tem-default.profile |
| -rw-r--r-- 1 esup root 481 Jul 3 23:33 tem.layout | -rw-r--r-- 1 esup esup 481 Aug 26 14:40 tem.layout |
| -rw-r--r-- 1 esup root 86 Jul 3 23:34 tem.template-user | -rw-r--r-- 1 esup esup 86 Aug 26 14:41 tem.template-user |
| -rw-r--r-- 1 esup root 416 Jul 3 23:37 tmsp-default.profile | -rw-r--r-- 1 esup esup 411 Aug 26 14:41 tmsp-default.profile |
| -rw-r--r-- 1 esup root 481 Jul 3 23:36 tmsp.layout | -rw-r--r-- 1 esup esup 481 Aug 26 14:41 tmsp.layout |
| -rw-r--r-- 1 esup root 86 Jul 3 23:36 tmsp.template-user | -rw-r--r-- 1 esup esup 86 Aug 26 14:42 tmsp.template-user |
| -rw-r--r-- 1 esup root 415 Jul 3 23:37 tsp-default.profile | -rw-r--r-- 1 esup esup 410 Aug 26 14:42 tsp-default.profile |
| -rw-r--r-- 1 esup root 481 Jul 3 23:37 tsp.layout | -rw-r--r-- 1 esup esup 481 Aug 26 14:42 tsp.layout |
| -rw-r--r-- 1 esup root 86 Jul 3 23:38 tsp.template-user | -rw-r--r-- 1 esup esup 86 Aug 26 14:43 tsp.template-user |
| |
| $ cat tmsp.template-user | $ cat tmsp.template-user |
| </code> | </code> |
| |
| import | import template-user |
| |
| <code> | <code> |
| [esup@esup32dev ~/esup-install] | [esup@esup3re7 ~/esup-install] |
| $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ -Dpattern=".*\.template-user" |
| Buildfile: build.xml | Buildfile: build.xml |
| [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ | ... |
| [java] FILE_PATTERN=.* | install-parent-pom: |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom |
| | [touch] Creating /tmp/jasig/uportal-parent.pom-1153366062-marker |
| | [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar |
| | [java] |
| | [java] INFO Creating new lazily initialized GenericApplicationContext for the portal |
| | [java] INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}' |
| | [java] INFO Initialized portal JNDI context |
| | [java] INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'): Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace) |
| | [java] INFO Loaded bean for name PortalDb.direct |
| | [java] INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@8c39d7' on ThreadLocal |
| | [java] INFO Created new lazily initialized GenericApplicationContext for the portal in 3624ms |
| | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ |
| | [java] FILE_PATTERN=.*\.template-user |
| [java] Import Template User: tem.template-user | [java] Import Template User: tem.template-user |
| | [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized |
| [java] Import Template User: tmsp.template-user | [java] Import Template User: tmsp.template-user |
| [java] Import Template User: tsp.template-user | [java] Import Template User: tsp.template-user |
| | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 824 milliseconds. |
| | |
| | BUILD SUCCESSFUL |
| | Total time: 10 seconds |
| | </code> |
| | |
| | |
| | import profile |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install] |
| | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ -Dpattern=".*\.profile" |
| | Buildfile: build.xml |
| | ... |
| | install-parent-pom: |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom |
| | [touch] Creating /tmp/jasig/uportal-parent.pom-1700626302-marker |
| | [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar |
| | [java] |
| | [java] INFO Creating new lazily initialized GenericApplicationContext for the portal |
| | [java] INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}' |
| | [java] INFO Initialized portal JNDI context |
| | [java] INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'): Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace) |
| | [java] INFO Loaded bean for name PortalDb.direct |
| | [java] INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@1a3f178' on ThreadLocal |
| | [java] INFO Created new lazily initialized GenericApplicationContext for the portal in 3677ms |
| | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ |
| | [java] FILE_PATTERN=.*\.profile |
| [java] Import Profile: tem-default.profile | [java] Import Profile: tem-default.profile |
| | [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized |
| [java] Import Profile: tmsp-default.profile | [java] Import Profile: tmsp-default.profile |
| [java] Import Profile: tsp-default.profile | [java] Import Profile: tsp-default.profile |
| | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 806 milliseconds. |
| | |
| | BUILD SUCCESSFUL |
| | Total time: 10 seconds |
| | </code> |
| | |
| | import layout |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install] |
| | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ -Dpattern=".*\.layout" |
| | Buildfile: build.xml |
| | ... |
| | install-parent-pom: |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom |
| | [touch] Creating /tmp/jasig/uportal-parent.pom-1829337587-marker |
| | [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar |
| | [java] |
| | [java] INFO Creating new lazily initialized GenericApplicationContext for the portal |
| | [java] INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}' |
| | [java] INFO Initialized portal JNDI context |
| | [java] INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'): Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace) |
| | [java] INFO Loaded bean for name PortalDb.direct |
| | [java] INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@3f58bb' on ThreadLocal |
| | [java] INFO Created new lazily initialized GenericApplicationContext for the portal in 3396ms |
| | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ |
| | [java] FILE_PATTERN=.*\.layout |
| [java] Import Layout: tem.layout | [java] Import Layout: tem.layout |
| [java] INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized | [java] INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized |
| [java] INFO Looking up bean 'PortalDB.metadata' in ApplicationContext due to context not yet being initialized | [java] INFO Looking up bean 'PortalDB.metadata' in ApplicationContext due to context not yet being initialized |
| ... | [java] INFO Join test failed: org.jasig.portal.rdbm.DatabaseMetaDataImpl$OracleDb on statement: 'SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0': |
| [java] INFO RDBMEntityGroupStore.initialize(): Node separator set to . | [java] StatementCallback; bad SQL grammar [SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND UP_USER.USER_ID=0' at line 1 |
| | [java] INFO Using join test: org.jasig.portal.rdbm.DatabaseMetaDataImpl$PostgreSQLDb |
| | [java] INFO MySQL (5.0.95) / MySQL-AB JDBC Driver (mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )) database/driver |
| | [java] Connected To: jdbc:mysql://bd3.it-sudparis.eu/uportal32re7 |
| | [java] Supports: |
| | [java] Outer Joins: true |
| | [java] {ts metasyntax: true |
| | [java] TO_DATE(): false |
| | [java] INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'personManager' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'dlmConfigurationLoader' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Parsing group service configuration. |
| | [java] INFO RDBMEntityGroupStore.initialize(): Node separator set to . |
| [java] INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized | [java] INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized |
| [java] Import Layout: tmsp.layout | [java] Import Layout: tmsp.layout |
| [java] Import Layout: tsp.layout | [java] Import Layout: tsp.layout |
| [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 19203 milliseconds. | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template_account/ Complete in 4518 milliseconds. |
| |
| BUILD SUCCESSFUL | BUILD SUCCESSFUL |
| Total time: 51 seconds | Total time: 10 seconds |
| </code> | </code> |
| |
| | Tous les fichiers d'un coup |
| | |
| | <code> |
| | |
| | [esup@esup3re7 ~/esup-install] |
| | $ ll /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/ |
| | total 36 |
| | -rw-r--r-- 1 esup esup 410 Jan 16 12:33 tem-default.profile |
| | -rw-r--r-- 1 esup esup 1998 Jan 16 12:31 tem.layout |
| | -rw-r--r-- 1 esup esup 86 Jan 16 12:02 tem.template-user |
| | -rw-r--r-- 1 esup esup 411 Jan 16 12:34 tmsp-default.profile |
| | -rw-r--r-- 1 esup esup 1889 Jan 16 12:32 tmsp.layout |
| | -rw-r--r-- 1 esup esup 86 Jan 16 12:02 tmsp.template-user |
| | -rw-r--r-- 1 esup esup 410 Jan 16 12:33 tsp-default.profile |
| | -rw-r--r-- 1 esup esup 1900 Jan 16 12:30 tsp.layout |
| | -rw-r--r-- 1 esup esup 86 Jan 16 12:02 tsp.template-user |
| | |
| | |
| | [esup@esup3re7 ~/esup-install] |
| | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/ |
| | Buildfile: build.xml |
| | Trying to override old definition of task java |
| | Trying to override old definition of task javac |
| | |
| | db.import: |
| | |
| | prodPrompt: |
| | |
| | crn-import: |
| | |
| | install-parent-pom: |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom |
| | [touch] Creating /tmp/jasig/uportal-parent.pom-1673432325-marker |
| | [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar |
| | [java] |
| | [java] INFO Creating new lazily initialized GenericApplicationContext for the portal |
| | [java] INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}' |
| | [java] INFO Initialized portal JNDI context |
| | [java] INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'): Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace) |
| | [java] INFO Loaded bean for name PortalDb.direct |
| | [java] INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@5dc268' on ThreadLocal |
| | [java] INFO Created new lazily initialized GenericApplicationContext for the portal in 3555ms |
| | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/ |
| | [java] FILE_PATTERN=.* |
| | [java] Import Template User: tem.template-user |
| | [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized |
| | [java] Import Template User: tmsp.template-user |
| | [java] Import Template User: tsp.template-user |
| | [java] Import Profile: tem-default.profile |
| | [java] Import Profile: tmsp-default.profile |
| | [java] Import Profile: tsp-default.profile |
| | [java] Import Layout: tem.layout |
| | [java] INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'PortalDB.metadata' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Join test failed: org.jasig.portal.rdbm.DatabaseMetaDataImpl$OracleDb on statement: 'SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0': |
| | [java] StatementCallback; bad SQL grammar [SELECT COUNT(UP_USER.USER_ID) FROM UP_USER, UP_USER_LAYOUT WHERE UP_USER.USER_ID = UP_USER_LAYOUT.USER_ID(+) AND UP_USER.USER_ID=0]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND UP_USER.USER_ID=0' at line 1 |
| | [java] INFO Using join test: org.jasig.portal.rdbm.DatabaseMetaDataImpl$PostgreSQLDb |
| | [java] INFO MySQL (5.0.95) / MySQL-AB JDBC Driver (mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )) database/driver |
| | [java] Connected To: jdbc:mysql://bd3.it-sudparis.eu/uportal32re7 |
| | [java] Supports: |
| | [java] Outer Joins: true |
| | [java] {ts metasyntax: true |
| | [java] TO_DATE(): false |
| | [java] INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Looking up bean 'personManager' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'dlmConfigurationLoader' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Parsing group service configuration. |
| | [java] INFO RDBMEntityGroupStore.initialize(): Node separator set to . |
| | [java] INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized |
| | [java] Import Layout: tmsp.layout |
| | [java] Import Layout: tsp.layout |
| | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/template-account/ Complete in 2281 milliseconds. |
| | |
| | BUILD SUCCESSFUL |
| | Total time: 10 seconds |
| | </code> |
| |
| ===== Langues, traduction XSL ===== | ===== Langues, traduction XSL ===== |
| Total time: 10 seconds | Total time: 10 seconds |
| </code> | </code> |
| | |
| | === import tous cannaux 2012 ==== |
| | |
| | apres s'etre assurer d'avoir integrer tous les groups membership correspondants (categoris de cannaux) |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install] |
| | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ |
| | Buildfile: build.xml |
| | ... |
| | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ |
| | [java] FILE_PATTERN=.* |
| | [java] Import Group_Membership: Administration.group_membership |
| | [java] Import Group_Membership: Assistance.group_membership |
| | [java] Import Group_Membership: Divers.group_membership |
| | [java] Import Group_Membership: Etablissements.group_membership |
| | [java] Import Group_Membership: Etudiants.group_membership |
| | [java] Import Group_Membership: Google.group_membership |
| | [java] Import Group_Membership: ITSP_groupes_LDAP.group_membership |
| | [java] Import Group_Membership: Information.group_membership |
| | [java] Import Group_Membership: Mes_groupes_locaux.group_membership |
| | [java] Import Group_Membership: Offres.group_membership |
| | [java] Import Group_Membership: OutilsCom.group_membership |
| | [java] Import Group_Membership: OutilsComm.group_membership |
| | [java] INFO Looking up bean 'counterStore' in ApplicationContext due to context not yet being initialized |
| | [java] Import Group_Membership: Pratique.group_membership |
| | [java] Import Group_Membership: Proprietaires_de_fragment.group_membership |
| | [java] Import Group_Membership: Services.group_membership |
| | [java] Import Group_Membership: Tests.group_membership |
| | [java] Import Group_Membership: Tout_le_monde.group_membership |
| | [java] Import Group_Membership: Toutes_les_categories.group_membership |
| | [java] Import Group_Membership: Utilisateurs_apogee.group_membership |
| | [java] Import Group_Membership: Utilisateurs_harpege.group_membership |
| | [java] Import Group_Membership: Administration.group_membership |
| | [java] Import Group_Membership: Assistance.group_membership |
| | [java] Import Group_Membership: Divers.group_membership |
| | [java] Import Group_Membership: Etablissements.group_membership |
| | [java] INFO Parsing group service configuration. |
| | [java] INFO RDBMEntityGroupStore.initialize(): Node separator set to . |
| | [java] INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'entityCachingService' in ApplicationContext due to context not yet being initialized |
| | [java] Import Group_Membership: Etudiants.group_membership |
| | [java] Import Group_Membership: Google.group_membership |
| | [java] Import Group_Membership: ITSP_groupes_LDAP.group_membership |
| | [java] Import Group_Membership: Information.group_membership |
| | [java] Import Group_Membership: Mes_groupes_locaux.group_membership |
| | [java] Import Group_Membership: Offres.group_membership |
| | [java] Import Group_Membership: OutilsCom.group_membership |
| | [java] Import Group_Membership: OutilsComm.group_membership |
| | [java] Import Group_Membership: Pratique.group_membership |
| | [java] Import Group_Membership: Proprietaires_de_fragment.group_membership |
| | [java] Import Group_Membership: Services.group_membership |
| | [java] Import Group_Membership: Tests.group_membership |
| | [java] Import Group_Membership: Tout_le_monde.group_membership |
| | [java] Import Group_Membership: Toutes_les_categories.group_membership |
| | [java] Import Group_Membership: Utilisateurs_apogee.group_membership |
| | [java] Import Group_Membership: Utilisateurs_harpege.group_membership |
| | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/group_membership/ Complete in 4907 milliseconds. |
| | |
| | BUILD SUCCESSFUL |
| | Total time: 10 seconds |
| | </code> |
| | |
| | on peux integrer tous les canaux |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install] |
| | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel -Dpattern=".*\.channel" |
| | Buildfile: build.xml |
| | |
| | [java] FILE_PATTERN=.*\.channel |
| | [java] Import Channel: AccesECampus.channel |
| | [java] INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Looking up bean 'jpaInterceptor' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Parsing group service configuration. |
| | [java] INFO RDBMEntityGroupStore.initialize(): Node separator set to . |
| | [java] INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'entityCachingService' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'portletDefinitionRegistry' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'channelPublishingService' in ApplicationContext due to context not yet being initialized |
| | [java] Import Channel: Actualites.channel |
| | [java] Import Channel: Administration.channel |
| | [java] Import Channel: Apple.channel |
| | [java] Import Channel: Arcentel.channel |
| | [java] Import Channel: AssosAnciens.channel |
| | [java] Import Channel: AssosEtudiants.channel |
| | [java] Import Channel: Bookmark.channel |
| | [java] Import Channel: Brochure.channel |
| | [java] Import Channel: CAnnuaire.channel |
| | [java] Import Channel: CE.channel |
| | [java] Import Channel: CHello.channel |
| | [java] Import Channel: CInfos.channel |
| | [java] Import Channel: CSuggestion.channel |
| | [java] Import Channel: CanalU.channel |
| | [java] Import Channel: Carrefourinternational.channel |
| | [java] Import Channel: Catalogues.channel |
| | [java] Import Channel: EvryPratique.channel |
| | [java] Import Channel: Filez.channel |
| | [java] Import Channel: Graife.channel |
| | [java] Import Channel: Handicap.channel |
| | [java] Import Channel: Helpdesk.channel |
| | [java] Import Channel: Infopedia.channel |
| | [java] Import Channel: Intro.channel |
| | [java] Import Channel: LienUtilesPerm.channel |
| | [java] Import Channel: MSDNAA.channel |
| | [java] Import Channel: MaisonEleves.channel |
| | [java] Import Channel: Mediatheque.channel |
| | [java] Import Channel: Moodle.channel |
| | [java] Import Channel: MotPasse.channel |
| | [java] Import Channel: Nuxeo.channel |
| | [java] Import Channel: OpenPortal.channel |
| | [java] Import Channel: Parrains.channel |
| | [java] Import Channel: ProgTV.channel |
| | [java] Import Channel: Rapport_fin_de_sejour.channel |
| | [java] Import Channel: Rdvz.channel |
| | [java] Import Channel: ReglementScola.channel |
| | [java] Import Channel: Relations_entreprises.channel |
| | [java] Import Channel: STP.channel |
| | [java] Import Channel: Signets.channel |
| | [java] Import Channel: Specificite_europe_bourse_erasmus.channel |
| | [java] Import Channel: Stats.channel |
| | [java] Import Channel: Supervis.channel |
| | [java] Import Channel: Sympa.channel |
| | [java] Import Channel: Titresejour.channel |
| | [java] Import Channel: Trombi.channel |
| | [java] Import Channel: Ubicast.channel |
| | [java] Import Channel: Voila.channel |
| | [java] Import Channel: Webmail.channel |
| | [java] Import Channel: Wifi.channel |
| | [java] Import Channel: Wikiadmin.channel |
| | [java] Import Channel: Wikipedia.channel |
| | [java] Import Channel: calendar.channel |
| | [java] Import Channel: cms.channel |
| | [java] Import Channel: dictionnaire-portlet.channel |
| | [java] Import Channel: esup-annuaire.channel |
| | [java] Import Channel: google-maps-portlet.channel |
| | [java] Import Channel: google-portlet.channel |
| | [java] Import Channel: google-translate-portlet.channel |
| | [java] Import Channel: inlineMeteo.channel |
| | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel Complete in 7763 milliseconds. |
| | |
| | BUILD SUCCESSFUL |
| | Total time: 12 seconds |
| | </code> |
| | |
| |
| |
| |
| </code> | </code> |
| | ==== esup-filemanager ==== |
| | |
| | === Sources === |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install/canaux] |
| | $ wget https://sourcesup.renater.fr/frs/download.php/4021/esup-filemanager-2.2.0.tgz |
| | $ tar tvfz esup-filemanager-2.2.0.tgz |
| | $ ln -s esup-filemanager-2.2.0 esup-filemanager |
| | $ cd esup-filemanager |
| | </code> |
| | |
| | === configuration === |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install/canaux/esup-filemanager/src/main/webapp/WEB-INF] |
| | $ cp web.xml web.xml.orig |
| | $ cp context/drives.xml context/drives.xml.orig |
| | $ cp log4j.properties log4j.properties.orig |
| | </code> |
| | |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install/canaux/esup-filemanager/src/main/webapp/WEB-INF] |
| | $ diff web.xml.orig web.xml |
| | 115c115 |
| | < <param-value>https://cas.mon-univ.fr/proxy</param-value> |
| | --- |
| | > <param-value>https://cas.tem-tsp.eu/cas/proxy</param-value> |
| | </code> |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install/canaux/esup-filemanager/src/main/webapp/WEB-INF] |
| | $ diff context/drives.xml.orig context/drives.xml | more |
| | 36c36 |
| | < <util:constant id="isPortlet" static-field="java.lang.Boolean.FALSE"/> |
| | --- |
| | > <util:constant id="isPortlet" static-field="java.lang.Boolean.TRUE"/> |
| | 42,52c42,52 |
| | < <util:map id="drivesCategories"> |
| | < <entry key="Shared"> |
| | < <bean class="org.esupportail.portlet.filemanager.beans.DrivesCategory"> |
| | < <property name="icon" value="/esup-filemanager/img/drives/house.png" /> |
| | < <property name="drives"> |
| | < <list> |
| | < <value>Toto</value> |
| | < <value>bob</value> |
| | < </list> |
| | < </property> |
| | < </bean> |
| | --- |
| | > <util:map id="drivesCategories"> |
| | > <entry key="Mes fichiers"> |
| | > <bean class="org.esupportail.portlet.filemanager.beans.DrivesCategory"> |
| | > <property name="icon" value="/esup-filemanager/img/drives/house.png" /> |
| | > <property name="drives"> |
| | > <list> |
| | > <value>Espace personnel</value> |
| | > <value>Web spaces</value> |
| | .... |
| | </code> |
| | |
| | === compilation === |
| | |
| | <code> |
| | export JAVA_HOME=/usr/lib/jvm/java-1.6.0 |
| | [esup@esup3re7 ~/esup-install/canaux/esup-filemanager] |
| | $ /usr/local/apache-maven-2.2.1/bin/mvn clean package |
| | .... |
| | Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar |
| | 138K downloaded (plexus-archiver-1.0-alpha-7.jar) |
| | [INFO] [war:war {execution: default-war}] |
| | [INFO] Exploding webapp... |
| | [INFO] Assembling webapp esup-filemanager in /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager |
| | [INFO] Copy webapp webResources to /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager |
| | [INFO] Generating war /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager.war |
| | [INFO] Building war: /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/canaux/esup-filemanager-2.2.0/target/esup-filemanager.war |
| | [INFO] ------------------------------------------------------------------------ |
| | [INFO] BUILD SUCCESSFUL |
| | [INFO] ------------------------------------------------------------------------ |
| | [INFO] Total time: 1 minute 24 seconds |
| | [INFO] Finished at: Thu Aug 30 15:42:11 CEST 2012 |
| | [INFO] Final Memory: 27M/91M |
| | [INFO] ------------------------------------------------------------------------ |
| | <code> |
| | |
| | === deploy === |
| | |
| | <code> |
| | [esup@esup3re7 ~/esup-install/canaux/esup-filemanager] |
| | $ ant -f /home/esup/esup-install/build.xml portlet.deploy -DportletApp=/home/esup/esup-install/canaux/esup-filemanager/target/esup-filemanager.war |
| | Buildfile: /home/esup/esup-install/build.xml |
| | Trying to override old definition of task java |
| | Trying to override old definition of task javac |
| | |
| | portlet.deploy: |
| | |
| | checkForTomcat: |
| | |
| | deployPortletApp: |
| | |
| | install-parent-pom: |
| | [artifact:install] [INFO] Installing /home/esup/esup-install/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom |
| | [touch] Creating /tmp/jasig/uportal-parent.pom-1990999528-marker |
| | [artifact:dependencies] Downloading: org/apache/pluto/pluto-ant-tasks/1.1.7/pluto-ant-tasks-1.1.7.pom from central |
| | [artifact:dependencies] Transferring 2K from central |
| | [artifact:dependencies] Downloading: org/apache/pluto/pluto-ant-tasks/1.1.7/pluto-ant-tasks-1.1.7.jar from central |
| | [artifact:dependencies] Transferring 11K from central |
| | [assemblePortlet] Assembling '/home/esup/esup-install/canaux/esup-filemanager/target/esup-filemanager.war' to '/tmp/jasig' |
| | [assemblePortlet] Aug 30, 2012 3:46:07 PM org.exolab.castor.mapping.Mapping loadMapping |
| | [assemblePortlet] INFO: Loading mapping descriptors from jar:file:/home/esup/.m2/repository/org/apache/pluto/pluto-descriptor-impl/1.1.7/pluto-descriptor-impl-1.1.7.jar!/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml |
| | [assemblePortlet] Aug 30, 2012 3:46:07 PM org.exolab.castor.mapping.Mapping loadMapping |
| | [assemblePortlet] INFO: Loading mapping descriptors from jar:file:/home/esup/.m2/repository/org/apache/pluto/pluto-descriptor-impl/1.1.7/pluto-descriptor-impl-1.1.7.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml |
| | [assemblePortlet] Aug 30, 2012 3:46:08 PM org.exolab.castor.mapping.Mapping loadMapping |
| | [assemblePortlet] INFO: Loading mapping descriptors from jar:file:/home/esup/.m2/repository/org/apache/pluto/pluto-descriptor-impl/1.1.7/pluto-descriptor-impl-1.1.7.jar!/org/apache/pluto/descriptors/services/castor/castor-web-xml-mapping.xml |
| | |
| | fastWarDeploy: |
| | [echo] extractWars=true |
| | [echo] removeExisting=false |
| | [mkdir] Created dir: /tmp/jasig/esup-filemanager |
| | [unwar] Expanding: /tmp/jasig/esup-filemanager.war into /tmp/jasig/esup-filemanager |
| | [echo] Moving /tmp/jasig/esup-filemanager to /usr/share/tomcat6/webapps |
| | [delete] Deleting: /tmp/jasig/esup-filemanager.war |
| | |
| | BUILD SUCCESSFUL |
| | Total time: 7 seconds |
| | |
| | |
| | [esup@esup3re7 ~/esup-install/canaux/esup-filemanager] |
| | $ ll /usr/share/tomcat6/webapps/esup-filemanager/ |
| | total 20 |
| | drwxrwsr-x 3 esup esup 4096 Aug 30 15:46 css |
| | drwxrwsr-x 7 esup esup 4096 Aug 30 15:46 img |
| | drwxrwsr-x 3 esup esup 4096 Aug 30 15:46 js |
| | drwxrwsr-x 3 esup esup 4096 Aug 30 15:46 META-INF |
| | drwxrwsr-x 6 esup esup 4096 Aug 30 15:46 WEB-INF |
| | |
| | </code> |
| | |
| | === Context tomcat === |
| | |
| | |
| | dans /etc/tomcat6/server.xml |
| | |
| | <code> |
| | <Context path="/esup-filemanager" docBase="/usr/share/tomcat6/webapps/esup-filemanager" reloadable="true"> |
| | <Manager pathname=""/> |
| | </Context> |
| | </code> |
| | |
| | === import channel === |
| | |
| | <code> |
| | |
| | [esup@esup3re7 ~/esup-install] |
| | $ ant db.import -Ddir=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel -Dpattern="esup-filemanager\.channel" |
| | Buildfile: build.xml |
| | Trying to override old definition of task java |
| | Trying to override old definition of task javac |
| | |
| | db.import: |
| | |
| | prodPrompt: |
| | |
| | crn-import: |
| | |
| | install-parent-pom: |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/pom.xml to /home/esup/.m2/repository/org/jasig/portal/uportal-parent/3.2.4/uportal-parent-3.2.4.pom |
| | [touch] Creating /tmp/jasig/uportal-parent.pom-1944894708-marker |
| | [echo] Artifact '/home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar' is up-to-date |
| | [artifact:install] [INFO] Installing /home/esup/esup-uPortal-3.2.4-esup-1.0.0-RC3/Portail/uPortal_rel-3.2.4/uportal-impl/target/uportal-impl-3.2.4.jar to /home/esup/.m2/repository/org/jasig/portal/uportal-impl/3.2.4/uportal-impl-3.2.4.jar |
| | [java] |
| | [java] INFO Creating new lazily initialized GenericApplicationContext for the portal |
| | [java] INFO Created new MemoryContext with environment '{java.naming.factory.url.pkgs=tyrex.naming, java.naming.provider.url=, java.naming.factory.initial=org.jasig.portal.jndi.DisposableMemoryContextFactory}' |
| | [java] INFO Initialized portal JNDI context |
| | [java] INFO Failed to load bean 'PortalDb.JNDI' from ApplicationContext expecting type: interface javax.sql.DataSource. Will try to load the next bean in the list instead. Error message from the attempt to load this bean ('PortalDb.JNDI'): Error creating bean with name 'PortalDb.JNDI' defined in class path resource [properties/contexts/datasourceContext.xml]: Invocation of init method failed; nested exception is javax.naming.NotContextException: comp is not a subcontext (enable debug for stack trace) |
| | [java] INFO Loaded bean for name PortalDb.direct |
| | [java] INFO Setting CacheProvider 'org.jasig.portal.utils.cache.hibernate.EhCacheProvider@1843ca4' on ThreadLocal |
| | [java] INFO Created new lazily initialized GenericApplicationContext for the portal in 4186ms |
| | [java] Base Import Directory=/home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel |
| | [java] FILE_PATTERN=esup-filemanager\.channel |
| | [java] Import Channel: esup-filemanager.channel |
| | [java] INFO Looking up bean 'channelRegistryStore' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Creating singleton instance for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Adding destruction callback singleton for bean 'scopedTarget.sessionAttributesOverridesMap' |
| | [java] INFO Looking up bean 'jpaInterceptor' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Parsing group service configuration. |
| | [java] INFO RDBMEntityGroupStore.initialize(): Node separator set to . |
| | [java] INFO Looking up bean 'cacheFactory' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'PortalDb' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'entityCachingService' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'portletDefinitionRegistry' in ApplicationContext due to context not yet being initialized |
| | [java] INFO Looking up bean 'channelPublishingService' in ApplicationContext due to context not yet being initialized |
| | [java] Import of /home/esup/esup-install/custom/uPortal/uportal-impl/src/main/resources/properties/db/itsp/channel Complete in 5874 milliseconds. |
| | |
| | BUILD SUCCESSFUL |
| | Total time: 12 seconds |
| | </code> |
| | |
| ==== Canal Stockage ==== | ==== Canal Stockage ==== |
| |