To display the most relevant entries to you in priority,
vote for the stories you are interested in
(  )
and reject those that you are not interested in
(  )
The Superficial - Because You're Ugly -
1 hours and 33 minutes ago
div style="text-align: center;"object width="450" height="380"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"param name="movie"
value="http://player.ordienetworks.com/flash/fodplayer.swf" /param name="flashvars"
value="key=c0cf508ff8" /param name="allowfullscreen" value="true" /embed width="450" height="380"
flashvars="key=c0cf508ff8" allowfullscreen="true" quality="high"
src="http://player.ordienetworks.com/flash/fodplayer.swf"
type="application/x-shockwave-flash"/embed/object/div Here's a bunch of Hollywood actors, including
Jack Black as Jesus Christ, in a musical about Proposition 8. I guarantee you this will win people
over because there's nothing folks love more than that blonde chick from emScrubs/em and the guy
from emTalladega Nights/em singing with Doogie Howser. Seriously, with production values like
these, I'll vote for anything they tell me to. Mandatory testicle removal? Shit, if emThe West
Wing/em's Allison Janney says so, sign me up! smallFor the record: The Superficial Writer does NOT
support Prop 8, but more vehemently opposes a
href="http://thesuperficial.com/2008/10/jessica_alba_continues_annoyin.php"asinine political
endorsements from celebrities/a. (With the obvious exception of Mr. T.)/small pa
href="http://feedads.googleadservices.com/~a/AFBnrKvrvqEf3dujhQ6j4Ax1LQg/a"img
src="http://feedads.googleadservices.com/~a/AFBnrKvrvqEf3dujhQ6j4Ax1LQg/i" border="0"
ismap="true"/img/a/pimg src="http://feedproxy.google.com/~r/thesuperficial/SNxk/~4/kyiuGhUbJ_U"
height="1" width="1"/

