Changeset 12004
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_BDP_FS/com/scenari/m/bdp/item/fs/HRepositoryFs2.java
r11362 r12004 374 374 for (int i = 0; i < vListSpaces.size(); i++) { 375 375 WspType.SystemSpace vSystSpace = (WspType.SystemSpace) vListSpaces.get(i); 376 if (vSystSpace.fUpdateKey != null) {376 if (vSystSpace.fUpdateKey != null) { 377 377 IUpdtRes vNewRes = null; 378 378 UpdtVersion vOldVersion = new UpdtVersion(vSystSpace.fCurrentVersion); … … 396 396 for (int i = 0; i < vNewListSpaces.size(); i++) { 397 397 WspType.SystemSpace vSystSpace = (WspType.SystemSpace) vNewListSpaces.get(i); 398 if (vSystSpace.fUpdateKey != null) {398 if (vSystSpace.fUpdateKey != null) { 399 399 // On recherche cet espace dans l'ancien WspType 400 400 WspType.SystemSpace vOldSystSpace = null; … … 474 474 WspType.SystemSpace vSystSpace = (WspType.SystemSpace) vNewListSpaces.get(i); 475 475 // On recherche cet espace dans l'ancien WspType 476 if (vSystSpace.fUpdateKey != null) {476 if (vSystSpace.fUpdateKey != null) { 477 477 IUpdtRes vNewRes = null; 478 478 vNewRes = fNewWspType.fUpdtProvider.lookForUpdates(vSystSpace.fUpdateKey, true, true, UpdtVersion.UNDEFINED_VERSION, UpdtVersion.UNDEFINED_VERSION); … … 1198 1198 if (fTypeGenerations == SOURCETYPE_FS) { 1199 1199 fFolderGeneration = new HSourceFs(null, fPathGeneration, ""); 1200 } else if (fType Content== SOURCETYPE_REL) {1200 } else if (fTypeGenerations == SOURCETYPE_REL) { 1201 1201 IHSource vRoot = (fDomain.fFolderGenerations != null) ? fDomain.fFolderGenerations : fDomain.fFolderWspContents; 1202 1202 fFolderGeneration = vRoot.hFindRootSource(fPathGeneration); … … 1278 1278 for (int i = 0; i < vListSpaces.size(); i++) { 1279 1279 WspType.SystemSpace vSSpace = (WspType.SystemSpace) vListSpaces.get(i); 1280 if (vSSpace.fUpdateKey != null) {1280 if (vSSpace.fUpdateKey != null) { 1281 1281 UpdtVersion vVersion = new UpdtVersion(vSSpace.fCurrentVersion); 1282 1282 // Mise à jour automatique … … 1346 1346 } 1347 1347 } 1348 1348 1349 1349 if (vRes != null) { 1350 1350 // Note vRes == null dans le cas où un download est initié. … … 1363 1363 vSSpace.fCurrentVersion = null; 1364 1364 } 1365 } else if (vSSpace.fSource!=null){1365 } else if (vSSpace.fSource != null) { 1366 1366 //SystemSpace issu d'une source externe 1367 1367 HSystemSpaceDef vSpaceDef = new HSystemSpaceDef(); … … 2328 2328 * @param pPathGen Personnalisation du chemin des génération (Paramètre sans effet en mode server). 2329 2329 * @param pXmlWspType 2330 * Xml Stream du wspType. Si null cherche le fichier .wspmeta à la2330 * Xml Stream du wspType. Si null cherche le fichier .wspmeta à la 2331 2331 * racine des sources (pPathContent) 2332 * @param p keyResMap2332 * @param pKeyResMap 2333 2333 * Map de keyRes/java.io.File pour créer un atelier spécifiant 2334 2334 * ses propres chemins d'accès aux ressources. 2335 2335 * Paramètre sans effet en mode server 2336 * @return le WspHandler si il a été créé. Null, si le code existe déjà.2336 * @return Le WspHandler si il a été créé. Null, si le code existe déjà. 2337 2337 * @exception Exception 2338 2338 * En cas de paramètres "path" incohérents ou impossibles. 2339 2339 */ 2340 public WspHandler hCreateWsp(String pCode, String pPathContent, String pPathGen, InputStream pXmlWspType, Map p keyResMap) throws Exception {2340 public WspHandler hCreateWsp(String pCode, String pPathContent, String pPathGen, InputStream pXmlWspType, Map pKeyResMap) throws Exception { 2341 2341 DomainFs2 vDomain = xGetDomain(); 2342 2342 List vWspHandlerList = vDomain.fListWsp; … … 2416 2416 vHandler.fTypeGenerations = SOURCETYPE_FS; 2417 2417 vHandler.fPathGeneration = vPathGen; 2418 vHandler.fUpdtMgrMapRes = p keyResMap;2418 vHandler.fUpdtMgrMapRes = pKeyResMap; 2419 2419 } 2420 2420 -
trunk/Jav_CO/com/scenari/s/co/source/IHRootSourceLoader.java
r10878 r12004 43 43 /** 44 44 * Loader d'un nouveau RootSource. 45 * 46 * @see HRootSourceMgr#hGetLoader(String) 45 47 */ 46 48 public interface IHRootSourceLoader extends IFragmentSaxHandler { … … 50 52 */ 51 53 public IHSource hGetRootSource(); 52 54 53 55 /** 54 * Contenu du paramétrage de cette nouvelle source .56 * Contenu du paramétrage de cette nouvelle source (pour la résolution relative de ressources externes). 55 57 * @param pDocSource 56 58 */ 57 59 public void hSetDocSource(IHSource pDocSource); 58 60 59 61 /** 60 * 61 * 62 * Init du nom du tag racine. 62 63 */ 63 64 public void hSetTagRoot(String pTagRoot);
Note: See TracChangeset
for help on using the changeset viewer.