|
SPIP - Contrib -
1 hours and 33 minutes ago
img src=http://www.spip-contrib.net/IMG/arton2900.png alt= align=right width=128 height=128
class=spip_logos / div class='rss_chapo'pUn outil du Couteau Suisse : une balise (ou plusieurs !)
pour afficher le titre du parent d'un objet (article, rubrique, brève, mot-clé, ...),
ou simplement le titre d'un objet SPIP. Sans boucle supplémentaire !/p/div div
class='rss_texte'h3 class=spipPrésentation/h3 pCet outil est une fonctionnalité du
plugin « stronga href='http://www.spip-contrib.net/Le-Couteau-Suisse' class='spip_in'Le
Couteau Suisse/a/strong ». Pour avoir accès au paramétrage de la balise
#TITRE_PARENT, il vous faut donc avoir préalablement installé ce plugin, puis
activé l'outil « strongBalise #TITRE_PARENT/strong » sur la page
d'administration du plugin en espace privé./p pCet article est une version approfondie et
adaptée au Couteau Suisse de : a href='http://www.spip-contrib.net/balise-TITRE_PARENT'
class='spip_in'balise #TITRE_PARENT/a (par a href='http://www.spip-contrib.net/James,178'
class='spip_in'James/a)/p pVoici donc une simple balise qui évite d'ajouter une boucle dans
un squelette pour afficher le titre du parent d'un objet./p h3 class=spipUn peu d'histoire.../h3
p[a href='http://www.spip-contrib.net/romy-tetue-net' class='spip_in'romy.tetue.net/a] nous disait
:/p blockquote class=spip pCe n'est pas grand-chose, mais c'est un besoin que j'ai de façon
répétitive depuis que je connais SPIP : dans un squelette article, afficher
rapidement le titre de sa rubrique parente, pour faire un lien de retour (par exemple)./p pDans une
boucle article, on peut utiliser #URL_RUBRIQUE et #ID_RUBRIQUE... mais pas #TITRE pour afficher le
titre de la rubrique en question, pour lequel on devra alors sortir l'artillerie d'une boucle, si
bien qu'on peut se retrouver avec quelque chose d'un peu grotesque :/p div style='text-align:
left;' class='spip_code' dir='ltr'codea href=#URL_RUBRIQUEbr /
BOUCLE_rub(RUBRIQUES){id_rubrique}#TITRE/BOUCLE_rubbr / /a/code/div p ;-)/p /blockquote
pD'après Grégoire :/p blockquote class=spip pSi tu es dans une boucle incluse dans
une autre, c'est encore plus simple./p div style='text-align: left;' class='spip_code'
dir='ltr'codeBOUCLE_lstRub(RUBRIQUES)br / BOUCLE_art(ARTICLES){id_rubrique}br / br / Art :
#ID_ARTICLE - #TITREbr / [(#REM) titre de la rubrique maintenant]br / br /#_lstRub:TITREbr / [(REM)
ça marche avec les URL aussi]br / /BOUCLE_artbr / /BOUCLE_lstRub/code/div /blockquote pMais
une balise strong#TITRE_PARENT/strong simplifierait drôlement la vie :/p pcode
class='spip_code' dir='ltr'a href=#URL_RUBRIQUE#TITRE_PARENT/a/code/p pElle permettrait d'afficher
facilement le titre de la rubrique parente dans les boucles articles, brèves, rubriques.../p
pLa chose est faite. Cet outil ajoute à l'arsenal des balises utilisables sur votre site la
fameuse balise, sans boucle supplémentaire./p h3 class=spipUn peu de technique.../h3 pLe
fichier code class='spip_code' dir='ltr'outils/titre_parent_fonctions.php/code est le seul fichier
réellement essentiel à SPIP pour fournir la fonctionnalité. En effet, le
plugin n'a pour rôle que de proposer ce fichier comme extension au compilateur de SPIP./p pIl
se décompose en trois concepts : le filtre SPIP, la balise SPIP et le traitement SPIP des
balises./p h3 class=spipLES FILTRES/h3 pLa fonction « cs_titre_id() » est le filtre
« |cs_titre_id » qui permet de récupérer l'information voulue, c'est
à dire le titre de la table parent d'un objet $id. Il faut donc absolument appliquer ce
filtre à un #ID dont on est sûr qu'il est le parent de l'objet en cours dans la
boucle, et par défaut, une rubrique. Quatre exemples pour éclaircir cette idée
:/p pimg src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8'
height='11' alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_a(ARTICLES)[(#ID_RUBRIQUE|cs_titre_id)]/BOUCLE_a/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_b(BREVES)[(#ID_BREVE|cs_titre_id)]/BOUCLE_b/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_r(RUBRIQUES)[(#ID_PARENT|cs_titre_id)]/BOUCLE_r/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_m(MOTS)[(#ID_GROUPE|cs_titre_id{groupes_mots,id_groupe})]/BOUCLE_m/code/p pJe le
reconnais, pour utiliser « |cs_titre_id », il faut avoir une bonne connaissance de la
structure des tables SPIP et reconnaître les liaisons entre les objets enfants et leurs
parents. Ce filtre explore par défaut la table des rubriques, mais il est possible de
spécifier d'autres tables en utilisant les deux arguments prévus à cette effet
: itable, champ id/i. Le 3e exemple ci-dessus explore la table des groupes de mots-clés
(groupes_mots) et récupère le titre du groupe dont le champ id_groupe est bien
égal à #ID_GROUPE, le groupe parent du mot-clé traité par la boucle./p
pVoici le code du filtre « |cs_titre_id » :/p div class=coloration_codediv
class=spip_php codespan style=color: #666666; font-style: italic;// Renvoie le titre trouve dans la
$table_parent, là où $champ = $id/spanbr / span style=color: #000000; font-weight:
bold;function/span cs_titre_idspan style=color: #009900;#40;/spanspan style=color:
#000088;$id/spanspan style=color: #339933;,/span span style=color: #000088;$table_parent/spanspan
style=color: #339933;=/spanspan style='rubriques'/spanspan style=color: #339933;,/span span
style=color: #000088;$champ/spanspan style=color: #339933;=/spanspan style='id_rubrique'/spanspan
style=color: #009900;#41;/span span style=color: #009900;{/spanbr / span style=color: #666666;
font-style: italic;// retour nul si pas de parent a priori/spanbr / span style=color:
#b1b100;if/spanspan style=color: #009900;#40;/spanspan style=color: #339933;!/spanspan style=color:
#000088;$id/spanspan style=color: #009900;#41;/span span style=color: #b1b100;return/span span
style=''/span;br / span style=color: #666666; font-style: italic;// Utiliser la bonne requete en
fonction de la version de SPIP/spanbr / span style=color: #b1b100;if/spanspan style=color:
#009900;#40;/spana href=http://www.php.net/function_existsspan style=color:
#990000;function_exists/span/aspan style=color: #009900;#40;/spanspan
style='sql_getfetsel'/spanspan style=color: #009900;#41;/spanspan style=color: #009900;#41;/span
span style=color: #009900;{/spanbr / span style=color: #666666; font-style: italic;// SPIP
2.0/spanbr / span style=color: #b1b100;if/spanspan style=color: #009900;#40;/spanspan style=color:
#000088;$titre/span span style=color: #339933;=/span sql_getfetselspan style=color:
#009900;#40;/spanspan style='titre'/spanspan style=color: #339933;,/span span style=color:
#0000ff;spip_$table_parent/spanspan style=color: #339933;,/span span style=color: #0000ff;
$champ=$id/spanspan style=color: #009900;#41;/spanspan style=color: #009900;#41;/spanbr / span
style=color: #b1b100;return/span span style=color: #000088;$titre/span;br / span style=color:
#009900;}/span span style=color: #b1b100;else/span span style=color: #009900;{/spanbr / span
style=color: #b1b100;if/spanspan style=color: #009900;#40;/spanspan style=color: #000088;$r/span
span style=color: #339933;=/span spip_queryspan style=color: #009900;#40;/spanspan style=color:
#0000ff;SELECT titre FROM spip_$table_parent WHERE $champ=$id/spanspan style=color:
#009900;#41;/spanspan style=color: #009900;#41;/spanbr / span style=color: #666666; font-style:
italic;// s'il existe un champ, on le retourne/spanbr / span style=color: #b1b100;if/spanspan
style=color: #009900;#40;/spanspan style=color: #000088;$row/span span style=color: #339933;=/span
spip_fetch_arrayspan style=color: #009900;#40;/spanspan style=color: #000088;$r/spanspan
style=color: #009900;#41;/spanspan style=color: #009900;#41;/span span style=color:
#b1b100;return/span span style=color: #000088;$row/spanspan style=color: #009900;#91;/spanspan
style='titre'/spanspan style=color: #009900;#93;/span;br / span style=color: #009900;}/spanbr /
span style=color: #666666; font-style: italic;// sinon, rien !/spanbr / span style=color:
#b1b100;return/span span style=''/span;br / span style=color: #009900;}/span/divdiv
class='code_download' style='text-align: right;' a
href='http://www.spip-contrib.net/local/cache-code/40188ab05bb1d0c8d6b9ac3c49e607c5.txt'
style='font-family: verdana, arial, sans; font-weight: bold; font-style:
normal;'Télécharger/a/div/div pHistoire de simplifier un peu, voici deux autres
filtres bien plus pratiques : strong|titre_rubrique/strong et strong|titre_groupe/strong. En fait
ils sont tous les deux basés sur le précédent : br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / Le premier, appliqué à un #ID_RUBRIQUE (de
tout objet sauf les rubriques elles-mêmes) donne le titre de la rubrique parente.
Appliqué à #ID_PARENT (champ disponible dans la table des rubriques), ce filtre
renverra la rubrique mère de la rubrique en cours. br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / Le second, appliqué à #ID_GROUPE, balise
disponible uniquement si l'objet est un mot-clé, donne le titre du groupe parent./p pVoici
comment nos quatres exemples précédents peuvent maintenant s'écrire : br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_a(ARTICLES)[(#ID_RUBRIQUE|titre_rubrique)]/BOUCLE_a/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_b(BREVES)[(#ID_BREVE|titre_rubrique)]/BOUCLE_b/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_r(RUBRIQUES)[(#ID_PARENT|titre_rubrique)]/BOUCLE_r/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_m(MOTS)[(#ID_GROUPE|titre_groupe)]/BOUCLE_m/code/p pVoici le code de ces deux
filtres :/p div class=coloration_codediv class=spip_php codespan style=color: #666666; font-style:
italic;// filtre 'titre_rubrique' a utiliser sur #ID_RUBRIQUE d'un objet ou #ID_PARENT d'une
rubrique/spanbr / span style=color: #666666; font-style: italic;// Ex : :
BOUCLE_a(ARTICLES)[(#ID_RUBRIQUE|titre_rubrique)]/BOUCLE_a/spanbr / span style=color: #666666;
font-style: italic;// Ex : : BOUCLE_b(BREVES)[(#ID_RUBRIQUE|titre_rubrique)]/BOUCLE_b/spanbr / span
style=color: #666666; font-style: italic;// Ex : :
BOUCLE_r(RUBRIQUES)[(#ID_PARENT|titre_rubrique)]/BOUCLE_r/spanbr / span style=color: #000000;
font-weight: bold;function/span titre_rubriquespan style=color: #009900;#40;/spanspan style=color:
#000088;$id_rubrique/spanspan style=color: #339933;,/span span style=color: #000088;$table/spanspan
style=color: #339933;=/spanspan style='rubriques'/spanspan style=color: #339933;,/span span
style=color: #000088;$id/spanspan style=color: #339933;=/spanspan style='id_rubrique'/spanspan
style=color: #009900;#41;/span span style=color: #009900;{/spanbr / span style=color:
#b1b100;return/span cs_titre_idspan style=color: #009900;#40;/spanspan style=color:
#000088;$id_rubrique/spanspan style=color: #339933;,/span span style=color: #000088;$table/spanspan
style=color: #339933;,/span span style=color: #000088;$id/spanspan style=color:
#009900;#41;/span;br / span style=color: #009900;}/spanbr / span style=color: #666666; font-style:
italic;// filtre 'titre_groupe' a utiliser sur #ID_GROUPE d'un mot-clef/spanbr / span style=color:
#666666; font-style: italic;// Ex : : BOUCLE_m(MOTS)[(#ID_GROUPE|titre_groupe)]/BOUCLE_m/spanbr /
span style=color: #000000; font-weight: bold;function/span titre_groupespan style=color:
#009900;#40;/spanspan style=color: #000088;$id_mot/spanspan style=color: #339933;,/span span
style=color: #000088;$table/spanspan style=color: #339933;=/spanspan style='groupes_mots'/spanspan
style=color: #339933;,/span span style=color: #000088;$id/spanspan style=color: #339933;=/spanspan
style='id_groupe'/spanspan style=color: #009900;#41;/span span style=color: #009900;{/spanbr / span
style=color: #b1b100;return/span cs_titre_idspan style=color: #009900;#40;/spanspan style=color:
#000088;$id_mot/spanspan style=color: #339933;,/span span style=color: #000088;$table/spanspan
style=color: #339933;,/span span style=color: #000088;$id/spanspan style=color:
#009900;#41;/span;br / span style=color: #009900;}/span/divdiv class='code_download'
style='text-align: right;' a
href='http://www.spip-contrib.net/local/cache-code/74f50bc612c98ce7df7e9ded0b55e215.txt'
style='font-family: verdana, arial, sans; font-weight: bold; font-style:
normal;'Télécharger/a/div/div pDans l'absolu, ces filtres suffisent
déjà à simplifier l'écriture de vos squelettes, mais.../p pcode
class='spip_code' dir='ltr'BOUCLE_a(ARTICLES)[(#ID_RUBRIQUE|titre_rubrique)]/BOUCLE_a/code/p h3
class=spipLES BALISES/h3 pstrongMais allez, oubliez tout ce qu'on vient de dire, il y a encore plus
simple ! Laissons tomber les filtres et créons des balises !/strong/p pLa balise
strong#TITRE_PARENT/strong ne sert qu'à une chose, faire croire au compilateur SPIP qu'il
existe un champ 'titre_parent' dans la base de données. Le code va subtilement lui faire
chercher autre chose, un « vrai » champ de la base de données et on profit de
l'aubaine pour appliquer directement le filtre qu'on vient d'imaginer. Voici comment sont devenus
nos exemples proposés ci-dessus :/p pimg
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_a(ARTICLES)#TITRE_PARENT/BOUCLE_a/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_b(BREVES)#TITRE_PARENT/BOUCLE_b/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_r(RUBRIQUES)#TITRE_PARENT/BOUCLE_r/code br /img
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / code class='spip_code'
dir='ltr'BOUCLE_m(MOTS)#TITRE_PARENT/BOUCLE_m/code/p pJoli n'est-ce pas ?/p pLa fonction «
balise_TITRE_PARENT_dist() » définit donc la balise #TITRE_PARENT. Cette fonction est
appelée par le compilateur au strongre/strongcalcul de la page, pour remplacer le symbole
« #TITRE_PARENT » par l'appel du code PHP, voilà comment./p pLe fichier HTML
dans lequel on va placer #TITRE_PARENT, qu'on appelle squelette, est décortiqué par
le compilateur pour y découvrir des symboles qu'il va transformer en une portion de code
plus complexe./p pCes portions de code vont être empilées dans une mémoire
à laquelle on accédera plus tard pour recomposer un nouveau fichier, écrit en
PHP./p pLa définition d'une balise SPIP sert donc à préciser par quelle
portion de code sera remplacé le symbole auquel il fait référence, le tout
étant stocké au bon endroit dans la pile. Cet endroit est un objet technique
appelé Champ (parce qu'il fait référence au champ dans une table de base de
données). Celui-ci est capable d'explorer la pile de code qu'on a mémorisé et
pour faciliter l'exploration de cette pile mémoire, ainsi que la composition du code, on
peut utiliser les fonctions du compilateur. C'est le fameux paramètre code class='spip_code'
dir='ltr'$p/code. Voici le code de cette balise :/p div class=coloration_codediv class=spip_php
codespan style=color: #666666; font-style: italic;// Rubrique parente de tout objet
possédant un 'id_rubrique' ou groupe de mot-clef/spanbr / span style=color: #000000;
font-weight: bold;function/span balise_TITRE_PARENT_distspan style=color: #009900;#40;/spanspan
style=color: #000088;$p/spanspan style=color: #009900;#41;/span span style=color: #009900;{/spanbr
/ span style=color: #666666; font-style: italic;// examen du contexte/spanbr / span style=color:
#b1b100;switch/span span style=color: #009900;#40;/spanspan style=color: #000088;$p/spanspan
style=color: #339933;-/spanspan style=color: #004000;type_requete/spanspan style=color:
#009900;#41;/span span style=color: #009900;{/spanbr / span style=color: #b1b100;case/span span
style='rubriques'/spanspan style=color: #339933;:/spanbr / span style=color:
#000088;$table_parent/span span style=color: #339933;=/span span style='rubriques'/span;br / span
style=color: #000088;$champ_parent/span span style=color: #339933;=/span span
style='id_rubrique'/span;br / span style=color: #000088;$id/span span style=color: #339933;=/span
span style='id_parent'/span;br / span style=color: #b1b100;break/span;br / span style=color:
#b1b100;case/span span style='mots'/spanspan style=color: #339933;:/spanbr / span style=color:
#000088;$table_parent/span span style=color: #339933;=/span span style='groupes_mots'/span;br /
span style=color: #000088;$id/span span style=color: #339933;=/span span style=color:
#000088;$champ_parent/span span style=color: #339933;=/span span style='id_groupe'/span;br / span
style=color: #b1b100;break/span;br / span style=color: #000000; font-weight: bold;default/spanspan
style=color: #339933;:/spanbr / span style=color: #000088;$table_parent/span span style=color:
#339933;=/span span style='rubriques'/span;br / span style=color: #000088;$id/span span
style=color: #339933;=/span span style=color: #000088;$champ_parent/span span style=color:
#339933;=/span span style='id_rubrique'/span;br / span style=color: #b1b100;break/span;br / span
style=color: #009900;}/spanbr / span style=color: #666666; font-style: italic;// id de l'objet a
trouver pour retourner son titre/spanbr / span style=color: #000088;$id/span span style=color:
#339933;=/span champ_sqlspan style=color: #009900;#40;/spanspan style=color: #000088;$id/spanspan
style=color: #339933;,/span span style=color: #000088;$p/spanspan style=color: #009900;#41;/span;br
/ span style=color: #666666; font-style: italic;// le code php a executer/spanbr / span
style=color: #000088;$p/spanspan style=color: #339933;-/spanspan style=color: #004000;code/span
span style=color: #339933;=/span span style=color: #0000ff;cs_titre_id(intval($id),
'$table_parent', '$champ_parent')/span;br / span style=color: #b1b100;return/span span style=color:
#000088;$p/span;br / span style=color: #009900;}/span/divdiv class='code_download'
style='text-align: right;' a
href='http://www.spip-contrib.net/local/cache-code/5ed2d6b6450e15afe870a3495158e052.txt'
style='font-family: verdana, arial, sans; font-weight: bold; font-style:
normal;'Télécharger/a/div/div pOn enregistre donc dans ce champ le code PHP qu'on
souhaite. Ici, un appel au filtre 'cs_titre_id' détaillé plus haut, avec en
paramètre, la référence à de « vrais » champs de la la
table de base de données : le numéro du père connu du fils. D'où
l'utilisation de la fonction champ_sql, qui explore la pile pour atteindre le « vrai »
champ SQL qui nous intéresse ici./p pEncore un petit plaisir ? Voici une deuxième
balise qui permet d'obtenir facilement le titre du groupe auquel appartient un mot-clé. Bien
sûr, ceci est très pédagogique, mais que ne donnerait-on pour simplifier la
lecture de nos squelettes ! Voici le code de la balise strong#TITRE_GROUPE/strong :/p div
class=coloration_codediv class=spip_php codespan style=color: #666666; font-style: italic;// juste
le groupe d'un mot-clef/spanbr / span style=color: #000000; font-weight: bold;function/span
balise_TITRE_GROUPE_distspan style=color: #009900;#40;/spanspan style=color: #000088;$p/spanspan
style=color: #009900;#41;/span span style=color: #009900;{/spanbr / span style=color:
#000088;$p/spanspan style=color: #339933;-/spanspan style=color: #004000;code/span span
style=color: #339933;=/span span style=color: #0000ff;''/span;br / span style=color:
#b1b100;return/span span style=color: #000088;$p/spanspan style=color: #339933;-/spanspan
style=color: #004000;type_requete/spanspan style=color: #339933;==/spanspan
style='mots'/span?balise_TITRE_PARENT_distspan style=color: #009900;#40;/spanspan style=color:
#000088;$p/spanspan style=color: #009900;#41;/spanspan style=color: #339933;:/spanspan style=color:
#000088;$p/span;br / span style=color: #009900;}/span/divdiv class='code_download'
style='text-align: right;' a
href='http://www.spip-contrib.net/local/cache-code/6e3a641a8dd7322582ef53717bb77fff.txt'
style='font-family: verdana, arial, sans; font-weight: bold; font-style:
normal;'Télécharger/a/div/div pPour les connaisseurs, il existe en fait un champ
'type' dans la table des mots-clés, qui reproduit exactement ce que l'on veut ici. La balise
#TITRE_GROUPE renvoie donc le même résultat que #TYPE ; seuls les traitements peuvent
être différents (cf. paragraphe suivant)./p h3 class=spipLA SPÉCIFICATION DES
TRAITEMENTS/h3 pUne fois que le compilateur à entièrement exploré le fichier
HTML et constitué cette fameuse pile mémoire, il va fabriquer un fichier en PHP qui
aura donc remplacé tous les symboles par du « vrai » code. Ce résultat
est visible quand on affiche le débusqueur (code class='spip_code'
dir='ltr'var_mode=debug/code)./p pMais avant d'imprimer le code qu'on a demandé dans le
fichier, SPIP va ajouter d'autres traitements, autrement dit, il va appliquer d'autres filtres. Par
exemple, la typographie, la fonction propre() qui transformera les raccourcis SPIP en HTML ou
autre. Tout ces traitements sont regroupés dans une variable code class='spip_code'
dir='ltr'$table_des_traitements/code./p pUn SPIP installé connaît les traitements
qu'il doit appliquer au champ qui lui sont connu. Mais #TITRE_PARENT, il ne le connaît pas
encore. Or, c'est le titre d'une rubrique, il faut appliquer la typographie des #TITREs
traditionnels. On explique donc au compilateur que #TITRE_PARENT est à traiter comme un
#TITRE normal et par conséquent, la typographie standard lui sera appliquée avant son
affichage./p div class=coloration_codediv class=spip_php codespan style=color: #666666; font-style:
italic;/// invoquer la table des traitements/spanbr / include_spipspan style=color:
#009900;#40;/spanspan style='public/interfaces'/spanspan style=color: #009900;#41;/span;br / a
href=http://www.php.net/globalspan style=color: #990000;global/span/a span style=color:
#000088;$table_des_traitements/span;br / span style=color: #666666; font-style: italic;//
TITRE_PARENT et TITRE_GROUPE sont des TITREs !/spanbr / span style=color: #b1b100;if/span span
style=color: #009900;#40;/spanspan style=color: #339933;!/spana href=http://www.php.net/issetspan
style=color: #990000;isset/span/aspan style=color: #009900;#40;/spanspan style=color:
#000088;$table_des_traitements/spanspan style=color: #009900;#91;/spanspan
style='TITRE_PARENT'/spanspan style=color: #009900;#93;/spanspan style=color: #009900;#41;/spanspan
style=color: #009900;#41;/spanbr / span style=color: #000088;$table_des_traitements/spanspan
style=color: #009900;#91;/spanspan style='TITRE_PARENT'/spanspan style=color: #009900;#93;/span
span style=color: #339933;=/span span style=color: #000088;$table_des_traitements/spanspan
style=color: #009900;#91;/spanspan style='TITRE'/spanspan style=color: #009900;#93;/span;br / span
style=color: #b1b100;if/span span style=color: #009900;#40;/spanspan style=color: #339933;!/spana
href=http://www.php.net/issetspan style=color: #990000;isset/span/aspan style=color:
#009900;#40;/spanspan style=color: #000088;$table_des_traitements/spanspan style=color:
#009900;#91;/spanspan style='TITRE_GROUPE'/spanspan style=color: #009900;#93;/spanspan style=color:
#009900;#41;/spanspan style=color: #009900;#41;/spanbr / span style=color:
#000088;$table_des_traitements/spanspan style=color: #009900;#91;/spanspan
style='TITRE_GROUPE'/spanspan style=color: #009900;#93;/span span style=color: #339933;=/span span
style=color: #000088;$table_des_traitements/spanspan style=color: #009900;#91;/spanspan
style='TITRE'/spanspan style=color: #009900;#93;/span;br / span style=color: #009900;}/span/divdiv
class='code_download' style='text-align: right;' a
href='http://www.spip-contrib.net/local/cache-code/60f40fc4345dd56421d075ac3c94dd6e.txt'
style='font-family: verdana, arial, sans; font-weight: bold; font-style:
normal;'Télécharger/a/div/div pPetite finesse ici : Les experts pourront toute de
même personnaliser le traitement qu'ils tiennent à réserver à ces
nouvelles balises. Aussi, si un traitement spécifique leur est affecté dans le
fichier code class='spip_code' dir='ltr'config/mes_options.php/code, on ne l'écrase pas./p
h3 class=spipLa suite : la syntaxe étendue.../h3 pPourquoi ne pas étendre cette
idée #TITRE_OBJET à tous les objets de SPIP ? L'idée serait de programmer une
balise « ouverte » (#TITRE_QQCHOSE) qui donnerait le titre de n'importe quel objet
référencé dans n'importe quelle table, grâce à son simple «
id_qqchose »./p pSaviez-vous que la table 'spip_forum' par exemple possède tous ces
champs : iid_forum, id_parent, id_thread, id_rubrique, id_article, id_breve, id_auteur, id_message,
id_syndic/i ? Et donc, autant de liaisons avec tous ces objets.../p pM'enfin, avec nos filtres
décrits en tout début d'article, on peut, même sans balise
dédiée, accéder à tous les titres sans boucle supplémentaire. Il
suffit juste d'avoir un peu les idées claires :/p div style='text-align: left;'
class='spip_code' dir='ltr'codeBOUCLE_f1(FORUMS){tout}br / bull; Message #ID_FORUM, enfant du
message : br / [(#ID_PARENT|cs_titre_id{forum,id_forum})]br / br /br / /BOUCLE_f1br / br /
BOUCLE_f2(FORUMS){tout}br / bull; Message #ID_FORUM, attaché à l'article : br /
[(#ID_ARTICLE|cs_titre_id{articles,id_article})]br / br /br / /BOUCLE_f2/code/div pAprès
activation de la fonctionnalité au niveau de la configuration de l'outil « balise
#TITRE_PARENT », le Couteau Suisse donne accès à ces nouvelles balises
raccourcis (uniquement vous utilisez SPIP v2.0 minimum). Il s'agit donc d'un ensemble de balises
#TITRE_XXX qui pourront vous donner le titre de l'objet 'xxx', à condition que le champ
'id_xxx' soit présent dans la table en cours (#ID_XXX utilisable dans la boucle en cours)./p
pPar exemple, dans une boucle sur (ARTICLES), #TITRE_SECTEUR donnera le titre du secteur dans
lequel est placé l'article en cours, puisque l'identifiant #ID_SECTEUR (ou le champ
'id_secteur') est disponible dans ce cas./p pCes « balises ouvertes » existent
déjà dans SPIP : #LOGO_QQCHOSE, #URL_QQCHOSE, #FORMULAIRE_QQCHOSE, etc./p pDans le
cas de notre table 'spip_forum', les nouvelles balises #TITRE_THREAD, #TITRE_RUBRIQUE,
#TITRE_ARTICLE, #TITRE_BREVE, #TITRE_AUTEUR, #TITRE_MESSAGE renverrons les titres contenus dans la
table, si les identifiants respectifs (#ID_THREAD, #ID_RUBRIQUE, etc.) ont été
renseignés par SPIP au moment de la création de l'objet 'forum'./p pUne exception
à connaitre : équivalente à la balise #NOM placée dans une boucle sur
(AUTEURS), la balise #TITRE_AUTEUR renvoie le 'nom' de l'auteur et non le 'titre'./p h3
class=spipMise en garde !!/h3 pL'un des intérêts de cette contribution est la
pédagogie. Dans vos squelettes, n'abusez pas des balises décrites ici, car chacune
crée un appel à la base de données. Hors, il faut tout faire pour
éviter les appels trop fréquents, histoire de ne pas surcharger le serveur, surtout
s'il est mutualisé. Certains hébergeurs limitent parfois le nombre d'accès
afin d'éviter les abus./p pimg
src=http://www.spip-contrib.net/local/cache-vignettes/L8xH11/puce-5996f.gif width='8' height='11'
alt=- style='height:11px;width:8px;' / La règle est donc : strongune seule balise
#TITRE_QQCHOSE par(...)

|
Support Forums: Message List - Announcements (EAP) -
1 hours and 35 minutes ago
!-- [DocumentBodyStart:adbdd48d-84a7-4734-8bea-a538d224140a] --div class='jive-rendered-content'pHi
there,/pp style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/ppI just have my TeamCity
upgraded from HSQLDB to MSSQL, the Migration seems successful as the dbmigrate.bat does create a
version.dat as the instruction told and I have got all the tables in MSSQL./ppTeamCity service is
able to start up, however, the page shows a 404 error:/pp style="min-height: 8pt; height: 8pt;
padding: 0px;"nbsp;/ph1HTTP Status 404 -/h1hr noshade="noshade" size="1"/pstrongtype/strong Status
report/ppstrongmessage/strong/ppstrongdescription/strong span style="text-decoration:
underline;"The requested resource () is not available./span/phr noshade="noshade" size="1"/h3Apache
Tomcat/6.0.18/h3p style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/ppAnd I have checked the
version.dat file created by the migration tool, it looks a bit strange to me:/pp style="min-height:
8pt; height: 8pt; padding: 0px;"nbsp;/pp    #
generated by TC database migration tool @Thu Dec 04 16:48:51 EST
2008br/Â Â Â Â
version.com.mysql.jdbc.Driver=266Â Â /pp style="min-height: 8pt; height: 8pt;
padding: 0px;"nbsp;/ppWhere I migrating the DB to MS SQL but not MY SQL/pp style="min-height: 8pt;
height: 8pt; padding: 0px;"nbsp;/ppI am pretty sure I have correctly edited the
dbMigration.properties before running the dbmigrate.bat, the following is the modified parts:/pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/ppThis is the dbMigrate.properties/pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp# Internal TeamCity
databasebr/sourceDriver=org.hsqldb.jdbcDriverbr/sourceURL=jdbc:hsqldb:file:D:/TeamCity/.BuildServer/system/buildserverbr/sourceUser=sabr/sourcePassword=''/pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp# MSSQL 2005 via
jTDSbr/#targetDriver=net.sourceforge.jtds.jdbc.Driverbr/targetDriver=net.sourceforge.jtds.jdbc.Driverbr/targetURL=jdbc:jtds:sqlserver://W2DSQL01:4465/TeamCitybr/targetUser=loginbr/targetPassword=password/pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/ppThis is the database.properties file:/pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp# generated by TC database migration
tool @Thu Dec 04 16:49:39 EST
2008br/driverName=net.sourceforge.jtds.jdbc.Driverbr/connectionUrl=jdbc:jtds:sqlserver://W2DSQL01:4465/TeamCitybr/connectionProperties.user=loginbr/connectionProperties.password=password/pp
style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/ppmaxConnections=50br/poolPreparedStatements=true/pp style="min-height: 8pt; height:
8pt; padding: 0px;"nbsp;/ppFrom the log files, I reckon the problem is a classpath problem but I
have not touch anything that will change the path during the migration./pp style="min-height: 8pt;
height: 8pt; padding: 0px;"nbsp;/ppcatalina.2008-12-04.log/pp style="min-height: 8pt; height: 8pt;
padding: 0px;"nbsp;/pp4/12/2008 17:14:53 org.apache.catalina.core.AprLifecycleListener initbr/INFO:
The APR based Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
D:TeamCitybin;.;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program
FilesTortoiseSVNbin;C:ANT;C:ANTBIN;C:Program FilesJAVAjdk1.5.0_10bin;d:Build_Toolsnantbr/4/12/2008
17:14:53 org.apache.coyote.http11.Http11Protocol initbr/INFO: Initializing Coyote HTTP/1.1 on
http-8000br/4/12/2008 17:14:53 org.apache.catalina.startup.Catalina loadbr/INFO: Initialization
processed in 730 msbr/4/12/2008 17:14:53 org.apache.catalina.core.StandardService startbr/INFO:
Starting service Catalinabr/4/12/2008 17:14:53 org.apache.catalina.core.StandardEngine
startbr/INFO: Starting Servlet Engine: Apache Tomcat/6.0.18br/4/12/2008 17:14:55
org.apache.catalina.core.StandardContext startbr/SEVERE: Error listenerStartbr/4/12/2008 17:14:55
org.apache.catalina.core.StandardContext startbr/SEVERE: Context [] startup failed due to previous
errorsbr/4/12/2008 17:14:55 org.apache.coyote.http11.Http11Protocol startbr/INFO: Starting Coyote
HTTP/1.1 on http-8000br/4/12/2008 17:14:55 org.apache.jk.common.ChannelSocket initbr/INFO: JK:
ajp13 listening on /0.0.0.0:8009br/4/12/2008 17:14:55 org.apache.jk.server.JkMain startbr/INFO: Jk
running ID=0 time=0/31Â config=nullbr/4/12/2008 17:14:55
org.apache.catalina.startup.Catalina startbr/INFO: Server startup in 1947 ms/pp style="min-height:
8pt; height: 8pt; padding: 0px;"nbsp;/pplocalhost.2008-12-04.log/pp style="min-height: 8pt; height:
8pt; padding: 0px;"nbsp;/pp4/12/2008 17:14:55 org.apache.catalina.core.ApplicationContext
logbr/INFO: Initializing Spring root WebApplicationContextbr/4/12/2008 17:14:55
org.apache.catalina.core.StandardContext listenerStartbr/SEVERE: Exception sending context
initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListenerbr/org.springframework.beans.factory.BeanDefinitionStoreException:
Parser configuration exception parsing XML from URL
[jar:file:/D:/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]; nested
exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your
JAXP provider [org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@402af3] does not support XML
Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for
full XSD support.br/Â Â Â at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)br/Â Â Â
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)br/Â Â Â
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)br/Â Â Â
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)br/Â Â Â
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)br/Â Â Â
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)br/Â Â Â
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)br/Â Â Â
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)br/Â Â Â
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)br/Â Â Â
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)br/Â Â Â
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)br/Â Â Â
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)br/Â Â Â
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)br/Â Â Â
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)br/Â Â Â
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)br/Â Â Â
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)br/Â Â Â
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)br/Â Â Â
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)br/Â Â Â
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)br/Â Â Â
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)br/Â Â Â
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)br/Â Â Â
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)br/Â Â Â
at
org.apache.catalina.startup.Catalina.start(Catalina.java:578)br/Â Â Â
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)br/Â Â Â at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)br/Â Â Â
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)br/Â Â Â
at java.lang.reflect.Method.invoke(Method.java:585)br/Â Â Â at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)br/Â Â Â
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)br/Caused by:
javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider
[org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@402af3] does not support XML Schema. Are you
running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD
support.br/Â Â Â at
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:102)br/Â Â Â
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)br/Â Â Â
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)br/Â Â Â
... 37 morebr/Caused by: java.lang.IllegalArgumentException: No attributes are
implementedbr/Â Â Â at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93)br/Â Â Â
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:99)br/Â Â Â
... 39 morebr/4/12/2008 17:14:55 org.apache.catalina.core.ApplicationContext logbr/INFO: Closing
Spring root WebApplicationContext/pp style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/ppstdout_20081204.log/pp style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/pp[2008-12-04 17:14:55,628]Â ERROR - work.web.context.ContextLoader -
Context initialization failedbr/org.springframework.beans.factory.BeanDefinitionStoreException:
Parser configuration exception parsing XML from URL
[jar:file:/D:/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]; nested
exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your
JAXP provider [org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@402af3] does not support XML
Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for
full XSD support.br/Â Â Â at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)br/Â Â Â
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)br/Â Â Â
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)br/Â Â Â
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)br/Â Â Â
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)br/Â Â Â
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)br/Â Â Â
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)br/Â Â Â
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)br/Â Â Â
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)br/Â Â Â
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)br/Â Â Â
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)br/Â Â Â
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)br/Â Â Â
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)br/Â Â Â
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)br/Â Â Â
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)br/Â Â Â
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)br/Â Â Â
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)br/Â Â Â
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)br/Â Â Â
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)br/Â Â Â
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)br/Â Â Â
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)br/Â Â Â
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)br/Â Â Â
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)br/Â Â Â
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)br/Â Â Â
at
org.apache.catalina.startup.Catalina.start(Catalina.java:578)br/Â Â Â
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)br/Â Â Â at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)br/Â Â Â
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)br/Â Â Â
at java.lang.reflect.Method.invoke(Method.java:585)br/Â Â Â at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)br/Â Â Â
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)br/Caused by:
javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider
[org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@402af3] does not support XML Schema. Are you
running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD
support.br/Â Â Â at
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:102)br/Â Â Â
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)br/Â Â Â
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)br/Â Â Â
... 37 morebr/Caused by: java.lang.IllegalArgumentException: No attributes are
implementedbr/Â Â Â at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93)br/Â Â Â
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:99)br/Â Â Â
... 39 more/pp style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/ppjakarta_service_20081204.log/pp style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/pp[2008-12-04 17:14:52] [info] Procrun (2.0.4.0) startedbr/[2008-12-04 17:14:52] [info]
Running Service...br/[2008-12-04 17:14:52] [info] Starting service...br/[2008-12-04 17:14:54]
[info] Service started in 1125 ms./pp style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/ppAnd there's nothing useful in the teamcity-server.log./pp style="min-height: 8pt;
height: 8pt; padding: 0px;"nbsp;/ppAnyone got an idea? This is killing me as this is a production
server. gt;"lt;/pp style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp style="min-height:
8pt; height: 8pt; padding: 0px;"nbsp;/ppBR/ppThomas/p/div!--
[DocumentBodyEnd:adbdd48d-84a7-4734-8bea-a538d224140a] --

|
Guardian Unlimited -
7 hours and 31 minutes ago
divimg alt=""
src="http://hits.guardian.co.uk/b/ss/guardiangu-feeds/1/H.15.1/62952?ns=guardianpageName=Sport%3A+England+prepare+to+fly+out+after+India+all-clearch=Sportc3=The+Guardianc4=England+in+India+2008-09%2CIndia+cricket+team%2CEngland+cricket+team%2CEngland+cricket+series%2CCricket%2CSportc5=Not+commercially+useful%2CCricketc6=Mike+Selveyc7=2008_12_04c8=1128468c9=articlec10=GUc11=Sportc12=England+in+India+2008-09c13=c14=h2=GU%2FSport%2FEngland+in+India+2008-09"
width="1" height="1" //divpEngland are ready to resume their tour of India after a security report
from Chennai alleviated safety concerns. That, coupled with the prospect of similar assurance from
Mohali, has convinced the England and Wales Cricket Board that it is safe for the two Test matches
to go ahead./ppWith the exception of Ryan Sidebottom, ruled out by a side strain, and Stuart Broad,
who is being allowed a few more days to recover from a hamstring injury suffered during the recent
abandoned one-day series before flying out to Chennai, it will be a full England squad - including
Andrew Flintoff and Steve Harmison, and reinforced by nine members of the performance squad - that
will fly to Abu Dhabi today for a holding camp, where they will practise before moving on to
Chennai on Monday. The first of two Tests is scheduled to begin there on December 11./ppThe
announcement from Lord's of the intention to resume the tour came after two days of meetings
between ECB officials, security advisers and government departments. "The only consideration in all
our discussions has been the safety and security of the team and support staff," explained Hugh
Morris, the managing director of England cricket. "We have been delighted by the input of the
Professional Cricketers' Association and also the willingness of the Board of Control for Cricket
in India to act upon our recommendations regarding security. While we have sought to reassure
players that their safety is paramount we have not pressurised any player into making the trip
against their will./pp"Those who leave for Abu Dhabi are all anticipating travelling to India if
both the head of the PCA, Sean Morris, and I are happy that Reg Dickason's security plans have been
activated. The board and players will be kept fully informed." /ppHe added: "The PCA and ECB have
worked extremely closely on this issue, and the players have been fully supportive throughout. We
will access the highest calibre of security advice on a regular basis so that we can provide the
players with the latest accurate information. I have been assured by the ECB that they would never
compromise the players' safety and security." Both Hugh and Sean Morris were due to travel to India
last night to meet Dickason and will fly on to the United Arab Emirates to brief the players./ppThe
key to the unanimous decision to return was the positive assessment of conditions by Dickason, the
ECB security expert. Dickason was in Chennai yesterday, inspecting the team hotel, the /ppMA
Chidambaram Stadium and the route between the two, and has expressed himself satisfied with the
strong arrangements that will be put in place by the Chennai police under its commissioner, Thiru K
Radhakrishnan./pp"We can provide absolute total security," the police chief said yesterday after
Dickason had completed his tour. Dickason will now carry out a similar exercise in Mohali, before
completing his reports. Yesterday the chief executive of the ECB, David Collier, praised the way
the Indian authorities had handled the situation. "Everyone has been highly cooperative and
helpful," he said. "Everything that Reg has asked for has been agreed."/ppIf it has been viewed as
an expensive extravagance to bring the tour party home for such a brief period, then to persuade
the Test party in its entirety to return when so much talk was of dissidents is something of a
triumph. There had been suggestions from influential figures that several players, possibly
Flintoff and Harmison, were intent on staying at home regardless of the outcome of the security
report./ppMeanwhile, it was confirmed that West Indies will tour England in the early summer in
place of Zimbabwe. Sri Lanka had been pencilled in provisionally, but player commitments to the
Indian Premier League, given the backing of their cricket board, meant it was no longer a viable
option. The tour will feature two Tests, at Lord's and Chester-le-Street, and three ODIs. West
Indies' visit will provide a lead into a busy summer that also includes the Twenty20 World Cup and
an Ashes series. Its timing, with the opening Test scheduled for May 6, precludes any hope of a
large window of opportunity for England players to ply their trade in the IPL./pdiv style="float:
left; margin-right: 10px; margin-bottom: 10px;"ullia
href="http://www.guardian.co.uk/sport/englandinindia200809"England in India 2008-09/a/lilia
href="http://www.guardian.co.uk/sport/indiacricketteam"India Cricket Team/a/lilia
href="http://www.guardian.co.uk/sport/englandcricketteam"England Cricket Team/a/lilia
href="http://www.guardian.co.uk/sport/englandcricketseries"England cricket series/a/lilia
href="http://www.guardian.co.uk/sport/cricket"Cricket/a/li/ul/diva
href="http://www.guardian.co.uk"guardian.co.uk/a copy; Guardian News Media Limited 2008 | Use of
this content is subject to our a
href="http://users.guardian.co.uk/help/article/0,,933909,00.html"Terms Conditions/a | a
href="http://www.guardian.co.uk/webfeeds/1,,1309488,00.html"More Feeds/a pa
href="http://feedads.googleadservices.com/~at/Vnl8B9fUgtdd1RMSpOSTMcXV1KI/a"img
src="http://feedads.googleadservices.com/~at/Vnl8B9fUgtdd1RMSpOSTMcXV1KI/i" border="0"
ismap="true"/img/a/p

|
Discordance - Musique & Culture -
10 hours and 18 minutes ago
img src=IMG/arton789.jpg alt= align=right width=80 height=80
onmouseover=this.src='IMG/artoff789.jpg'
onmouseout=this.src='http://www.discordance.fr/IMG/arton789.jpg' class=spip_logos / div
class='rss_chapo'Si la qualité d'un album se mesure à l'attente qu'il a
suscitée et à l'argent dépensé dans sa fabrication, Chinese Democracy
est sans conteste assuré de remporter haut la main le titre de meilleur album du monde
toutes catégories confondues./div div class='rss_texte'p class=spipspan
class='spip_document_5540 spip_documents spip_documents_left' style='float:left; width:170px;' img
class='ArticleImage'
src='http://www.discordance.fr/local/cache-vignettes/L170xH170/51MOzyQAfYL._SS400_-aaea2.jpg'
width='170' height='170' alt= style='height:170px;width:170px;' //span Après près de
15 ans d'attente et treize millions de dollars plus tard, voici que l'Arlésienne la plus
célèbre de l'Histoire du rock vient enfin de voir le jour. Et alors que tous les
indicateurs étaient réglés sur « i class=spipfiasco
généralisé annoncé/i », il se trouve que contre toute attente, ce
premier album des strong class=spipGuns/strong nouvelle formule tient méchamment la route./p
p class=spipMais avant tout remontons le fil de l'Histoire. Nous sommes en 1993. Un temps que les
moins de 20 ans ne peuvent pas connaître. strong class=spipAxl Rose/strong et son short
moulant accompagné de strong class=spipSlash/strong et de sa fameuse bouteille de Jack
étaient les icônes rock de toute une génération. Les strong
class=spipGuns/strong parcouraient alors allègrement les stades du monde entier en
multipliant les frasques les plus diverses./p p class=spipLe Monde, à cette époque,
était encore simple à comprendre et pouvait se résumer en deux camps
retranchés avec d'un côté les pro strong class=spipGunners/strong et de l'autre
les fans de strong class=spipNirvana/strong. Groupe crasseux aux compostions habitées versus
hard rock clinquant à l'égo surdimensionné. Si la conviction de votre
serviteur était alors fermement ancrée du côté de Seattle, il n'en
demeure pas moins qu'strong class=spipAxl/strong et sa bande ont été un groupe majeur
et incontournable avec des titres inscrits en lettres clignotantes au panthéon du rock. Des
reprises supplantant des originales pourtant déjà cultes (i class=spipLive and let
die/i, i class=spipKnockin' on Heaven's Door/i), des hymnes rock à la i class=spipWelcome to
the Jungle/i, i class=spipParadise City/i, i class=spipSweet Child O' Mine/i et une maitrise
incontestée de la balade épique (i class=spipDon't Cry/i, i class=spipNovember
Rain/i)./p p class=spipMais alors que tout semblait sourire au strong class=spipGuns/strong, qu'a
t-il bien pu se passer pour qu'il ait fallu attendre aussi longtemps avant que sorte enfin ce
sixième album studio ? Pour faire court, disons que c'est une banale histoire d'égo
qui aura eu raison de la cohésion du groupe qui ne résistera pas longtemps au
départ de strong class=spipSlash/strong en 1996, rapidement suivi par tous les autres
membres exception faite de strong class=spipDizzy Reed/strong (clavier) et d'strong class=spipAxl
Rose/strong bien entendu./p p class=spipCommence alors pour ce dernier une longue traversée
du désert. Line up à géométrie variable, collaborations
avortées, valses des producteurs et cerise sur le gâteau des relations toujours plus
tendues avec son label. Car entre temps le marché du disque s'est effondré, et le
budget astronomique de i class=spipChinese Democracy/i fait plutôt penser à un vestige
d'une époque révolue./p p class=spipMalgré tout, la tournée 2006-2007
fût un véritable plébiscite et l'occasion d'entretenir la ferveur des foules.
strong class=spipAxl/strong n'a rien perdu de sa voix et l'adjonction du génial strong
class=spipRon Thal/strong alias strong class=spipBumblefoot/strong ferait presque oublier le haut
de forme de strong class=spipSlash/strong./p p class=spipNous voilà donc fin 2008 et i
class=spipChinese Democracy/i est enfin là, alors que très honnêtement plus
personne ne l'espérait. Tout cet argent et toutes ces années auraient-elles donc
été suffisantes pour sortir l'album définitif, celui qui achèverait de
faire oublier les ex-strong class=spipGunners/strong partis tenter leur chance au sein d'un strong
class=spipVelvet Revolver/strong pas vraiment en grande forme ces temps-ci ? Bien sûr que
non. La réponse semble à ce point évidente qu'elle ne devrait même pas
avoir à être détaillée plus en avant. A 1 million de dollars la chanson,
tout rapport à la réalité semble avoir été sciemment
oblitéré. La musique et l'imagerie des strong class=spipGuns/strong est à ce
point ancrée dans notre inconscient collectif que le combat était perdu d'avance.
strong class=spipAxl/strong aurait pu encore y passer 10 ans de supplémentaires et
dépenser le double d'argent, cela n'y aurait rien changé. Et malgré
l'énormité des chiffres et l'avalanche de réactions des toutes sortes
provoquées depuis la sortie de l'album, il est nécessaire de relativiser le sujet. i
class=spipIt's only rock'n roll/i après tout.../p p class=spipMission quasi impossible donc
pour Axl de sortir le killer album de sa carrière, le tout avec de nouveaux musiciens.
Sûrement qu'il aurait été beaucoup plus simple pour lui d'abandonner purement
et simplement le nom de strong class=spipGuns N' Roses/strong. Cela aurait permis de réduire
les inévitables comparaisons avec Appetite for destruction sorti vingt ans plus tôt./p
p class=spipspan class='spip_document_5541 spip_documents spip_documents_left' style='float:left;
width:170px;' img class='ArticleImage'
src='http://www.discordance.fr/local/cache-vignettes/L170xH108/l_650b936b62f7440099c8a3c6f7165cae-20c0c.jpg'
width='170' height='108' alt= style='height:108px;width:170px;' //span i class=spipChinese
democracy/i est très bon mais n'a pas grand chose à voir avec son glorieux
prédécesseur. Exit la rugosité et la frénésie de la paire strong
class=spipSlash/strong / strong class=spipStradlin/strong, i class=spipChinese Democracy/i est un
album long, complexe, multi-facettes et totalement surfait. Une merveille d'obstination et de
soucis du détail qui démontre qu'absolument rien n'a été laissé
au hasard. Les guitares se superposent à l'infini à vous donner le tournis : strong
class=spipRon Thal/strong, strong class=spipBuckethead/strong, strong class=spipRobin Finck/strong,
strong class=spipPaul Tobias/strong, strong class=spipRichard Fortus/strong, impossible de savoir
précisément qui joue quoi et quand. Ça part dans tous les sens, dans un
délire de production comme on n‘en fait plus. i class=spipChinese
Democracy/i est un album pompeux, égocentrique et imbu de lui même. Mais rien n'y
fait, malgré le peu de spontanéité de la chose, l'inspiration est bien
là. strong class=spipAxl/strong est bon et il le sait./p p class=spipTout y est. Les
brûlots heavy qui vous rentrent directement dans le cortex (i class=spipChinese Democracy/i,
i class=spipBetter/i, i class=spipScraped/i). Le fameux piano, sans lequel strong
class=spipAxl/strong n'est plus vraiment strong class=spipAxl/strong, pour des montées
crescendo à vous faire écarter les bras en prenant l'air le plus concerné
possible (i class=spipCatchers in the rye/i, i class=spipIf the world/i). Les inévitables
titres mid-tempo à vous faire hocher la tête en rythme (i class=spipRiad N' The
Bedouins/i, i class=spipIRS/i). Ainsi que le final ravageur histoire de ne pas se quitter
fâché (i class=spipProstitute/i)./p p class=spipSi des rumeurs insistantes
évoquaient une orientation plus industrielle de la musique d'strong class=spipAxl/strong, il
n'en est rien. Les seules réminiscences vaguement i class=spipministériennes/i
seraient à trouver dans l'intro de i class=spipShackler's Revenge/i ou au milieu de i
class=spipMadagascar/i. i class=spipChinese Democracy/i est un pur produit de ce que le hard rock a
fait de mieux depuis très longtemps./p p class=spipAlors ouais, strong class=spipAxl/strong
est une tête de mule horripilante, mais au vu du résultat, son acharnement aura
payé. Et comme l'aura fait remarquer un commentaire lu au détour d'un forum, chacune
des chansons de cet album devrait être interprétée comme une réponse
directe à strong class=spipSlash/strong. C'est certainement là que se trouve la
clé du mystère i class=spipChinese Democracy/i et de l'obstination d'strong
class=spipAxl/strong à en faire un album parfait./p/div div class='rss_ps'strong
class=spipSite officiel :/strong a href=http://web.gunsnroses.com/index.jsp class=spip_url
spip_outhttp://web.gunsnroses.com/index.jsp/a br / strong class=spipMyspace :/strong a
href=http://www.myspace.com/gunsnroses class=spip_url
spip_outhttp://www.myspace.com/gunsnroses/a/div

|
[H]ardOCP News Feed -
10 hours and 21 minutes ago
Market research firm iSuppli says that hard drive shipments could drop next year with the exception
of SSDs, which they say will skyrocket over the next few years.
At the same time, iSuppli is estimating that solid state disk (SSD) drives shipped over the next
year will leap 6x from 3.2 million this year to about 18.9 million next year and will produce $1.4
billion in revenue in 2009 compared to $163 million this year. By 2012, iSupply is estimating SSD
sales will produce $9.3 billion in revenue from 88.6 million units shipped.
Comments
|
DCEmu Forums:: The Homebrew & Gaming Network :: PSP Dreamcast Nintendo DS Wii GP2X Xbox 360 GBA Gamecube PS2 Forums - Dreamcast News Forum -
12 hours and 33 minutes ago
Task Facade, previously known as Dynamo 3, is a cool, animated task manager for your PocketPC
2003/05/06 device. Say goodbye to boring text lists of running programs and instead manage your
programs by sliding in images of all your running applications onto your screen. For each program
on your device an image is saved and when you click the hotkey they all zoom onto your screen.
Simply click the one you want and it will increase to fill the screen. Quickly seeing all the
running programs is far more efficient than having to read through a text-based task list so Task
Facade can make task switching a much faster, and cooler, experience.
Task Facade also allows you to quit programs from inside the image view meaning that it does
everything your old text-based program manager could do.
As well as just looking generally cooler, Task Facade offers far more customization than before and
allows the whole application to be controlled using either your PDAs hardware keys or the
stylus.
Changes: + Silent start-up
# Fix: NullException in OnActivate
# Fix: Closing from outside (e.g., reinstall/uninstall) could cause exception
# "Ban/Bar process" operation renamed to "Hide***BEFORE INSTALL***: Before installing version 3.8,
uninstall the previous version AND MANUALLY REMOVE THE 'TASK FACADE' FOLDER from Program Files'.
You do not need its old content.
More...

|
MaxConsole.net News -
12 hours and 34 minutes ago
It seems fairly common these days for a highly hyped title to deliver a big review score from a
number of publications. And the new Prince of Persia seems no exception as it is currently
averaging a metacritic score of 90. Based on such scores, anyone would think that this game is near
enough flawless and excessively entertaining but it certainly is none of those. Read on for a
refreshing review which seeks to bring back some order to these negligent review practices of
scoring games too high despite a variety of issues. Don't believe it, Prince of Persia is not
outstanding, it's not even very good. FULL review inside...
|
Support Forums: Message List - Announcements (EAP) -
12 hours and 43 minutes ago
!-- [DocumentBodyStart:ee77aea3-b5bb-40c6-a31f-b538a77d0b72] --div
class='jive-rendered-content'pEugene,/pp style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/ppI only can state that I do not get JVM message refusing to accept code /ppchanges.
Whether they are sent fully or partially or not at all I do not /ppknow. All I know that when I
change a method body and recompile the class /ppnew code is not taking effect untill I exit the app
and restart it. It might /ppvery well be a JVM problem but then we would need a confirmation from
you /ppand some recommendations on how to work around it if it is possible./pp style="min-height:
8pt; height: 8pt; padding: 0px;"nbsp;/ppI have been using IDEA remote debugging for quite a few
years and believe /ppthere is a significant difference in behavior of the latest versions which
/ppmakes class reloading not work for me in a setup which I have been using for /pplong time./pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/ppIf you have any suggestions as what I
should try to do to help with /ppinvestigation, please let me know/pp style="min-height: 8pt;
height: 8pt; padding: 0px;"nbsp;/ppThank you,/ppAlex/pp style="min-height: 8pt; height: 8pt;
padding: 0px;"nbsp;/pp style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp style="min-height: 8pt; height: 8pt;
padding: 0px;"nbsp;/ppspan"Eugene Zhuravlev (JetBrains)" lt;/spana class="jive-link-email-small"
href="mailto:jeka@intellij.com"jeka@intellij.com/aspangt; wrote in message /span/ppspannews:/spana
class="jive-link-email-small"
href="mailto:gh6k69$m11$1@is.intellij.net"gh6k69$m11$1@is.intellij.net/aspan.../span/pblockquote
class="jive-quote" level="1"pHi Alex,/p/blockquotepgt;/ppgt;gt; only method body changes no
method/class signature changes) but the /ppgt;gt; changes are not taking effect. It works very
ocasionally mostly not./ppgt;/pblockquote class="jive-quote" level="1"pPlease tell me how could
IDEA influence execution inside JVM? I can repeat /ppagain that actual class reloading is done by
the JVM and this is the JVM /ppthat uses reloaded classes. Debug API provides a possiblity to
reload /ppclasses (this is in fact one API call "redefineClasses()") which is used /ppby IDEA to
supply the JVM with the new byte code. The method can either /ppexecute normally or throw an
exception indicating that the operation /ppfailed. If method completed normally, the classes are
supposed to be /ppredefined./ppSun's documentation notes that "If a redefined method has active
stack /ppframes, those active frames continue to run the bytecodes of the previous /ppversion of
the method" and maybe this is what happens in your case. /ppAnyway, you cannot blame IDEA for JVM
not using updated bytecode since JVM /ppclaims the bytecode was successfully updated. This is
simply not uder /ppIDEA's control. The only problem with IDEA could be that the bytecode was
/ppchanged but not offered to JVM for reload, but this functionality works ok /ppif I understood
that right from the post./p/blockquotepgt;/ppgt;/pblockquote class="jive-quote" level="1"p--
/ppBest regards,/ppEugene Zhuravlev/ppSoftware Developer/ppJetBrains Inc./ppa
class="jive-link-external-small"
href="http://www.jetbrains.com"http://www.jetbrains.com/a/pp"Develop with
pleasure!"/p/blockquotepgt;/pblockquote class="jive-quote" level="1"/blockquotep style="min-height:
8pt; height: 8pt; padding: 0px;"nbsp;/pp style="min-height: 8pt; height: 8pt; padding:
0px;"nbsp;/pp style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/p/div!--
[DocumentBodyEnd:ee77aea3-b5bb-40c6-a31f-b538a77d0b72] --

|
Support Forums: Message List - Announcements (EAP) -
13 hours and 46 minutes ago
!-- [DocumentBodyStart:f12b9659-f4fd-4e82-a511-b03153ca41d6] --div class='jive-rendered-content'pHi
Alex,/pp style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pblockquote class="jive-quote"
level="1"ponly method body changes no method/class signature changes) but the changes are not
taking effect. It works very ocasionally /ppmostly not./p/blockquotep style="min-height: 8pt;
height: 8pt; padding: 0px;"nbsp;/ppPlease tell me how could IDEA influence execution inside JVM? I
can repeat again that actual class reloading is done by the JVM and /ppthis is the JVM that uses
reloaded classes. Debug API provides a possiblity to reload classes (this is in fact one API call
/pp"redefineClasses()") which is used by IDEA to supply the JVM with the new byte code. The method
can either execute normally or throw /ppan exception indicating that the operation failed. If
method completed normally, the classes are supposed to be redefined./ppSun's documentation notes
that "If a redefined method has active stack frames, those active frames continue to run the
bytecodes of /ppthe previous version of the method" and maybe this is what happens in your case.
Anyway, you cannot blame IDEA for JVM not using /ppupdated bytecode since JVM claims the bytecode
was successfully updated. This is simply not uder IDEA's control. The only problem /ppwith IDEA
could be that the bytecode was changed but not offered to JVM for reload, but this functionality
works ok if I understood /ppthat right from the post./pp style="min-height: 8pt; height: 8pt;
padding: 0px;"nbsp;/pp style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp-- /ppBest
regards,/ppEugene Zhuravlev/ppSoftware Developer/ppJetBrains Inc./ppa
class="jive-link-external-small"
href="http://www.jetbrains.com"http://www.jetbrains.com/a/pp"Develop with pleasure!"/pp
style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/pp style="min-height: 8pt; height: 8pt;
padding: 0px;"nbsp;/pp style="min-height: 8pt; height: 8pt; padding: 0px;"nbsp;/p/div!--
[DocumentBodyEnd:f12b9659-f4fd-4e82-a511-b03153ca41d6] --

|
Gamekult.com -
14 hours and 36 minutes ago
On sait Activision féru de multi-portage à outrance, le dernier volet de Call of Duty
ne fait évidemment pas exception à la règle avec cette version DS.
Malgré ses qualités certaines, Modern Warfare ne nous avait guère convaincu
l'an passé. On pouvait donc craindre le pire avec World at War. Pourtan...
|
|