You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
(97) |
Apr
(160) |
May
(139) |
Jun
(17) |
Jul
(51) |
Aug
(39) |
Sep
(21) |
Oct
(45) |
Nov
(60) |
Dec
(110) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(34) |
Feb
(84) |
Mar
(154) |
Apr
(81) |
May
(107) |
Jun
(33) |
Jul
(30) |
Aug
(49) |
Sep
(68) |
Oct
(96) |
Nov
(39) |
Dec
(23) |
2012 |
Jan
(45) |
Feb
(53) |
Mar
(39) |
Apr
(32) |
May
(62) |
Jun
(48) |
Jul
(42) |
Aug
(61) |
Sep
(56) |
Oct
(48) |
Nov
(57) |
Dec
(16) |
2013 |
Jan
(52) |
Feb
(10) |
Mar
(20) |
Apr
(43) |
May
(37) |
Jun
(56) |
Jul
(53) |
Aug
(15) |
Sep
(41) |
Oct
(47) |
Nov
(75) |
Dec
(63) |
2014 |
Jan
(39) |
Feb
(80) |
Mar
(41) |
Apr
(47) |
May
(43) |
Jun
(38) |
Jul
(15) |
Aug
|
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
(3) |
2015 |
Jan
(1) |
Feb
(3) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(11) |
Dec
(7) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <jm...@us...> - 2010-03-28 18:30:38
|
Revision: 1365 http://eulergui.svn.sourceforge.net/eulergui/?rev=1365&view=rev Author: jmvanel Date: 2010-03-28 18:30:32 +0000 (Sun, 28 Mar 2010) Log Message: ----------- create-variables.n3 example: update after Jos' update in Euler Modified Paths: -------------- trunk/eulergui/test/create-variables-data.n3 trunk/eulergui/test/create-variables.n3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-28 10:22:56
|
Revision: 1364 http://eulergui.svn.sourceforge.net/eulergui/?rev=1364&view=rev Author: jmvanel Date: 2010-03-28 10:22:49 +0000 (Sun, 28 Mar 2010) Log Message: ----------- Reactivate ApplicationKB; correct error when populating the KB with project data ( tests pass ) Modified Paths: -------------- trunk/eulergui/src/main/java/eulergui/gui/controller/ApplicationKB.java trunk/eulergui/src/main/java/eulergui/project/Project.java trunk/eulergui/src/main/java/n3_project/helpers/Triple.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-27 12:24:20
|
Revision: 1363 http://eulergui.svn.sourceforge.net/eulergui/?rev=1363&view=rev Author: jmvanel Date: 2010-03-27 12:24:14 +0000 (Sat, 27 Mar 2010) Log Message: ----------- create-variables.n3p: error in preceding commit Modified Paths: -------------- trunk/eulergui/test/create-variables.n3p This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-27 12:17:13
|
Revision: 1362 http://eulergui.svn.sourceforge.net/eulergui/?rev=1362&view=rev Author: jmvanel Date: 2010-03-27 12:17:06 +0000 (Sat, 27 Mar 2010) Log Message: ----------- added example create-variables.n3p : how to create a unique variable when generating a rule WIP - asked advice to Jos Added Paths: ----------- trunk/eulergui/test/create-variables-data.n3 trunk/eulergui/test/create-variables.n3 trunk/eulergui/test/create-variables.n3p This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-27 10:40:33
|
Revision: 1361 http://eulergui.svn.sourceforge.net/eulergui/?rev=1361&view=rev Author: jmvanel Date: 2010-03-27 10:40:27 +0000 (Sat, 27 Mar 2010) Log Message: ----------- install_packages_ubuntu.sh: add install jEdit mode for N3 Modified Paths: -------------- trunk/eulergui/install_packages_ubuntu.sh This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-26 17:33:08
|
Revision: 1360 http://eulergui.svn.sourceforge.net/eulergui/?rev=1360&view=rev Author: jmvanel Date: 2010-03-26 17:33:02 +0000 (Fri, 26 Mar 2010) Log Message: ----------- swrl-n3-rules: extract variableSubstitution.n3 from swrl-n3-rules.n3 Modified Paths: -------------- trunk/eulergui/examples/swrl-n3-rules.n3 trunk/eulergui/examples/swrl-n3-rules.n3p Added Paths: ----------- trunk/eulergui/examples/variableSubstitution.n3 Modified: trunk/eulergui/examples/swrl-n3-rules.n3 =================================================================== --- trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-26 16:02:18 UTC (rev 1359) +++ trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-26 17:33:02 UTC (rev 1360) @@ -138,111 +138,3 @@ } => { ?RULE :distinctVariables ?LAD . }. - -######## variable substitution ######### - -#** variable substitution of ?V by ?VT in a triple ?T == {?S ?P ?O} -{ {?V ?P ?O} :substituteVariable (?V ?VT). -} => { # the subject is substituted - ( {?V ?P ?O} (?V ?VT) ) :variableSubstitution {?VT ?P ?O} -}. -{ {?S ?P ?V} :substituteVariable (?V ?VT). -} => { # the object is substituted - ( {?S ?P ?V} (?V ?VT) ) :variableSubstitution {?S ?P ?VT} -}. - -#** substitution of a list of variable substitutions ?L in a statement -# Antecedent: :substituteVariableList -# @subject an RDF statement -# @object list of variable substitutions, e.g. ( (:x ?X)(:y ?Y) ) -#** Consequent: :substituteVariableList - substitution of a list of variable substitutions ?L in a triple -{ - (?STAT ?INVARIANT) :substituteVariableList ?L . - # _:d e:trace ( rdf:first :substituteVariableList ?L ). - ?STAT log:includes {?S ?P ?O} . - # ?L a rdf:List . - ?L rdf:first (?V ?VT) . - # _:d e:trace ( rdf:first :substituteVariableList ?L log:includes {?V ?P ?O} ). -} => { - {?S ?P ?O} :substituteVariable (?V ?VT). -}. - -{ - (?STAT ?INVARIANT) :substituteVariableList ?L . - ?STAT log:includes {?S ?P ?O} . - # ?L a rdf:List . - ?L rdf:rest ?REST . - - # recover result from preceding rule: - ?L rdf:first (?V ?VT) . - ( {?S ?P ?O} (?V ?VT) ) :variableSubstitution {?SS ?P ?OS} . - - # _:d e:trace ( rdf:rest :substituteVariableList ?L - # :variableSubstitution {?SS ?P ?OS} ). -} => { - # ?REST a rdf:List . - ({?SS ?P ?OS} ?INVARIANT) :substituteVariableList ?REST . -}. - -# substitution of triples in a formula ?F - WIP -{ ?F :substituteVariablesInFormula ?L . - # ?F log:includes ?STAT . - ?F log:includes {?S ?P ?O} . - # _:d e:trace ("substituteVariablesInFormula" - # ?F ?STAT # ?L ). -} => { - ( - # ?STAT - {?S ?P ?O} - # ( ?F ?STAT ?L ) # INVARIANT - ( ?F {?S ?P ?O} ?L ) # INVARIANT - ) :substituteVariableList ?L . -}. - -#** recover the fully substituted triple from the initial formula, non substituted triple ?STAT and substitution list ?L -{ - ( ?STAT (?F ?STAT ?L) # INVARIANT - ) :substituteVariableList ?L . - - #_:d e:findall ( ?STAT_ - # {(?STAT_ (?F ?STAT ?L) ) :substituteVariableList ()} ?TSUBST ). - (?TSUBST (?F ?STAT ?L) ) :substituteVariableList (). - - # _:d e:trace ("trace substitutedTriple" - # ?F ?STAT ?L ). - -} => { - (?F ?L) :substitutedTriplesInFormula ?TSUBST. -}. - -{ ?F :substituteVariablesInFormula ?L . - _:d e:findall ( ?TSUBST_ - { (?F ?L) :substitutedTriplesInFormula ?TSUBST_ . } - ?TSUBST ). - ?TSUBST log:conjunction ?FSUBST . -} => { - (?F ?L) :substitutedFormula ?FSUBST. -}. - -# substitution of triples in a pair of formulas (?A ?C) . TODO - - -# test substituteVariableList -# ( {:x :sibling :y} -# ( {:x :sibling :y} ( (:x ?X)(:y ?Y) ) ) -# ) :substituteVariableList -# ( (:x ?X)(:y ?Y) ) . -# ( (:x ?X)(:y ?Y) ) a rdf:List . - - {:x :sibling :y. :x :hates :y.} :substituteVariablesInFormula - ( (:x _:x)(:y _:y ) ) . -# ( (:x _:x)(:y _:y ) ) a rdf:List . # useless with latest Euler - -{ ?LC :substituteVariable ?L . } => { _:dd :print (?LC :substituteVariable ?L) . }. -{ ?LC :variableSubstitution ?L . } => { _:dd :print (?LC :variableSubstitution ?L) . }. -{ ?LC :substituteVariableList ?L . } => { _:dd :print (?LC :substituteVariableList ?L) . }. -{ ?LC :substitutedTriple ?L . } => { _:dd :print (?LC :substitutedTriple ?L) . }. -{ ?LC :substitutedTriplesInFormula ?L . } => { _:dd :print (?LC :substitutedTriplesInFormula ?L) . }. -{ ?LC :substitutedFormula ?L . } => { _:dd :print (?LC :substitutedFormula ?L) . }. -# -{ ?LC :substituteVariablesInFormula ?L . } => { _:dd :print (?LC :substituteVariablesInFormula ?L) . }. Modified: trunk/eulergui/examples/swrl-n3-rules.n3p =================================================================== --- trunk/eulergui/examples/swrl-n3-rules.n3p 2010-03-26 16:02:18 UTC (rev 1359) +++ trunk/eulergui/examples/swrl-n3-rules.n3p 2010-03-26 17:33:02 UTC (rev 1360) @@ -1,6 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<java version="1.6.0_18" class="java.beans.XMLDecoder"> +<java version="1.6.0_18-ea" class="java.beans.XMLDecoder"> <object class="eulergui.project.Project"> + <void property="eulerArguments"> + <string></string> + </void> <void property="n3Query"> <object class="eulergui.project.N3Source"> <void property="URI"> @@ -33,6 +36,14 @@ </void> </object> </void> + <void method="put"> + <string>./variableSubstitution.n3</string> + <object class="eulergui.project.N3Source"> + <void property="URI"> + <string>./variableSubstitution.n3</string> + </void> + </object> + </void> </void> </object> </java> Added: trunk/eulergui/examples/variableSubstitution.n3 =================================================================== --- trunk/eulergui/examples/variableSubstitution.n3 (rev 0) +++ trunk/eulergui/examples/variableSubstitution.n3 2010-03-26 17:33:02 UTC (rev 1360) @@ -0,0 +1,88 @@ +@prefix : <http://owldl.com/ontologies/dl-safe.owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. +@prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#> . +@prefix log: <http://www.w3.org/2000/10/swap/log#> . + +######## variable substitution ######### + +#** variable substitution of ?V by ?VT in a triple ?T == {?S ?P ?O} +{ {?V ?P ?O} :substituteVariable (?V ?VT). +} => { # the subject is substituted + ( {?V ?P ?O} (?V ?VT) ) :variableSubstitution {?VT ?P ?O} +}. +{ {?S ?P ?V} :substituteVariable (?V ?VT). +} => { # the object is substituted + ( {?S ?P ?V} (?V ?VT) ) :variableSubstitution {?S ?P ?VT} +}. + +#** substitution of a list of variable substitutions ?L in a statement +# Antecedent: :substituteVariableList +# @subject an RDF statement +# @object list of variable substitutions, e.g. ( (:x ?X)(:y ?Y) ) +#** Consequent: :substituteVariableList - substitution of a list of variable substitutions ?L in a triple +{ + (?STAT ?INVARIANT) :substituteVariableList ?L . + # _:d e:trace ( rdf:first :substituteVariableList ?L ). + ?STAT log:includes {?S ?P ?O} . + ?L rdf:first (?V ?VT) . +} => { + {?S ?P ?O} :substituteVariable (?V ?VT). +}. + +{ + (?STAT ?INVARIANT) :substituteVariableList ?L . + ?STAT log:includes {?S ?P ?O} . + ?L rdf:rest ?REST . + + # recover result from preceding rule: + ?L rdf:first (?V ?VT) . + ( {?S ?P ?O} (?V ?VT) ) :variableSubstitution {?SS ?P ?OS} . +} => { + ({?SS ?P ?OS} ?INVARIANT) :substituteVariableList ?REST . +}. + +# substitution of triples in a formula ?F - WIP +{ ?F :substituteVariablesInFormula ?L . + # ?F log:includes ?STAT . + ?F log:includes {?S ?P ?O} . +} => { + ( + {?S ?P ?O} + ( ?F {?S ?P ?O} ?L ) # INVARIANT + ) :substituteVariableList ?L . +}. + +#** recover the fully substituted triple from the initial formula, non substituted triple ?STAT and substitution list ?L +{ + ( ?STAT (?F ?STAT ?L) # INVARIANT + ) :substituteVariableList ?L . + (?TSUBST (?F ?STAT ?L) ) :substituteVariableList (). +} => { + (?F ?L) :substitutedTriplesInFormula ?TSUBST. +}. + +#** recover the fully substituted formula from the initial formula and substitution list ?L +{ ?F :substituteVariablesInFormula ?L . + _:d e:findall ( ?TSUBST_ + { (?F ?L) :substitutedTriplesInFormula ?TSUBST_ . } + ?TSUBST ). + ?TSUBST log:conjunction ?FSUBST . +} => { + (?F ?L) :substitutedFormula ?FSUBST. +}. + +# substitution of triples in a pair of formulas (?A ?C) . TODO + +# test data + {:x :sibling :y. :x :hates :y.} :substituteVariablesInFormula + ( (:x _:x)(:y _:y ) ) . + +# test print +{ ?LC :substituteVariable ?L . } => { _:dd :print (?LC :substituteVariable ?L) . }. +{ ?LC :variableSubstitution ?L . } => { _:dd :print (?LC :variableSubstitution ?L) . }. +{ ?LC :substituteVariableList ?L . } => { _:dd :print (?LC :substituteVariableList ?L) . }. +{ ?LC :substitutedTriple ?L . } => { _:dd :print (?LC :substitutedTriple ?L) . }. +{ ?LC :substitutedTriplesInFormula ?L . } => { _:dd :print (?LC :substitutedTriplesInFormula ?L) . }. +{ ?LC :substitutedFormula ?L . } => { _:dd :print (?LC :substitutedFormula ?L) . }. +# +{ ?LC :substituteVariablesInFormula ?L . } => { _:dd :print (?LC :substituteVariablesInFormula ?L) . }. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-26 16:02:27
|
Revision: 1359 http://eulergui.svn.sourceforge.net/eulergui/?rev=1359&view=rev Author: jmvanel Date: 2010-03-26 16:02:18 +0000 (Fri, 26 Mar 2010) Log Message: ----------- swrl-n3-rules.n3 : fix the fully substituted triple; now we get this (also applied the simplification due to latest Euler revision 3352 ) : ( {:x :sibling :y. :x :hates :y} ((:x _:x_1) (:y _:y_1)) ) :substitutedFormula {_:x_1 :sibling _:y_1. _:x_1 :hates _:y_1} Revision Links: -------------- http://eulergui.svn.sourceforge.net/eulergui/?rev=3352&view=rev Modified Paths: -------------- trunk/eulergui/examples/swrl-n3-rules.n3 Modified: trunk/eulergui/examples/swrl-n3-rules.n3 =================================================================== --- trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-26 14:23:49 UTC (rev 1358) +++ trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-26 16:02:18 UTC (rev 1359) @@ -158,8 +158,9 @@ #** Consequent: :substituteVariableList - substitution of a list of variable substitutions ?L in a triple { (?STAT ?INVARIANT) :substituteVariableList ?L . + # _:d e:trace ( rdf:first :substituteVariableList ?L ). ?STAT log:includes {?S ?P ?O} . - ?L a rdf:List . + # ?L a rdf:List . ?L rdf:first (?V ?VT) . # _:d e:trace ( rdf:first :substituteVariableList ?L log:includes {?V ?P ?O} ). } => { @@ -169,55 +170,79 @@ { (?STAT ?INVARIANT) :substituteVariableList ?L . ?STAT log:includes {?S ?P ?O} . - ?L a rdf:List . + # ?L a rdf:List . ?L rdf:rest ?REST . # recover result from preceding rule: ?L rdf:first (?V ?VT) . ( {?S ?P ?O} (?V ?VT) ) :variableSubstitution {?SS ?P ?OS} . - #_:d e:trace ( rdf:rest :substituteVariableList ?L - # :variableSubstitution {?SS ?P ?OS} ). + # _:d e:trace ( rdf:rest :substituteVariableList ?L + # :variableSubstitution {?SS ?P ?OS} ). } => { - ?REST a rdf:List . + # ?REST a rdf:List . ({?SS ?P ?OS} ?INVARIANT) :substituteVariableList ?REST . }. -#** recover the fully substituted triple from the initial non substituted triple ?STAT and the substitution list ?L +# substitution of triples in a formula ?F - WIP +{ ?F :substituteVariablesInFormula ?L . + # ?F log:includes ?STAT . + ?F log:includes {?S ?P ?O} . + # _:d e:trace ("substituteVariablesInFormula" + # ?F ?STAT # ?L ). +} => { + ( + # ?STAT + {?S ?P ?O} + # ( ?F ?STAT ?L ) # INVARIANT + ( ?F {?S ?P ?O} ?L ) # INVARIANT + ) :substituteVariableList ?L . +}. + +#** recover the fully substituted triple from the initial formula, non substituted triple ?STAT and substitution list ?L { - ( ?STAT (?STAT ?L) # INVARIANT - ) :substituteVariableList ?L . - _:d e:trace ("trace substitutedTriple" ?STAT ?L ). - _:d e:findall ( ?STAT_ - {(?STAT_ (?STAT ?L) ) :substituteVariableList ()} ?TSUBST ). + ( ?STAT (?F ?STAT ?L) # INVARIANT + ) :substituteVariableList ?L . + + #_:d e:findall ( ?STAT_ + # {(?STAT_ (?F ?STAT ?L) ) :substituteVariableList ()} ?TSUBST ). + (?TSUBST (?F ?STAT ?L) ) :substituteVariableList (). + + # _:d e:trace ("trace substitutedTriple" + # ?F ?STAT ?L ). + } => { - (?STAT ?L) :substitutedTriple ?TSUBST. + (?F ?L) :substitutedTriplesInFormula ?TSUBST. }. -# substitution of triples in a formula ?F - WIP { ?F :substituteVariablesInFormula ?L . - ?F log:includes {?S ?P ?O} . + _:d e:findall ( ?TSUBST_ + { (?F ?L) :substitutedTriplesInFormula ?TSUBST_ . } + ?TSUBST ). + ?TSUBST log:conjunction ?FSUBST . } => { - ({?S ?P ?O} ?INVARIANT) :substituteVariableList ?L . + (?F ?L) :substitutedFormula ?FSUBST. }. # substitution of triples in a pair of formulas (?A ?C) . TODO # test substituteVariableList -( {:x :sibling :y} - ( {:x :sibling :y} ( (:x ?X)(:y ?Y) ) ) -) :substituteVariableList -( (:x ?X)(:y ?Y) ) . -( (:x ?X)(:y ?Y) ) a rdf:List . -# {:x :sibling :y. :x :hates :y.} :substituteVariablesInFormula +# ( {:x :sibling :y} +# ( {:x :sibling :y} ( (:x ?X)(:y ?Y) ) ) +# ) :substituteVariableList # ( (:x ?X)(:y ?Y) ) . # ( (:x ?X)(:y ?Y) ) a rdf:List . -# + {:x :sibling :y. :x :hates :y.} :substituteVariablesInFormula + ( (:x _:x)(:y _:y ) ) . +# ( (:x _:x)(:y _:y ) ) a rdf:List . # useless with latest Euler + { ?LC :substituteVariable ?L . } => { _:dd :print (?LC :substituteVariable ?L) . }. -# { ?LC :variableSubstitution ?L . } => { _:dd :print (?LC :variableSubstitution ?L) . }. { ?LC :substituteVariableList ?L . } => { _:dd :print (?LC :substituteVariableList ?L) . }. { ?LC :substitutedTriple ?L . } => { _:dd :print (?LC :substitutedTriple ?L) . }. -# { ?LC :substituteVariablesInFormula ?L . } => { _:dd :print (?LC :substituteVariablesInFormula ?L) . }. +{ ?LC :substitutedTriplesInFormula ?L . } => { _:dd :print (?LC :substitutedTriplesInFormula ?L) . }. +{ ?LC :substitutedFormula ?L . } => { _:dd :print (?LC :substitutedFormula ?L) . }. +# +{ ?LC :substituteVariablesInFormula ?L . } => { _:dd :print (?LC :substituteVariablesInFormula ?L) . }. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-26 14:23:56
|
Revision: 1358 http://eulergui.svn.sourceforge.net/eulergui/?rev=1358&view=rev Author: jmvanel Date: 2010-03-26 14:23:49 +0000 (Fri, 26 Mar 2010) Log Message: ----------- add N3 examples: clone-rdf-list-forward Added Paths: ----------- trunk/eulergui/examples/clone-rdf-list-forward.n3 trunk/eulergui/examples/clone-rdf-list-forward2.n3 Added: trunk/eulergui/examples/clone-rdf-list-forward.n3 =================================================================== --- trunk/eulergui/examples/clone-rdf-list-forward.n3 (rev 0) +++ trunk/eulergui/examples/clone-rdf-list-forward.n3 2010-03-26 14:23:49 UTC (rev 1358) @@ -0,0 +1,24 @@ +@prefix : <http://jmv.fr#>. +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. + +# clone an RDF list by a forward recursion - design pattern + +:l0 rdf:first :v0 ; + rdf:rest :l1 . +:l1 rdf:first :v1 ; + rdf:rest :l2 . +:l2 rdf:first :v2 ; + rdf:rest rdf:nil . + +# initial condition +:l0c :clone_of :l0 . + +{ + ?L rdf:first ?F . + ?L rdf:rest ?R . + ?LC :clone_of ?L . +} => { + ?LC :first ?F . + ?LC :rest ?RC . + ?RC :clone_of ?R . +} . Added: trunk/eulergui/examples/clone-rdf-list-forward2.n3 =================================================================== --- trunk/eulergui/examples/clone-rdf-list-forward2.n3 (rev 0) +++ trunk/eulergui/examples/clone-rdf-list-forward2.n3 2010-03-26 14:23:49 UTC (rev 1358) @@ -0,0 +1,18 @@ +@prefix : <http://jmv.fr#>. +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. + +# clone a list by a forward recursion - design pattern + +# initial condition +:l0c :clone_of (:v0 :v1 :v2) . +# not needed anymore since Euler Revision 3350: (:v0 :v1 :v2) a rdf:List . + +{ + ?L rdf:first ?F . + ?L rdf:rest ?R . + ?LC :clone_of ?L . +} => { + ?LC :first ?F . + ?LC :rest ?RC . + ?RC :clone_of ?R . +} . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-25 11:20:52
|
Revision: 1357 http://eulergui.svn.sourceforge.net/eulergui/?rev=1357&view=rev Author: iamlolive Date: 2010-03-25 11:20:46 +0000 (Thu, 25 Mar 2010) Log Message: ----------- corrected PARSE string Modified Paths: -------------- trunk/eulergui/src/main/resources/eulergui_en.properties trunk/eulergui/src/main/resources/eulergui_fr.properties Modified: trunk/eulergui/src/main/resources/eulergui_en.properties =================================================================== --- trunk/eulergui/src/main/resources/eulergui_en.properties 2010-03-25 09:09:22 UTC (rev 1356) +++ trunk/eulergui/src/main/resources/eulergui_en.properties 2010-03-25 11:20:46 UTC (rev 1357) @@ -196,7 +196,7 @@ activated=activated graph=GRAPH parse.error.see.error.panel=PARSE ERROR (see error panel). -parse=PARSEE +parse=PARSE run.drools=Run Drools add.n3=Add N3 add.n3.source=Add N3 source Modified: trunk/eulergui/src/main/resources/eulergui_fr.properties =================================================================== --- trunk/eulergui/src/main/resources/eulergui_fr.properties 2010-03-25 09:09:22 UTC (rev 1356) +++ trunk/eulergui/src/main/resources/eulergui_fr.properties 2010-03-25 11:20:46 UTC (rev 1357) @@ -196,7 +196,7 @@ activated=_activated graph=_GRAPH parse.error.see.error.panel=_PARSE ERROR (see error panel). -parse=_PARSEE +parse=_PARSE run.drools=_Run Drools add.n3=_Add N3 add.n3.source=_Add N3 source This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-25 09:09:28
|
Revision: 1356 http://eulergui.svn.sourceforge.net/eulergui/?rev=1356&view=rev Author: jmvanel Date: 2010-03-25 09:09:22 +0000 (Thu, 25 Mar 2010) Log Message: ----------- pom.xml: config was wrong for maven-surefire-plugin: now redirectTestOutputToFile>true works Modified Paths: -------------- trunk/eulergui/pom.xml Modified: trunk/eulergui/pom.xml =================================================================== --- trunk/eulergui/pom.xml 2010-03-24 23:08:35 UTC (rev 1355) +++ trunk/eulergui/pom.xml 2010-03-25 09:09:22 UTC (rev 1356) @@ -345,6 +345,7 @@ </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-24 23:08:45
|
Revision: 1355 http://eulergui.svn.sourceforge.net/eulergui/?rev=1355&view=rev Author: jmvanel Date: 2010-03-24 23:08:35 +0000 (Wed, 24 Mar 2010) Log Message: ----------- swrl-n3-rules.n3 : recover the fully substituted triple from the initial non substituted triple and the substitution list; apply the design pattern "add an item in the list that will be kept unchanged during recursion." Modified Paths: -------------- trunk/eulergui/examples/swrl-n3-rules.n3 Modified: trunk/eulergui/examples/swrl-n3-rules.n3 =================================================================== --- trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-24 19:33:16 UTC (rev 1354) +++ trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-24 23:08:35 UTC (rev 1355) @@ -141,7 +141,7 @@ ######## variable substitution ######### -# variable substitution of ?V by ?VT in a triple ?T == {?S ?P ?O} +#** variable substitution of ?V by ?VT in a triple ?T == {?S ?P ?O} { {?V ?P ?O} :substituteVariable (?V ?VT). } => { # the subject is substituted ( {?V ?P ?O} (?V ?VT) ) :variableSubstitution {?VT ?P ?O} @@ -151,11 +151,13 @@ ( {?S ?P ?V} (?V ?VT) ) :variableSubstitution {?S ?P ?VT} }. -#** What: :substituteVariableList - substitution of a list of variable substitutions ?L in a triple +#** substitution of a list of variable substitutions ?L in a statement +# Antecedent: :substituteVariableList # @subject an RDF statement # @object list of variable substitutions, e.g. ( (:x ?X)(:y ?Y) ) +#** Consequent: :substituteVariableList - substitution of a list of variable substitutions ?L in a triple { - ?STAT :substituteVariableList ?L . + (?STAT ?INVARIANT) :substituteVariableList ?L . ?STAT log:includes {?S ?P ?O} . ?L a rdf:List . ?L rdf:first (?V ?VT) . @@ -165,7 +167,7 @@ }. { - ?STAT :substituteVariableList ?L . + (?STAT ?INVARIANT) :substituteVariableList ?L . ?STAT log:includes {?S ?P ?O} . ?L a rdf:List . ?L rdf:rest ?REST . @@ -178,13 +180,44 @@ # :variableSubstitution {?SS ?P ?OS} ). } => { ?REST a rdf:List . - {?SS ?P ?OS} :substituteVariableList ?REST . + ({?SS ?P ?OS} ?INVARIANT) :substituteVariableList ?REST . }. -# test -{:x :sibling :y} :substituteVariableList +#** recover the fully substituted triple from the initial non substituted triple ?STAT and the substitution list ?L +{ + ( ?STAT (?STAT ?L) # INVARIANT + ) :substituteVariableList ?L . + _:d e:trace ("trace substitutedTriple" ?STAT ?L ). + _:d e:findall ( ?STAT_ + {(?STAT_ (?STAT ?L) ) :substituteVariableList ()} ?TSUBST ). +} => { + (?STAT ?L) :substitutedTriple ?TSUBST. +}. + +# substitution of triples in a formula ?F - WIP +{ ?F :substituteVariablesInFormula ?L . + ?F log:includes {?S ?P ?O} . +} => { + ({?S ?P ?O} ?INVARIANT) :substituteVariableList ?L . +}. + +# substitution of triples in a pair of formulas (?A ?C) . TODO + + +# test substituteVariableList +( {:x :sibling :y} + ( {:x :sibling :y} ( (:x ?X)(:y ?Y) ) ) +) :substituteVariableList ( (:x ?X)(:y ?Y) ) . ( (:x ?X)(:y ?Y) ) a rdf:List . +# {:x :sibling :y. :x :hates :y.} :substituteVariablesInFormula +# ( (:x ?X)(:y ?Y) ) . +# ( (:x ?X)(:y ?Y) ) a rdf:List . +# { ?LC :substituteVariable ?L . } => { _:dd :print (?LC :substituteVariable ?L) . }. +# { ?LC :variableSubstitution ?L . } => { _:dd :print (?LC :variableSubstitution ?L) . }. +{ ?LC :substituteVariableList ?L . } => { _:dd :print (?LC :substituteVariableList ?L) . }. +{ ?LC :substitutedTriple ?L . } => { _:dd :print (?LC :substitutedTriple ?L) . }. +# { ?LC :substituteVariablesInFormula ?L . } => { _:dd :print (?LC :substituteVariablesInFormula ?L) . }. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-24 19:33:24
|
Revision: 1354 http://eulergui.svn.sourceforge.net/eulergui/?rev=1354&view=rev Author: jmvanel Date: 2010-03-24 19:33:16 +0000 (Wed, 24 Mar 2010) Log Message: ----------- maven-surefire-plugin (Maven test) tried configuration: parallel>falsei, redirectTestOutputToFile>true redirectTestOutputToFile does not work, but parallel==false could solve issues with testAddNewN3Source() Modified Paths: -------------- trunk/eulergui/pom.xml Modified: trunk/eulergui/pom.xml =================================================================== --- trunk/eulergui/pom.xml 2010-03-24 18:03:55 UTC (rev 1353) +++ trunk/eulergui/pom.xml 2010-03-24 19:33:16 UTC (rev 1354) @@ -344,6 +344,15 @@ </configuration> </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.5</version> + <configuration> + <parallel>false</parallel> + <redirectTestOutputToFile>true</redirectTestOutputToFile> + </configuration> + </plugin> + <!-- PENDING don't understand what maven-changes-plugin does cf http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge plugin> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-24 18:04:02
|
Revision: 1353 http://eulergui.svn.sourceforge.net/eulergui/?rev=1353&view=rev Author: iamlolive Date: 2010-03-24 18:03:55 +0000 (Wed, 24 Mar 2010) Log Message: ----------- fake french localization file (with string different from the one in the english localization file) Modified Paths: -------------- trunk/eulergui/src/main/resources/eulergui_fr.properties Modified: trunk/eulergui/src/main/resources/eulergui_fr.properties =================================================================== --- trunk/eulergui/src/main/resources/eulergui_fr.properties 2010-03-24 17:48:06 UTC (rev 1352) +++ trunk/eulergui/src/main/resources/eulergui_fr.properties 2010-03-24 18:03:55 UTC (rev 1353) @@ -1,251 +1,251 @@ -no.such.type.0=no such type: {0} -missing.required.id.0=missing required ID {0} -keep.drools.java.generated.in.directory.0=keep_drools_java_generated in directory {0} -guikbadapter.actionperformed=GUIKBAdapter.actionPerformed() -guikbadapter.focuslost.0=GUIKBAdapter.focusLost() {0} -guikbadapter.windowactivated=GUIKBAdapter.windowActivated() -usage.tjava.options.com.hp.gloze.gloze.xmlfile.namespaceuri.schemaurl.nonamespaceschemaurl=Usage:\tjava [-options] com.hp.gloze.Gloze xmlfile (namespaceURI schemaURL)* [nonamespaceschemaURL] -or.tjava.options.com.hp.gloze.gloze.rdffile.namespaceuri.schemaurl.nonamespaceschemaurl=or\tjava [-options] com.hp.gloze.Gloze rdffile (namespaceURI schemaURL)* [nonamespaceschemaURL] -or.tjava.options.com.hp.gloze.gloze.xsdfile=or\tjava [-options] com.hp.gloze.Gloze xsdfile -options=options: -dgloze.order.no.seq.t.t.tdisable.enables.ordering.default.no=-Dgloze.order=no|seq\t\t\tdisable/enables ordering (default=no) -dgloze.space.default.preserve.t.twhitespace.handling.default.default=-Dgloze.space=default|preserve\t\twhitespace handling (default=default) -dgloze.base.uri.t.t.tbase.uri.default.target.or.source.url=-Dgloze.base=URI\t\t\tbase URI (default=target or source URL) -dgloze.xmlns.uri.t.t.tdefault.namespace.for.unqualified.components.default.schema.url=-Dgloze.xmlns=URI\t\t\tdefault namespace for unqualified components (default=schema URL) -dgloze.element.symbol.t.t.tsymbolic.prefix.for.elements.default=-Dgloze.element=SYMBOL\t\t\tsymbolic prefix for elements (default='') -dgloze.fixed.true.false.t.tadd.fixed.attributes.in.drop.default.false=-Dgloze.fixed=true|false\t\tadd fixed attributes in drop (default=false) -dgloze.attribute.symbol.t.tsymbolic.prefix.for.attributes.default=-Dgloze.attribute=SYMBOL\t\tsymbolic prefix for attributes (default='') -dgloze.lang.n3.rdf.xml.rdf.xml.abbrev.trdf.format.default.rdf.xml.abbrev=-Dgloze.lang=N3|RDF/XML|RDF/XML-ABBREV\tRDF format (default='RDF/XML-ABBREV') -dgloze.target.file.t.t.toutput.directory.or.file.default.none=-Dgloze.target=file\t\t\toutput directory or file (default=none) -dgloze.verbose.true.false.t.tdirect.output.to.console.default.false=-Dgloze.verbose=true|false\t\tdirect output to console (default=false) -dgloze.roundtrip.true.false.t.tcombined.lift.drop.for.testing.default.false=-Dgloze.roundtrip=true|false\t\tcombined lift/drop for testing (default=false) -dgloze.schemalocation.uri.dir.t.tschema.location.attribution.default.none=-Dgloze.schemaLocation=URI|dir\t\tschema location attribution (default=none) -dgloze.closed.true.false.t.tclose.global.definitions.for.owl.mapping.default.true=-Dgloze.closed=true|false\t\tclose global definitions for OWL mapping (default=true) -dgloze.class.subclassof.intersectionof.tclass.definition.style.default.subclassof=-Dgloze.class=subClassOf|intersectionOf\tclass definition style (default=subClassOf) -dgloze.report.true.false.t.treport.defined.uris.default.false=-Dgloze.report=true|false\t\treport defined URIs (default=false) -dgloze.trace.true.false.t.ttrace.rules.default.false=-Dgloze.trace=true|false\t\ttrace rules (default=false) -dgloze.overwrite.true.false.t.toverwrite.existing.owl.files.default.true=-Dgloze.overwrite=true|false\t\toverwrite existing owl files (default=true) -guikbadapter.windowclosed=GUIKBAdapter.windowClosed() -guikbadapter.windowdeactivated=GUIKBAdapter.windowDeactivated() -guikbadapter.windowdeiconified=GUIKBAdapter.windowDeiconified() -guikbadapter.windowiconified=GUIKBAdapter.windowIconified() -guikbadapter.windowopened=GUIKBAdapter.windowOpened() -guikbadapter.windowclosing=GUIKBAdapter.windowClosing() -intermediary.0=intermediary {0} -triple.count.0=# triple Count: {0} -nparserlink.parseandupdatesource.parsing.took.0.ms=\nParserLink.parseAndUpdateSource(): parsing took {0} ms. -trans.getn3result.0=trans.getN3Result(): {0} -found.predicate.0=found Predicate: {0} -starting.gloze.rungloze.with.args=Starting Gloze.runGloze() with args -ran.gloze.to.target.0.n.in.1.ms=Ran Gloze to target {0}\n in {1} ms. -original.n.0=original:\n{0} -exported.n.0=exported:\n{0} -cumulated.elapsed.time.0.seconds==== Cumulated elapsed time: {0} seconds === -after.waitdialog.setvisible.true=After waitDialog.setVisible(true) <<<<<<<<<<< -testjemmy.disposewindows.window.disposing.0.windows=TestJemmy.disposeWindows(): window disposing {0} windows. -after.launch.generated.app.0=After Launch generated app: \"{0}\" -jtextcomponent.0=JTextComponent: {0} -model.getchild.model.getroot.0.0=model.getChild(model.getRoot(), 0): {0} -getcellrenderer.0=getCellRenderer: {0} -path.getpathcount.0=path.getPathCount(): {0} -path.for.student.0=path for Student: {0} -saveas.actionperformed.file.n.0.n.saved=SaveAs.actionPerformed(): file \n{0}\n saved. -saveas.actionperformed.file.0.already.exists.cannot.be.saved.here=SaveAs.actionPerformed(): file \"{0}\" already exists, cannot be saved here. -projectloaded.0=projectLoaded: {0} -queryview.addn3search.added.a.queriespanel=QueryView.addN3Search(): added a queriesPanel -queryview.addn3search.created.button=QueryView.addN3Search(): created Button -n3sourcefromotherformat.maketemporaryfile=N3SourceFromOtherFormat.makeTemporaryFile() -xmi.or.umlt.parsed.0=XMI or UMLT parsed: {0} -0.does.not.exist=>> {0} does not exist! -query.executed.0=query executed: {0} -query.result.saved.to.0=query result saved to: {0} -extracted.xml.namespaces.from.plain.xml.source.0=extracted XML Namespaces from plain XML source \"{0}\" -starting.gloze.main.with.args=Starting Gloze.main() with args -n3sourcefromxml.gloze.prepare.gloze.new.gloze=N3SourceFromXML_Gloze.prepare(): gloze = new Gloze() -ran.gloze.in.0.ms=Ran Gloze in {0} ms -after.g.rungloze.args.0=After g.runGloze( args ): {0} -usage=usage: -n3source.setfilename.0=N3Source.setFileName( {0} -getsources.size.0=getSources().size(): {0} -keyinproject.0=keyInProject() {0} -geturi.0=getURI() {0} -n3source.waitfordownloadthread.0=N3Source.waitForDownloadThread(): {0} -found.euler.install.directory.0=Found Euler Install Directory: {0} -project.addn3query.the.n3.query.already.exists.0.it.is.turned.into.a.search=Project.addN3Query(): the N3 Query already exists: {0}; it is turned into a search. -running.eulerrunner.doproof.with.arguments.0=Running EulerRunner.doProof() with arguments: {0} -codd.server.started=Codd server started. -waited.1s.after.codd.server.started=Waited 1s after Codd server started. -running.0=Running {0} -external.process.finished=External Process finished -n.translating.0=\n//////// translating {0} //////// -n.translating.query.0=\n//////// translating Query {0} -project.saved.in.0.in.local.directory=Project saved in \"{0}\" in local directory. -opening.project.from.0.1=opening Project from \"{0}\" ( {1} ) -project.opened.from.0.in.local.directory.1.n3.sources=Project opened from \"{0}\" in local directory; {1} N3 sources. -blank.project.created.0=Blank Project created: {0} -project.prepare.0=Project.prepare() {0} -project.prepare.loop.0=Project.prepare(): loop: {0} -project.prepare.searches.loop.0=Project.prepare(): searches_: loop: {0} -opening.project.from.url.0=opening Project from URL \"{0}\" -n.projectsequence.rundroolstriples.n=\n=========================== ProjectSequence.runDroolsTriples() ===========================\n -testn3source.testpath.0=TestN3Source.testPath(): {0} -done=done -done.classifying.0=done Classifying {0} -loadontologytime.0=loadOntologyTime: {0} -reasonertime.0=reasonerTime: {0} -error.no.ontology.uri.given=ERROR: No ontology URI given! -usage.java.classtree.ontology.uri=usage: java ClassTree <ontology URI> -launch.owl.reasoner.on.0=Launch OWL Reasoner on: {0} -gettransferdata.0=getTransferData: {0} -editormanagement.chooseeditor.fallback.to.0.as.macvim.is.not.installed=EditorManagement.chooseEditor(): fallback to {0} , as MacVim is not installed. -external.editor.found.0=External Editor found: {0} -n3sourcefromrdf.preparerdf.getsources.0=N3SourceFromRDF.prepareRDF(): getSources: {0} -parserdf.thread.ended.for.reading.0=parseRDF(): Thread ended for reading {0} -parserdf.thread.start.for.reading.0=parseRDF(): Thread start for reading {0} -reading.rdf.0=Reading RDF: {0} -rdf.parsed.and.translated.0=RDF parsed and translated: {0} -rdf.downloaded.parsed.and.translated.0=RDF downloaded, parsed and translated: {0} -projectgui.projectgui.lastfile.ngetproject.getsources.keyset.iterator.next.0=ProjectGUI.ProjectGUI(): lastFile:\ngetProject().getSources().keySet().iterator().next(): {0} -projectgui.newwindow.lastfile.0=ProjectGUI.newWindow(): lastFile: {0} -projectgui.popupfilechooser.lastfile.0=ProjectGUI.popupFileChooser(): lastFile: {0} -projectgui.popupfilechooser.lastfile.getproperty.user.dir.0=ProjectGUI.popupFileChooser(): lastFile getProperty(\"user.dir\") {0} -open.command.cancelled.by.user=# Open command cancelled by user. -n.triples.converted.to.n3=N-Triples converted to N3 -0.will.be.querried.on.next.inference.run={0} will be querried on next inference run. -sourcefactory.getgloze.instantiate.gloze=SourceFactory.getGloze(): instantiate Gloze -stresstestreasoning.measure.results.writen.to.file.0=StressTestReasoning.measure(): results writen to file {0} -after.makerandomgraph.project.0.1=After makeRandomGraph(project, {0}, {1} ) -query.n.0=Query:\n{0} -after.copyn3factstodrools=After copyN3factsToDrools: -result.ok=!!!!!!!!!!!!!! result OK !!!!!!!!!!!!!!!!!!!!!!!!! -testreasonning.processprojectwithdrools=TestReasonning.processProjectWithDrools(): -result.n.0=Result:\n{0} -memory.0=Memory: {0} -restored.project.uri.of.first.n3.source.0=restored Project: URI of first N3 source: {0} -testproject.testreasondrools=TestProject.testReasonDrools() -testproject.testreasononce=TestProject.testReasonOnce() -windowclosing.saved.file=.windowClosing(): saved file. -editedclass.instance.read.0=editedClass Instance read {0} -editedclass.instance.created.0=editedClass Instance created {0} -windowopened.editedclassinstanceid.0=.windowOpened(): editedClassInstanceId {0} -we.have.0.user.triples=we have {0} user triples. -saved.n3.user.file.0=Saved N3 user file {0} -saved.facts.on.file.0=saved Facts On File: {0} -npanelinstantiations.wished.results.0=\npanelInstantiations Wished Results: {0} -npanelinstantiations.actual.results.0=\npanelInstantiations Actual Results: {0} -before.session.fireallrules=before session.fireAllRules(); -after.session.fireallrules=after session.fireAllRules(); -compiled.0=Compiled {0} -n3querytodroolsquery.translate.droolssource.n.0=N3QueryToDroolsQuery.translate(): droolsSource:\n{0} -n3querytodroolsquery.translate.errors.in.n3querytodroolsquery.translation=N3QueryToDroolsQuery.translate(): errors in N3QueryToDroolsQuery translation -evt.0=EVT>>> {0} -nn3sourcetodrools.translate.parsing.took.0.ms=\nN3SourcetoDrools.translate(): parsing took {0} ms. -rule.count.0=// rule Count {0} -fact.count.0=// fact Count {0} -drools.compile.0.1.ms.n=// drools Compile {0} : {1} ms\n -directory.0.created=Directory: {0} created -object2rule.added.to.workingmemory=object2rule added to workingMemory -workingmemory.getrulebase.getpackages=workingMemory.getRuleBase().getPackages(): -fireallrules.last.n3.source.0=//==== fireAllRules ==== last N3 Source: {0} -result.triples.0=result Triples: {0} -drools.results=Drools results -there.are.0.objects.in.workingmemory=There are {0} objects in workingMemory. -removed.0.facts=, removed {0} facts. -removerulepackage.no.facts.corresponding.to.0=removeRulePackage(): no facts corresponding to {0} -retracted.0.objects.in.workingmemory.from.a.total.of.1.so.remains.2.objects=Retracted {0} objects in workingMemory, from a total of {1}. So remains {2} objects. -compilation.of.0.is.uptodate=Compilation of {0} is uptodate. -n3todroolsupdater.gettimestamp.uri.0.force.drools.compilation=N3toDroolsUpdater.getTimeStamp(): uri_: {0} : force Drools compilation -compilation.of.query.0.is.uptodate=Compilation of Query {0} is uptodate. -project.getworkingmemory.0=project.getWorkingMemory(): {0} -result.n.01=result:\n{0} -redefer.configuration.resource.not.found.0=ReDeFer configuration resource not found, {0} -added.fieldbehavior.n.with.property.id.0=Added FieldBehavior \n with property Id {0} -java.instanciator.no.result.available=Java instanciator: No result available -njavascript.instantiation.0.instances.1.property.instances.2.method.calls=\nJavaScript instantiation: {0} instances, {1} property instances, {2} method calls. -objectbehavior.actionperformed.0=ObjectBehavior.actionPerformed {0} -addbehaviortogeneratedframe.0=addBehaviorToGeneratedFrame(): {0} -tripleloadstore.load.0.triples.1.size.before=TripleLoadStore.load(): {0} triples. {1} size before. -createid.0=createId: {0} -the.document.0.has.been.edited.you.must.save.it.first=The document \"{0}\" has been edited, you must save it first. -document.uri.n3.file.name.output.directory= <document uri> <n3 file name> <output directory> -projectchangesupport.addprojectlistener.added.listener.0=ProjectChangeSupport.addProjectListener(): added listener {0} -testreasonning.teardown.window.disposing.0.windows=TestReasonning.tearDown(): window disposing {0} windows. -testsimplifieduri.testsetfilename.0=TestSimplifiedURI.testSetFileName(): {0} -testsimplifieduri.testrelativepathwithdot.0=TestSimplifiedURI.testRelativePathWithDot(): {0} -testsimplifieduri.testfilenamewithdot.0=TestSimplifiedURI.testFileNameWithDot(): {0} -triplestoredrools.store.exceptionoccured.0=TripleStoreDrools.store(): exceptionOccured: {0} -updatetriple.0.newvalue.1=updateTriple({0}, newValue={1} ) -file=File -open.project=Open Project -open.project.from.url=Open Project from URL -save.project=Save Project -save.project.as=Save Project as ... -new.project=New Project -exit=Exit ... -new.window=New Window ... -import.project=Import Project ... -import.project.from.url=Import Project from URL ... -add.project.as.post.processing=Add Project as post-processing ... -export.as.drools=Export as Drools -export.as.xml=Export as XML -export.as.rdf=Export as RDF -active=active -click.to.open.n3.source.converted.from.other.format.if.necessary=click to open N3 source (converted from other format if necessary) -html.query.font.color.000099.u.0.u.font.html=<HTML>Query: <FONT color=\"#000099\"><U>{0}</U></FONT></HTML> -html.font.color.000099.u.0.u.font.html=<HTML><FONT color=\"#000099\"><U>{0}</U></FONT></HTML> -activated=activated -graph=GRAPH -parse.error.see.error.panel=PARSE ERROR (see error panel). -parse=PARSEE -run.drools=Run Drools -add.n3=Add N3 -add.n3.source=Add N3 source -add.n3.url=Add N3 URL -add.n3.rdf.uml.ecore.plain.xml.source.from.url=Add N3, RDF, UML, eCore, plain XML source from URL -action.0.performed=# Action [{0}] performed! -n3.query=N3 query -n3.search=N3 search -run.n3.queries=Run N3 queries -add.rdf=Add RDF -add.rdf.or.owl.source=Add RDF or OWL source -add.source=Add source -add.plain.xml.or.xsd.using.gloze=Add plain XML or XSD using Gloze -html.add.plain.xml.source.using.gloze.br.converted.as.rdf.or.xml.schema.converted.as.owl.html=<html>Add plain XML source using Gloze<br>(converted as RDF), or XML Schema (converted as OWL)</html> -add.plain.xml.or.xsd.using.redefer=Add plain XML or XSD using ReDeFer -html.add.plain.xml.source.using.redefer.br.converted.as.rdf.or.xml.schema.converted.as.owl.html=<html>Add plain XML source using ReDeFer<br>(converted as RDF), or XML Schema (converted as OWL)</html -run.n3.queries.euler=Run N3 queries - Euler -run.n3.queries.euler.yap.through.codd.local.server=Run N3 queries - Euler + Yap through Codd local server -run.n3.queries.euler.yap=Run N3 queries - Euler + Yap -run.cwm=Run CWM -run.fuxi=Run Fuxi -add.query.to.sparql.service=Add query to SPARQL Service -html.add.query.to.sparql.service.html=<html>Add query to SPARQL Service</html -toggle.erase.panel.mode=Toggle Erase panel mode -error.messages=Error messages -keep.old.results.in.pane=Keep old results in pane -error.at.line.0=(Error at line {0}) -clear.result.pane.before.run=Clear result pane before run -view=View -launch.generated.app=Launch generated app. -javascript.console.unactivated=JavaScript console unActivated -javascript.console.and.java.instantiations.refresh.activated=JavaScript console and Java instantiations refresh Activated -tools.launch.generated.app=Tools|Launch generated app. -javascript.console.old.architecture=JavaScript console - OLD ARCHITECTURE -tools.launch.owl.reasoner=Tools|Launch OWL Reasoner. -add.xmi.uml.etc=Add XMI(UML,etc) -add.xmi.uml.ecore.uml.textual.etc.source=Add XMI (UML, eCore, UML Textual, etc) source -launch.owl.reasoner=Launch OWL Reasoner. -owl.reasoner.classify=OWL Reasoner (classify) -documentation=Documentation -help=Help -tools=Tools -about=About -euler.args=Euler args -cwm.args=CWM args -html.proof.br.explanation.html=<html>proof <br>explanation</html> -n3.project=N3 Project: -enter.an.url=Enter an URL -orig=ORIG. -original.0.before.conversion.into.n3=original \"{0}\" before conversion into N3 -remove.this.source.from.project=remove this source from project -drop.or.paste.here.n3.or.rdf.file.or.url=drop or paste here N3 or RDF File or URL \ No newline at end of file +no.such.type.0=_no such type: {0} +missing.required.id.0=_missing required ID {0} +keep.drools.java.generated.in.directory.0=_keep_drools_java_generated in directory {0} +guikbadapter.actionperformed=_GUIKBAdapter.actionPerformed() +guikbadapter.focuslost.0=_GUIKBAdapter.focusLost() {0} +guikbadapter.windowactivated=_GUIKBAdapter.windowActivated() +usage.tjava.options.com.hp.gloze.gloze.xmlfile.namespaceuri.schemaurl.nonamespaceschemaurl=_Usage:\tjava [-options] com.hp.gloze.Gloze xmlfile (namespaceURI schemaURL)* [nonamespaceschemaURL] +or.tjava.options.com.hp.gloze.gloze.rdffile.namespaceuri.schemaurl.nonamespaceschemaurl=_or\tjava [-options] com.hp.gloze.Gloze rdffile (namespaceURI schemaURL)* [nonamespaceschemaURL] +or.tjava.options.com.hp.gloze.gloze.xsdfile=_or\tjava [-options] com.hp.gloze.Gloze xsdfile +options=_options: +dgloze.order.no.seq.t.t.tdisable.enables.ordering.default.no=_-Dgloze.order=_no|seq\t\t\tdisable/enables ordering (default=_no) +dgloze.space.default.preserve.t.twhitespace.handling.default.default=_-Dgloze.space=_default|preserve\t\twhitespace handling (default=_default) +dgloze.base.uri.t.t.tbase.uri.default.target.or.source.url=_-Dgloze.base=_URI\t\t\tbase URI (default=_target or source URL) +dgloze.xmlns.uri.t.t.tdefault.namespace.for.unqualified.components.default.schema.url=_-Dgloze.xmlns=_URI\t\t\tdefault namespace for unqualified components (default=_schema URL) +dgloze.element.symbol.t.t.tsymbolic.prefix.for.elements.default=_-Dgloze.element=_SYMBOL\t\t\tsymbolic prefix for elements (default=_'') +dgloze.fixed.true.false.t.tadd.fixed.attributes.in.drop.default.false=_-Dgloze.fixed=_true|false\t\tadd fixed attributes in drop (default=_false) +dgloze.attribute.symbol.t.tsymbolic.prefix.for.attributes.default=_-Dgloze.attribute=_SYMBOL\t\tsymbolic prefix for attributes (default=_'') +dgloze.lang.n3.rdf.xml.rdf.xml.abbrev.trdf.format.default.rdf.xml.abbrev=_-Dgloze.lang=_N3|RDF/XML|RDF/XML-ABBREV\tRDF format (default=_'RDF/XML-ABBREV') +dgloze.target.file.t.t.toutput.directory.or.file.default.none=_-Dgloze.target=_file\t\t\toutput directory or file (default=_none) +dgloze.verbose.true.false.t.tdirect.output.to.console.default.false=_-Dgloze.verbose=_true|false\t\tdirect output to console (default=_false) +dgloze.roundtrip.true.false.t.tcombined.lift.drop.for.testing.default.false=_-Dgloze.roundtrip=_true|false\t\tcombined lift/drop for testing (default=_false) +dgloze.schemalocation.uri.dir.t.tschema.location.attribution.default.none=_-Dgloze.schemaLocation=_URI|dir\t\tschema location attribution (default=_none) +dgloze.closed.true.false.t.tclose.global.definitions.for.owl.mapping.default.true=_-Dgloze.closed=_true|false\t\tclose global definitions for OWL mapping (default=_true) +dgloze.class.subclassof.intersectionof.tclass.definition.style.default.subclassof=_-Dgloze.class=_subClassOf|intersectionOf\tclass definition style (default=_subClassOf) +dgloze.report.true.false.t.treport.defined.uris.default.false=_-Dgloze.report=_true|false\t\treport defined URIs (default=_false) +dgloze.trace.true.false.t.ttrace.rules.default.false=_-Dgloze.trace=_true|false\t\ttrace rules (default=_false) +dgloze.overwrite.true.false.t.toverwrite.existing.owl.files.default.true=_-Dgloze.overwrite=_true|false\t\toverwrite existing owl files (default=_true) +guikbadapter.windowclosed=_GUIKBAdapter.windowClosed() +guikbadapter.windowdeactivated=_GUIKBAdapter.windowDeactivated() +guikbadapter.windowdeiconified=_GUIKBAdapter.windowDeiconified() +guikbadapter.windowiconified=_GUIKBAdapter.windowIconified() +guikbadapter.windowopened=_GUIKBAdapter.windowOpened() +guikbadapter.windowclosing=_GUIKBAdapter.windowClosing() +intermediary.0=_intermediary {0} +triple.count.0=_# triple Count: {0} +nparserlink.parseandupdatesource.parsing.took.0.ms=_\nParserLink.parseAndUpdateSource(): parsing took {0} ms. +trans.getn3result.0=_trans.getN3Result(): {0} +found.predicate.0=_found Predicate: {0} +starting.gloze.rungloze.with.args=_Starting Gloze.runGloze() with args +ran.gloze.to.target.0.n.in.1.ms=_Ran Gloze to target {0}\n in {1} ms. +original.n.0=_original:\n{0} +exported.n.0=_exported:\n{0} +cumulated.elapsed.time.0.seconds=_=_=_=_ Cumulated elapsed time: {0} seconds =_=_=_ +after.waitdialog.setvisible.true=_After waitDialog.setVisible(true) <<<<<<<<<<< +testjemmy.disposewindows.window.disposing.0.windows=_TestJemmy.disposeWindows(): window disposing {0} windows. +after.launch.generated.app.0=_After Launch generated app: \"{0}\" +jtextcomponent.0=_JTextComponent: {0} +model.getchild.model.getroot.0.0=_model.getChild(model.getRoot(), 0): {0} +getcellrenderer.0=_getCellRenderer: {0} +path.getpathcount.0=_path.getPathCount(): {0} +path.for.student.0=_path for Student: {0} +saveas.actionperformed.file.n.0.n.saved=_SaveAs.actionPerformed(): file \n{0}\n saved. +saveas.actionperformed.file.0.already.exists.cannot.be.saved.here=_SaveAs.actionPerformed(): file \"{0}\" already exists, cannot be saved here. +projectloaded.0=_projectLoaded: {0} +queryview.addn3search.added.a.queriespanel=_QueryView.addN3Search(): added a queriesPanel +queryview.addn3search.created.button=_QueryView.addN3Search(): created Button +n3sourcefromotherformat.maketemporaryfile=_N3SourceFromOtherFormat.makeTemporaryFile() +xmi.or.umlt.parsed.0=_XMI or UMLT parsed: {0} +0.does.not.exist=_>> {0} does not exist! +query.executed.0=_query executed: {0} +query.result.saved.to.0=_query result saved to: {0} +extracted.xml.namespaces.from.plain.xml.source.0=_extracted XML Namespaces from plain XML source \"{0}\" +starting.gloze.main.with.args=_Starting Gloze.main() with args +n3sourcefromxml.gloze.prepare.gloze.new.gloze=_N3SourceFromXML_Gloze.prepare(): gloze =_ new Gloze() +ran.gloze.in.0.ms=_Ran Gloze in {0} ms +after.g.rungloze.args.0=_After g.runGloze( args ): {0} +usage=_usage: +n3source.setfilename.0=_N3Source.setFileName( {0} +getsources.size.0=_getSources().size(): {0} +keyinproject.0=_keyInProject() {0} +geturi.0=_getURI() {0} +n3source.waitfordownloadthread.0=_N3Source.waitForDownloadThread(): {0} +found.euler.install.directory.0=_Found Euler Install Directory: {0} +project.addn3query.the.n3.query.already.exists.0.it.is.turned.into.a.search=_Project.addN3Query(): the N3 Query already exists: {0}; it is turned into a search. +running.eulerrunner.doproof.with.arguments.0=_Running EulerRunner.doProof() with arguments: {0} +codd.server.started=_Codd server started. +waited.1s.after.codd.server.started=_Waited 1s after Codd server started. +running.0=_Running {0} +external.process.finished=_External Process finished +n.translating.0=_\n//////// translating {0} //////// +n.translating.query.0=_\n//////// translating Query {0} +project.saved.in.0.in.local.directory=_Project saved in \"{0}\" in local directory. +opening.project.from.0.1=_opening Project from \"{0}\" ( {1} ) +project.opened.from.0.in.local.directory.1.n3.sources=_Project opened from \"{0}\" in local directory; {1} N3 sources. +blank.project.created.0=_Blank Project created: {0} +project.prepare.0=_Project.prepare() {0} +project.prepare.loop.0=_Project.prepare(): loop: {0} +project.prepare.searches.loop.0=_Project.prepare(): searches_: loop: {0} +opening.project.from.url.0=_opening Project from URL \"{0}\" +n.projectsequence.rundroolstriples.n=_\n=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_ ProjectSequence.runDroolsTriples() =_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_\n +testn3source.testpath.0=_TestN3Source.testPath(): {0} +done=_done +done.classifying.0=_done Classifying {0} +loadontologytime.0=_loadOntologyTime: {0} +reasonertime.0=_reasonerTime: {0} +error.no.ontology.uri.given=_ERROR: No ontology URI given! +usage.java.classtree.ontology.uri=_usage: java ClassTree <ontology URI> +launch.owl.reasoner.on.0=_Launch OWL Reasoner on: {0} +gettransferdata.0=_getTransferData: {0} +editormanagement.chooseeditor.fallback.to.0.as.macvim.is.not.installed=_EditorManagement.chooseEditor(): fallback to {0} , as MacVim is not installed. +external.editor.found.0=_External Editor found: {0} +n3sourcefromrdf.preparerdf.getsources.0=_N3SourceFromRDF.prepareRDF(): getSources: {0} +parserdf.thread.ended.for.reading.0=_parseRDF(): Thread ended for reading {0} +parserdf.thread.start.for.reading.0=_parseRDF(): Thread start for reading {0} +reading.rdf.0=_Reading RDF: {0} +rdf.parsed.and.translated.0=_RDF parsed and translated: {0} +rdf.downloaded.parsed.and.translated.0=_RDF downloaded, parsed and translated: {0} +projectgui.projectgui.lastfile.ngetproject.getsources.keyset.iterator.next.0=_ProjectGUI.ProjectGUI(): lastFile:\ngetProject().getSources().keySet().iterator().next(): {0} +projectgui.newwindow.lastfile.0=_ProjectGUI.newWindow(): lastFile: {0} +projectgui.popupfilechooser.lastfile.0=_ProjectGUI.popupFileChooser(): lastFile: {0} +projectgui.popupfilechooser.lastfile.getproperty.user.dir.0=_ProjectGUI.popupFileChooser(): lastFile getProperty(\"user.dir\") {0} +open.command.cancelled.by.user=_# Open command cancelled by user. +n.triples.converted.to.n3=_N-Triples converted to N3 +0.will.be.querried.on.next.inference.run=_{0} will be querried on next inference run. +sourcefactory.getgloze.instantiate.gloze=_SourceFactory.getGloze(): instantiate Gloze +stresstestreasoning.measure.results.writen.to.file.0=_StressTestReasoning.measure(): results writen to file {0} +after.makerandomgraph.project.0.1=_After makeRandomGraph(project, {0}, {1} ) +query.n.0=_Query:\n{0} +after.copyn3factstodrools=_After copyN3factsToDrools: +result.ok=_!!!!!!!!!!!!!! result OK !!!!!!!!!!!!!!!!!!!!!!!!! +testreasonning.processprojectwithdrools=_TestReasonning.processProjectWithDrools(): +result.n.0=_Result:\n{0} +memory.0=_Memory: {0} +restored.project.uri.of.first.n3.source.0=_restored Project: URI of first N3 source: {0} +testproject.testreasondrools=_TestProject.testReasonDrools() +testproject.testreasononce=_TestProject.testReasonOnce() +windowclosing.saved.file=_.windowClosing(): saved file. +editedclass.instance.read.0=_editedClass Instance read {0} +editedclass.instance.created.0=_editedClass Instance created {0} +windowopened.editedclassinstanceid.0=_.windowOpened(): editedClassInstanceId {0} +we.have.0.user.triples=_we have {0} user triples. +saved.n3.user.file.0=_Saved N3 user file {0} +saved.facts.on.file.0=_saved Facts On File: {0} +npanelinstantiations.wished.results.0=_\npanelInstantiations Wished Results: {0} +npanelinstantiations.actual.results.0=_\npanelInstantiations Actual Results: {0} +before.session.fireallrules=_before session.fireAllRules(); +after.session.fireallrules=_after session.fireAllRules(); +compiled.0=_Compiled {0} +n3querytodroolsquery.translate.droolssource.n.0=_N3QueryToDroolsQuery.translate(): droolsSource:\n{0} +n3querytodroolsquery.translate.errors.in.n3querytodroolsquery.translation=_N3QueryToDroolsQuery.translate(): errors in N3QueryToDroolsQuery translation +evt.0=_EVT>>> {0} +nn3sourcetodrools.translate.parsing.took.0.ms=_\nN3SourcetoDrools.translate(): parsing took {0} ms. +rule.count.0=_// rule Count {0} +fact.count.0=_// fact Count {0} +drools.compile.0.1.ms.n=_// drools Compile {0} : {1} ms\n +directory.0.created=_Directory: {0} created +object2rule.added.to.workingmemory=_object2rule added to workingMemory +workingmemory.getrulebase.getpackages=_workingMemory.getRuleBase().getPackages(): +fireallrules.last.n3.source.0=_//=_=_=_=_ fireAllRules =_=_=_=_ last N3 Source: {0} +result.triples.0=_result Triples: {0} +drools.results=_Drools results +there.are.0.objects.in.workingmemory=_There are {0} objects in workingMemory. +removed.0.facts=_, removed {0} facts. +removerulepackage.no.facts.corresponding.to.0=_removeRulePackage(): no facts corresponding to {0} +retracted.0.objects.in.workingmemory.from.a.total.of.1.so.remains.2.objects=_Retracted {0} objects in workingMemory, from a total of {1}. So remains {2} objects. +compilation.of.0.is.uptodate=_Compilation of {0} is uptodate. +n3todroolsupdater.gettimestamp.uri.0.force.drools.compilation=_N3toDroolsUpdater.getTimeStamp(): uri_: {0} : force Drools compilation +compilation.of.query.0.is.uptodate=_Compilation of Query {0} is uptodate. +project.getworkingmemory.0=_project.getWorkingMemory(): {0} +result.n.01=_result:\n{0} +redefer.configuration.resource.not.found.0=_ReDeFer configuration resource not found, {0} +added.fieldbehavior.n.with.property.id.0=_Added FieldBehavior \n with property Id {0} +java.instanciator.no.result.available=_Java instanciator: No result available +njavascript.instantiation.0.instances.1.property.instances.2.method.calls=_\nJavaScript instantiation: {0} instances, {1} property instances, {2} method calls. +objectbehavior.actionperformed.0=_ObjectBehavior.actionPerformed {0} +addbehaviortogeneratedframe.0=_addBehaviorToGeneratedFrame(): {0} +tripleloadstore.load.0.triples.1.size.before=_TripleLoadStore.load(): {0} triples. {1} size before. +createid.0=_createId: {0} +the.document.0.has.been.edited.you.must.save.it.first=_The document \"{0}\" has been edited, you must save it first. +document.uri.n3.file.name.output.directory=_ <document uri> <n3 file name> <output directory> +projectchangesupport.addprojectlistener.added.listener.0=_ProjectChangeSupport.addProjectListener(): added listener {0} +testreasonning.teardown.window.disposing.0.windows=_TestReasonning.tearDown(): window disposing {0} windows. +testsimplifieduri.testsetfilename.0=_TestSimplifiedURI.testSetFileName(): {0} +testsimplifieduri.testrelativepathwithdot.0=_TestSimplifiedURI.testRelativePathWithDot(): {0} +testsimplifieduri.testfilenamewithdot.0=_TestSimplifiedURI.testFileNameWithDot(): {0} +triplestoredrools.store.exceptionoccured.0=_TripleStoreDrools.store(): exceptionOccured: {0} +updatetriple.0.newvalue.1=_updateTriple({0}, newValue=_{1} ) +file=_File +open.project=_Open Project +open.project.from.url=_Open Project from URL +save.project=_Save Project +save.project.as=_Save Project as ... +new.project=_New Project +exit=_Exit ... +new.window=_New Window ... +import.project=_Import Project ... +import.project.from.url=_Import Project from URL ... +add.project.as.post.processing=_Add Project as post-processing ... +export.as.drools=_Export as Drools +export.as.xml=_Export as XML +export.as.rdf=_Export as RDF +active=_active +click.to.open.n3.source.converted.from.other.format.if.necessary=_click to open N3 source (converted from other format if necessary) +html.query.font.color.000099.u.0.u.font.html=<HTML>_Query: <FONT color=_\"#000099\"><U>{0}</U></FONT></HTML> +html.font.color.000099.u.0.u.font.html=<HTML>_<FONT color=_\"#000099\"><U>{0}</U></FONT></HTML> +activated=_activated +graph=_GRAPH +parse.error.see.error.panel=_PARSE ERROR (see error panel). +parse=_PARSEE +run.drools=_Run Drools +add.n3=_Add N3 +add.n3.source=_Add N3 source +add.n3.url=_Add N3 URL +add.n3.rdf.uml.ecore.plain.xml.source.from.url=_Add N3, RDF, UML, eCore, plain XML source from URL +action.0.performed=_# Action [{0}] performed! +n3.query=_N3 query +n3.search=_N3 search +run.n3.queries=_Run N3 queries +add.rdf=_Add RDF +add.rdf.or.owl.source=_Add RDF or OWL source +add.source=_Add source +add.plain.xml.or.xsd.using.gloze=_Add plain XML or XSD using Gloze +html.add.plain.xml.source.using.gloze.br.converted.as.rdf.or.xml.schema.converted.as.owl.html=<HTML>_Add plain XML source using Gloze<br>(converted as RDF), or XML Schema (converted as OWL)</html> +add.plain.xml.or.xsd.using.redefer=_Add plain XML or XSD using ReDeFer +html.add.plain.xml.source.using.redefer.br.converted.as.rdf.or.xml.schema.converted.as.owl.html=<HTML>_Add plain XML source using ReDeFer<br>(converted as RDF), or XML Schema (converted as OWL)</html +run.n3.queries.euler=_Run N3 queries - Euler +run.n3.queries.euler.yap.through.codd.local.server=_Run N3 queries - Euler + Yap through Codd local server +run.n3.queries.euler.yap=_Run N3 queries - Euler + Yap +run.cwm=_Run CWM +run.fuxi=_Run Fuxi +add.query.to.sparql.service=_Add query to SPARQL Service +html.add.query.to.sparql.service.html=<HTML>_Add query to SPARQL Service</html +toggle.erase.panel.mode=_Toggle Erase panel mode +error.messages=_Error messages +keep.old.results.in.pane=_Keep old results in pane +error.at.line.0=_(Error at line {0}) +clear.result.pane.before.run=_Clear result pane before run +view=_View +launch.generated.app=_Launch generated app. +javascript.console.unactivated=_JavaScript console unActivated +javascript.console.and.java.instantiations.refresh.activated=_JavaScript console and Java instantiations refresh Activated +tools.launch.generated.app=_Tools|Launch generated app. +javascript.console.old.architecture=_JavaScript console - OLD ARCHITECTURE +tools.launch.owl.reasoner=_Tools|Launch OWL Reasoner. +add.xmi.uml.etc=_Add XMI(UML,etc) +add.xmi.uml.ecore.uml.textual.etc.source=_Add XMI (UML, eCore, UML Textual, etc) source +launch.owl.reasoner=_Launch OWL Reasoner. +owl.reasoner.classify=_OWL Reasoner (classify) +documentation=_Documentation +help=_Help +tools=_Tools +about=_About +euler.args=_Euler args +cwm.args=_CWM args +html.proof.br.explanation.html=<HTML>_proof <br>explanation</html> +n3.project=_N3 Project: +enter.an.url=_Enter an URL +orig=_ORIG. +original.0.before.conversion.into.n3=_original \"{0}\" before conversion into N3 +remove.this.source.from.project=_remove this source from project +drop.or.paste.here.n3.or.rdf.file.or.url=_drop or paste here N3 or RDF File or URL \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-24 17:48:12
|
Revision: 1352 http://eulergui.svn.sourceforge.net/eulergui/?rev=1352&view=rev Author: iamlolive Date: 2010-03-24 17:48:06 +0000 (Wed, 24 Mar 2010) Log Message: ----------- removed some debug features (a - at the end of each localized string) Modified Paths: -------------- trunk/eulergui/src/main/java/n3_project/helpers/GuiResourceBundle.java Modified: trunk/eulergui/src/main/java/n3_project/helpers/GuiResourceBundle.java =================================================================== --- trunk/eulergui/src/main/java/n3_project/helpers/GuiResourceBundle.java 2010-03-24 17:36:37 UTC (rev 1351) +++ trunk/eulergui/src/main/java/n3_project/helpers/GuiResourceBundle.java 2010-03-24 17:48:06 UTC (rev 1352) @@ -14,10 +14,10 @@ public static String getString(String s) { - if(getBundle().containsKey(s)) - return getBundle().getString(s)+" - "; - else - return getBundle().getString(s)+" ! "; +// if(getBundle().containsKey(s)) +// return getBundle().getString(s)+" - "; +// else + return getBundle().getString(s); } public static ResourceBundle getBundle(){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-24 17:36:43
|
Revision: 1351 http://eulergui.svn.sourceforge.net/eulergui/?rev=1351&view=rev Author: iamlolive Date: 2010-03-24 17:36:37 +0000 (Wed, 24 Mar 2010) Log Message: ----------- global locale management Added Paths: ----------- trunk/eulergui/src/main/java/n3_project/helpers/GlobalLocale.java Added: trunk/eulergui/src/main/java/n3_project/helpers/GlobalLocale.java =================================================================== --- trunk/eulergui/src/main/java/n3_project/helpers/GlobalLocale.java (rev 0) +++ trunk/eulergui/src/main/java/n3_project/helpers/GlobalLocale.java 2010-03-24 17:36:37 UTC (rev 1351) @@ -0,0 +1,23 @@ +package n3_project.helpers; + +import java.util.Locale; + +/** + * Created by IntelliJ IDEA. + * User: lolive + * Date: 23 mars 2010 + * Time: 17:29:51 + * To change this template use File | Settings | File Templates. + */ +public class GlobalLocale { + public static Locale currentLocale = Locale.ENGLISH; + public static Locale getLocale(){ + return currentLocale; + } + + public static void setLocale(Locale l){ + currentLocale = l; + } + + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-24 17:28:00
|
Revision: 1350 http://eulergui.svn.sourceforge.net/eulergui/?rev=1350&view=rev Author: iamlolive Date: 2010-03-24 17:27:49 +0000 (Wed, 24 Mar 2010) Log Message: ----------- first rush of i18n commits. Modified Paths: -------------- trunk/eulergui/src/main/java/com/hp/gloze/BeanLoader.java trunk/eulergui/src/main/java/com/hp/gloze/Gloze.java trunk/eulergui/src/main/java/com/hp/gloze/www_w3_org_2001_XMLSchema/attribute.java trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/ModelCom.java trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/RDFListImpl.java trunk/eulergui/src/main/java/deductions/Namespaces.java trunk/eulergui/src/main/java/deductions/launcher/LaunchGeneratedAction.java trunk/eulergui/src/main/java/deductions/runtime/GUIKBAdapter.java trunk/eulergui/src/main/java/deductions/runtime/ObjectProperties2N3.java trunk/eulergui/src/main/java/euler/N3CheckPatternTripleHandler.java trunk/eulergui/src/main/java/euler/N3PrintingTripleHandler.java trunk/eulergui/src/main/java/euler/RDFIterator.java trunk/eulergui/src/main/java/euler/TripleHandler.java trunk/eulergui/src/main/java/eulergui/drools_engine/ParserLink.java trunk/eulergui/src/main/java/eulergui/drools_engine/StatementHelper.java trunk/eulergui/src/main/java/eulergui/drools_engine/StatementListHelper.java trunk/eulergui/src/main/java/eulergui/export/RDFModelNavigation.java trunk/eulergui/src/main/java/eulergui/export/XMLExport.java trunk/eulergui/src/main/java/eulergui/gui/actions/Save.java trunk/eulergui/src/main/java/eulergui/gui/actions/SaveAs.java trunk/eulergui/src/main/java/eulergui/gui/actions/Statistics.java trunk/eulergui/src/main/java/eulergui/gui/controller/ApplicationKB.java trunk/eulergui/src/main/java/eulergui/gui/view/ButtonsForN3Source.java trunk/eulergui/src/main/java/eulergui/gui/view/QueryView.java trunk/eulergui/src/main/java/eulergui/gui/view/TextEditor.java trunk/eulergui/src/main/java/eulergui/inputs/ExtractXMLNamespacesContentHandler.java trunk/eulergui/src/main/java/eulergui/inputs/N3Converter.java trunk/eulergui/src/main/java/eulergui/inputs/N3SourceFromOtherFormat.java trunk/eulergui/src/main/java/eulergui/inputs/N3SourceFromPlainXML.java trunk/eulergui/src/main/java/eulergui/inputs/N3SourceFromSPARQLSource.java trunk/eulergui/src/main/java/eulergui/inputs/N3SourceFromXMI.java trunk/eulergui/src/main/java/eulergui/inputs/N3SourceFromXML_Gloze.java trunk/eulergui/src/main/java/eulergui/inputs/N3SourceFromXSD.java trunk/eulergui/src/main/java/eulergui/inputs/UMLTToN3Converter.java trunk/eulergui/src/main/java/eulergui/inputs/XMIToN3Converter.java trunk/eulergui/src/main/java/eulergui/inputs/dispatcher/FormatRecognizer.java trunk/eulergui/src/main/java/eulergui/n3model/impl/FormulaImpl.java trunk/eulergui/src/main/java/eulergui/n3model/impl/FormulaMutableImpl.java trunk/eulergui/src/main/java/eulergui/n3model/impl/LiteralImpl.java trunk/eulergui/src/main/java/eulergui/n3model/impl/N3ModelMutableImpl.java trunk/eulergui/src/main/java/eulergui/n3model/impl/StringUriType.java trunk/eulergui/src/main/java/eulergui/n3model/impl/URIImpl.java trunk/eulergui/src/main/java/eulergui/n3model/impl/VariableImpl.java trunk/eulergui/src/main/java/eulergui/n3model/service/factory/URIFactory.java trunk/eulergui/src/main/java/eulergui/n3model/service/util/N3ModelToStringUtil.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/entity/N3ParseResult.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/entity/data/PropertyListData.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/entity/data/StatementData.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/entity/data/UriValueData.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/entity/session/BaseUri.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/entity/session/N3ParserSession.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/entity/session/PrefixMap.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/MainN3FileParser.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/N3Parser.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/AbstractMatchMatchBarName.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/AbstractMatchStringConcat.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/AbstractMatchVerbShortland.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/Match2StringValueConcat.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/Match3StringValueConcat.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchBase.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchDecimal.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchDouble.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchEmptyObjectList.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchEmptyPathList.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchEmptyStatementList.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchEmptyStringValue.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchExplicitUri.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchInteger.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchKeyWord.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchObject.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchObjectList.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchObjectList1.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchObjectList2.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchPathExpression.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchPrefix.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchPropertyList.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchQName.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchQuickVariable.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchRevPathExpression.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchSimpleStatement.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchSquareBracket.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchStatementList.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchStatementOptional.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchString.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchSubject.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchTypeUri.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchUniversal.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchVerbImplies.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchVerbRevertImplies.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchVerbSameAs.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/MatchVerbType.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchAntiSlashCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchBackspaceCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchCariageReturnCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchChar.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchDoubleCoteCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchExplicitUri.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchFormfeedCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchInteger.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchNewLineCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchNullCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchQName.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchSimpleCoteCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchString.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchTabCharacter.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchUnicode16.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchUnicode32.java trunk/eulergui/src/main/java/eulergui/parser/n3/impl/parser4j/service/match/_MatchVTabCharacter.java trunk/eulergui/src/main/java/eulergui/project/N3Source.java trunk/eulergui/src/main/java/eulergui/project/Project.java trunk/eulergui/src/main/java/eulergui/project/ProjectChangeSupport.java trunk/eulergui/src/main/java/eulergui/project/ProjectSequence.java trunk/eulergui/src/main/java/eulergui/project/ProjectWithSubProjects.java trunk/eulergui/src/main/java/eulergui/tools/ClassTree.java trunk/eulergui/src/main/java/eulergui/tools/LaunchOWLReasonerAction.java trunk/eulergui/src/main/java/eulergui/util/ReaderUtils.java trunk/eulergui/src/main/java/n3_project/ConsoleFrame.java trunk/eulergui/src/main/java/n3_project/DropURLTranferHandler.java trunk/eulergui/src/main/java/n3_project/EditorManagement.java trunk/eulergui/src/main/java/n3_project/HelpMenu.java trunk/eulergui/src/main/java/n3_project/JSAction.java trunk/eulergui/src/main/java/n3_project/LocalAction.java trunk/eulergui/src/main/java/n3_project/N3SourceFromRDF.java trunk/eulergui/src/main/java/n3_project/ProjectFileManagement.java trunk/eulergui/src/main/java/n3_project/ProjectGUI.java trunk/eulergui/src/main/java/n3_project/ResultEditorN3Action.java trunk/eulergui/src/main/java/n3_project/ResultEditorXMLAction.java trunk/eulergui/src/main/java/n3_project/ResultManagement.java trunk/eulergui/src/main/java/n3_project/RunAction.java trunk/eulergui/src/main/java/n3_project/RunActionCodd.java trunk/eulergui/src/main/java/n3_project/RunActionYap.java trunk/eulergui/src/main/java/n3_project/RunCWMAction.java trunk/eulergui/src/main/java/n3_project/RunDroolsAction.java trunk/eulergui/src/main/java/n3_project/RunFuxiAction.java trunk/eulergui/src/main/java/n3_project/RunOptionsManagement.java trunk/eulergui/src/main/java/n3_project/SPARQLServiceInputAction.java trunk/eulergui/src/main/java/n3_project/ShowVersion.java trunk/eulergui/src/main/java/n3_project/SourceFactory.java trunk/eulergui/src/main/java/n3_project/SourceFilesManagement.java trunk/eulergui/src/main/java/n3_project/SourceFilesView.java trunk/eulergui/src/main/java/n3_project/SubProjectsManagement.java trunk/eulergui/src/main/java/n3_project/ToolsManagement.java trunk/eulergui/src/main/java/n3_project/XMLInputAction.java trunk/eulergui/src/main/java/n3_project/XmiInputAction.java trunk/eulergui/src/main/java/n3_project/exceptions/parser/ParsingException.java trunk/eulergui/src/main/java/n3_project/helpers/AbstractTripleHandler.java trunk/eulergui/src/main/java/n3_project/helpers/CRUD_builtins.java trunk/eulergui/src/main/java/n3_project/helpers/DroolsFactsLoadStore.java trunk/eulergui/src/main/java/n3_project/helpers/DroolsQueryTripleHandler.java trunk/eulergui/src/main/java/n3_project/helpers/DroolsRunExportedProject.java trunk/eulergui/src/main/java/n3_project/helpers/DroolsTest.java trunk/eulergui/src/main/java/n3_project/helpers/DroolsTripleHandler.java trunk/eulergui/src/main/java/n3_project/helpers/JavaScriptConsole.java trunk/eulergui/src/main/java/n3_project/helpers/N3QueryToDroolsQuery.java trunk/eulergui/src/main/java/n3_project/helpers/N3SourcetoDrools.java trunk/eulergui/src/main/java/n3_project/helpers/N3toDroolsUpdater.java trunk/eulergui/src/main/java/n3_project/helpers/N3toGraphviz.java trunk/eulergui/src/main/java/n3_project/helpers/SimplifiedURI.java trunk/eulergui/src/main/java/n3_project/helpers/TextFieldWithLabel.java trunk/eulergui/src/main/java/n3_project/helpers/Triple.java trunk/eulergui/src/main/java/n3_project/helpers/TripleUserObjectFilter.java trunk/eulergui/src/main/java/n3_project/rdfcatOutStream.java trunk/eulergui/src/main/java/net/rhizomik/redefer/XML2RDFMapper.java trunk/eulergui/src/main/java/net/rhizomik/redefer/XSD2OWLMapper.java trunk/eulergui/src/main/java/net/sf/parser4j/parser/entity/ParseResult.java trunk/eulergui/src/main/java/unif/FieldBehavior.java trunk/eulergui/src/main/java/unif/GUIHelper.java trunk/eulergui/src/main/java/unif/ITripleStore.java trunk/eulergui/src/main/java/unif/ITripleStoreRETE.java trunk/eulergui/src/main/java/unif/Instanciator.java trunk/eulergui/src/main/java/unif/ObjectBehavior.java trunk/eulergui/src/main/java/unif/ObjectTripleHandler.java trunk/eulergui/src/main/java/unif/TemporaryFrame.java trunk/eulergui/src/main/java/unif/TripleLoadStore.java trunk/eulergui/src/main/java/unif/TripleStoreDrools.java trunk/eulergui/src/main/parser4j/java/eulergui/parser/n3/impl/parser4j/gen/MainGenerateParserDataForN3.java trunk/eulergui/src/main/parser4j/java/eulergui/parser/umlt/gen/MainGenerateParserDataForUMLT.java trunk/eulergui/src/test/java/deductions/runtime/TestRulesForUserEvents.java trunk/eulergui/src/test/java/eulergui/drools_engine/RETETest.java trunk/eulergui/src/test/java/eulergui/drools_engine/TestParserLink.java trunk/eulergui/src/test/java/eulergui/gui/ActionNAMEComponentChooser.java trunk/eulergui/src/test/java/eulergui/gui/GetTextComponentChooser.java trunk/eulergui/src/test/java/eulergui/gui/TestEulerGUIInputs.java trunk/eulergui/src/test/java/eulergui/gui/TestEulerGUIOutputs.java trunk/eulergui/src/test/java/eulergui/gui/TestGenericGuiGeneration.java trunk/eulergui/src/test/java/eulergui/gui/TestJavaEditor.java trunk/eulergui/src/test/java/eulergui/gui/TestJemmy.java trunk/eulergui/src/test/java/eulergui/gui/TestN3Source.java trunk/eulergui/src/test/java/eulergui/inputs/TestGloze.java trunk/eulergui/src/test/java/eulergui/inputs/TestUMLTToN3Converter.java trunk/eulergui/src/test/java/eulergui/parser/n3/impl/parser4j/entity/session/TestBaseUri.java trunk/eulergui/src/test/java/eulergui/parser/n3/impl/parser4j/service/NetParserFileReaderFactory.java trunk/eulergui/src/test/java/eulergui/parser/n3/impl/parser4j/service/TestForJos.java trunk/eulergui/src/test/java/eulergui/parser/n3/impl/parser4j/service/TestN3FileParser.java trunk/eulergui/src/test/java/eulergui/parser/n3/impl/parser4j/service/bugs/TestBadUri.java trunk/eulergui/src/test/java/eulergui/parser/n3/impl/parser4j/service/bugs/TestMissingPrefix.java trunk/eulergui/src/test/java/eulergui/parser/n3/impl/parser4j/service/bugs/TestN3ForBugs.java trunk/eulergui/src/test/java/eulergui/project/TestN3Source.java trunk/eulergui/src/test/java/eulergui/rdf/RDFIteratorInMemory.java trunk/eulergui/src/test/java/eulergui/rdf/TripleStoreSimple.java trunk/eulergui/src/test/java/n3_project/RandomGraphMaker.java trunk/eulergui/src/test/java/n3_project/StressTestReasoning.java trunk/eulergui/src/test/java/n3_project/TestProject.java trunk/eulergui/src/test/java/n3_project/TestProjectSequence.java trunk/eulergui/src/test/java/n3_project/TestReasonning.java trunk/eulergui/src/test/java/n3_project/helpers/TestDroolsQuery.java trunk/eulergui/src/test/java/n3_project/helpers/TestSimplifiedURI.java trunk/eulergui/src/test/java/unif/InstanciatorTest.java trunk/eulergui/test/errors-in-editor.n3 Added Paths: ----------- trunk/eulergui/src/main/java/n3_project/helpers/GuiResourceBundle.java trunk/eulergui/src/main/java/n3_project/helpers/MyResourceBundle.java trunk/eulergui/src/main/resources/eulergui_en.properties trunk/eulergui/src/main/resources/eulergui_fr.properties Modified: trunk/eulergui/src/main/java/com/hp/gloze/BeanLoader.java =================================================================== --- trunk/eulergui/src/main/java/com/hp/gloze/BeanLoader.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/com/hp/gloze/BeanLoader.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -31,13 +31,13 @@ package com.hp.gloze; +import org.w3c.dom.Node; + import java.io.File; import java.io.IOException; import java.net.URL; import java.util.HashMap; -import org.w3c.dom.Node; - public class BeanLoader { private static final String APPINFO = "http://www.w3.org/2001/XMLSchema#appinfo"; Modified: trunk/eulergui/src/main/java/com/hp/gloze/Gloze.java =================================================================== --- trunk/eulergui/src/main/java/com/hp/gloze/Gloze.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/com/hp/gloze/Gloze.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -32,51 +32,30 @@ package com.hp.gloze; -import java.io.BufferedReader; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.FileWriter; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.PrintWriter; -import java.net.ConnectException; -import java.net.URI; -import java.net.URISyntaxException; -import java.net.URL; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Hashtable; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.StringTokenizer; - -import org.apache.log4j.Level; -import org.apache.log4j.Logger; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; - import com.hp.gloze.www_w3_org_2001_XMLSchema.element; import com.hp.gloze.www_w3_org_2001_XMLSchema.schema; import com.hp.hpl.jena.ontology.OntModel; -import com.hp.hpl.jena.rdf.model.Model; -import com.hp.hpl.jena.rdf.model.ModelFactory; -import com.hp.hpl.jena.rdf.model.Property; -import com.hp.hpl.jena.rdf.model.RDFWriter; -import com.hp.hpl.jena.rdf.model.Resource; -import com.hp.hpl.jena.rdf.model.Statement; -import com.hp.hpl.jena.rdf.model.StmtIterator; +import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.reasoner.rulesys.GenericRuleReasoner; import com.hp.hpl.jena.reasoner.rulesys.Rule; import com.hp.hpl.jena.vocabulary.RDF; - import eulergui.export.RDFModelNavigation; import eulergui.export.XMLSchemaCatalog; +import n3_project.helpers.MyResourceBundle; +import org.apache.log4j.Level; +import org.apache.log4j.Logger; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.NamedNodeMap; +import org.w3c.dom.Node; +import java.io.*; +import java.net.ConnectException; +import java.net.URI; +import java.net.URISyntaxException; +import java.net.URL; +import java.util.*; + /** * The programmatic interface for Gloze. */ @@ -470,7 +449,7 @@ while (i.hasNext()) { Statement s = i.nextStatement(); // Gloze.logger.debug( s ); - System.out.println(s); + Logger.getLogger("theDefault").info(s); } } if( rootPredicate != null ) { @@ -1055,28 +1034,28 @@ private static void help() { - System.out.println("Usage: java [-options] com.hp.gloze.Gloze xmlfile (namespaceURI schemaURL)* [nonamespaceschemaURL]"); - System.out.println("or java [-options] com.hp.gloze.Gloze rdffile (namespaceURI schemaURL)* [nonamespaceschemaURL]"); - System.out.println("or java [-options] com.hp.gloze.Gloze xsdfile"); - System.out.println(); - System.out.println("options:"); - System.out.println("-Dgloze.order=no|seq disable/enables ordering (default=no)"); - System.out.println("-Dgloze.space=default|preserve whitespace handling (default=default)"); - System.out.println("-Dgloze.base=URI base URI (default=target or source URL)"); - System.out.println("-Dgloze.xmlns=URI default namespace for unqualified components (default=schema URL)"); - System.out.println("-Dgloze.element=SYMBOL symbolic prefix for elements (default='')"); - System.out.println("-Dgloze.fixed=true|false add fixed attributes in drop (default=false)"); - System.out.println("-Dgloze.attribute=SYMBOL symbolic prefix for attributes (default='')"); - System.out.println("-Dgloze.lang=N3|RDF/XML|RDF/XML-ABBREV RDF format (default='RDF/XML-ABBREV')"); - System.out.println("-Dgloze.target=file output directory or file (default=none)"); - System.out.println("-Dgloze.verbose=true|false direct output to console (default=false)"); - System.out.println("-Dgloze.roundtrip=true|false combined lift/drop for testing (default=false)"); - System.out.println("-Dgloze.schemaLocation=URI|dir schema location attribution (default=none)"); - System.out.println("-Dgloze.closed=true|false close global definitions for OWL mapping (default=true)"); - System.out.println("-Dgloze.class=subClassOf|intersectionOf class definition style (default=subClassOf)"); - System.out.println("-Dgloze.report=true|false report defined URIs (default=false)"); - System.out.println("-Dgloze.trace=true|false trace rules (default=false)"); - System.out.println("-Dgloze.overwrite=true|false overwrite existing owl files (default=true)"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("usage.tjava.options.com.hp.gloze.gloze.xmlfile.namespaceuri.schemaurl.nonamespaceschemaurl")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("or.tjava.options.com.hp.gloze.gloze.rdffile.namespaceuri.schemaurl.nonamespaceschemaurl")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("or.tjava.options.com.hp.gloze.gloze.xsdfile")); + Logger.getLogger("theDefault").info(""); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("options")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.order.no.seq.t.t.tdisable.enables.ordering.default.no")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.space.default.preserve.t.twhitespace.handling.default.default")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.base.uri.t.t.tbase.uri.default.target.or.source.url")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.xmlns.uri.t.t.tdefault.namespace.for.unqualified.components.default.schema.url")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.element.symbol.t.t.tsymbolic.prefix.for.elements.default")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.fixed.true.false.t.tadd.fixed.attributes.in.drop.default.false")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.attribute.symbol.t.tsymbolic.prefix.for.attributes.default")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.lang.n3.rdf.xml.rdf.xml.abbrev.trdf.format.default.rdf.xml.abbrev")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.target.file.t.t.toutput.directory.or.file.default.none")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.verbose.true.false.t.tdirect.output.to.console.default.false")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.roundtrip.true.false.t.tcombined.lift.drop.for.testing.default.false")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.schemalocation.uri.dir.t.tschema.location.attribution.default.none")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.closed.true.false.t.tclose.global.definitions.for.owl.mapping.default.true")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.class.subclassof.intersectionof.tclass.definition.style.default.subclassof")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.report.true.false.t.treport.defined.uris.default.false")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.trace.true.false.t.ttrace.rules.default.false")); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("dgloze.overwrite.true.false.t.toverwrite.existing.owl.files.default.true")); } /** assign Options From System Properties */ Modified: trunk/eulergui/src/main/java/com/hp/gloze/www_w3_org_2001_XMLSchema/attribute.java =================================================================== --- trunk/eulergui/src/main/java/com/hp/gloze/www_w3_org_2001_XMLSchema/attribute.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/com/hp/gloze/www_w3_org_2001_XMLSchema/attribute.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -31,33 +31,24 @@ package com.hp.gloze.www_w3_org_2001_XMLSchema; -import java.beans.IntrospectionException; -import java.net.URI; -import java.util.HashSet; -import java.util.Set; - -import org.w3c.dom.Attr; -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import com.hp.gloze.Content; -import com.hp.gloze.Context; -import com.hp.gloze.Gloze; -import com.hp.gloze.Restrictions; -import com.hp.gloze.XMLBean; +import com.hp.gloze.*; import com.hp.gloze.www_eclipse_org_emf_2002_Ecore.Ecore; import com.hp.hpl.jena.ontology.OntModel; import com.hp.hpl.jena.ontology.OntProperty; -import com.hp.hpl.jena.ontology.impl.UnionClassImpl; -import com.hp.hpl.jena.rdf.model.Model; -import com.hp.hpl.jena.rdf.model.Property; -import com.hp.hpl.jena.rdf.model.RDFList; -import com.hp.hpl.jena.rdf.model.RDFNode; -import com.hp.hpl.jena.rdf.model.Resource; -import com.hp.hpl.jena.rdf.model.Statement; +import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.vocabulary.RDF; import com.hp.hpl.jena.vocabulary.XSD; +import n3_project.helpers.MyResourceBundle; +import org.w3c.dom.Attr; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import java.beans.IntrospectionException; +import java.net.URI; +import java.text.MessageFormat; +import java.util.HashSet; +import java.util.Set; + /*! \page attribute attribute Attributes map to RDF properties. An instance of an attribute maps to an RDF statement. @@ -215,7 +206,7 @@ b = ctx.getComplexType(uri); if (b==null) b = ctx.getSimpleType(uri); if (b!=null) ctx.putType(this,b); - else Gloze.logger.warn("no such type: "+type); + else Gloze.logger.warn(MessageFormat.format(MyResourceBundle.getString("no.such.type.0"), type)); } } return b; @@ -337,7 +328,7 @@ e.setAttribute(def.getName(), new URI(subject.getURI()).getFragment()); } else if (getUse().equals("required")) - Gloze.logger.warn("missing required ID "+getName()); + Gloze.logger.warn(MessageFormat.format(MyResourceBundle.getString("missing.required.id.0"), getName())); return; } } Modified: trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/ModelCom.java =================================================================== --- trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/ModelCom.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/ModelCom.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -6,20 +6,24 @@ package com.hp.hpl.jena.rdf.model.impl; +import com.hp.hpl.jena.datatypes.DatatypeFormatException; +import com.hp.hpl.jena.datatypes.RDFDatatype; +import com.hp.hpl.jena.datatypes.TypeMapper; +import com.hp.hpl.jena.datatypes.xsd.XSDDatatype; +import com.hp.hpl.jena.datatypes.xsd.XSDDateTime; +import com.hp.hpl.jena.enhanced.BuiltinPersonalities; +import com.hp.hpl.jena.enhanced.EnhGraph; +import com.hp.hpl.jena.enhanced.Personality; +import com.hp.hpl.jena.graph.*; +import com.hp.hpl.jena.graph.impl.LiteralLabel; +import com.hp.hpl.jena.graph.impl.LiteralLabelFactory; +import com.hp.hpl.jena.graph.query.QueryHandler; import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.shared.*; -import com.hp.hpl.jena.shared.impl.*; -import com.hp.hpl.jena.graph.*; -import com.hp.hpl.jena.graph.impl.*; -import com.hp.hpl.jena.graph.query.*; - +import com.hp.hpl.jena.shared.impl.PrefixMappingImpl; import com.hp.hpl.jena.util.CollectionFactory; import com.hp.hpl.jena.util.iterator.*; import com.hp.hpl.jena.vocabulary.RDF; -import com.hp.hpl.jena.datatypes.*; -import com.hp.hpl.jena.datatypes.xsd.XSDDatatype; -import com.hp.hpl.jena.datatypes.xsd.XSDDateTime; -import com.hp.hpl.jena.enhanced.*; import java.io.*; import java.net.URL; Modified: trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/RDFListImpl.java =================================================================== --- trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/RDFListImpl.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/com/hp/hpl/jena/rdf/model/impl/RDFListImpl.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -30,20 +30,26 @@ // Imports /////////////// -import com.hp.hpl.jena.ontology.*; + +import com.hp.hpl.jena.enhanced.EnhGraph; +import com.hp.hpl.jena.enhanced.EnhNode; +import com.hp.hpl.jena.enhanced.Implementation; +import com.hp.hpl.jena.graph.Graph; +import com.hp.hpl.jena.graph.Node; +import com.hp.hpl.jena.ontology.OntModel; +import com.hp.hpl.jena.ontology.Profile; import com.hp.hpl.jena.rdf.model.*; -import com.hp.hpl.jena.shared.*; -import com.hp.hpl.jena.util.iterator.*; -import com.hp.hpl.jena.enhanced.*; -import com.hp.hpl.jena.graph.*; -import com.hp.hpl.jena.vocabulary.*; +import com.hp.hpl.jena.shared.JenaException; +import com.hp.hpl.jena.util.iterator.ExtendedIterator; +import com.hp.hpl.jena.util.iterator.Map1; +import com.hp.hpl.jena.util.iterator.NiceIterator; +import com.hp.hpl.jena.vocabulary.RDF; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import java.util.*; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - /** * <p> * Standard implementation the list abstraction from rdf.model. Modified: trunk/eulergui/src/main/java/deductions/Namespaces.java =================================================================== --- trunk/eulergui/src/main/java/deductions/Namespaces.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/deductions/Namespaces.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,10 +1,10 @@ package deductions; +import n3_project.helpers.Triple; + import java.util.LinkedHashMap; import java.util.Map; -import n3_project.helpers.Triple; - public class Namespaces { public static final Map<String, String> prefixToId Modified: trunk/eulergui/src/main/java/deductions/launcher/LaunchGeneratedAction.java =================================================================== --- trunk/eulergui/src/main/java/deductions/launcher/LaunchGeneratedAction.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/deductions/launcher/LaunchGeneratedAction.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -3,22 +3,19 @@ */ package deductions.launcher; -import java.awt.event.ActionEvent; - -import javax.script.ScriptEngine; -import javax.swing.Action; -import javax.swing.JFrame; - import deductions.runtime.GUIKBAdapter; import eulergui.project.Project; - +import n3_project.LocalAction; +import n3_project.ToolsManagement; +import n3_project.helpers.GuiResourceBundle; import unif.ITripleStore; import unif.ITripleStoreRETE; import unif.Instanciator; import unif.TripleStoreDrools; -import n3_project.ToolsManagement; -import n3_project.LocalAction; +import javax.script.ScriptEngine; +import javax.swing.*; +import java.awt.event.ActionEvent; /** user Action to Launch generated application * (new architecture) */ @@ -34,10 +31,10 @@ /** user Action to Launch Generated application */ public LaunchGeneratedAction(ToolsManagement toolsManagement) { - super("Launch generated app."); + super(GuiResourceBundle.getString("launch.generated.app")); this.toolsManagement = toolsManagement; this.putValue(Action.SHORT_DESCRIPTION, - "JavaScript console unActivated"); + GuiResourceBundle.getString("javascript.console.unactivated")); } @Override @@ -46,9 +43,9 @@ this.toolsManagement.setInstantiationActivated(!this.toolsManagement.isInstantiationActivated()); String tooltipText; if (this.toolsManagement.isInstantiationActivated()) - tooltipText = "JavaScript console and Java instantiations refresh Activated"; + tooltipText = GuiResourceBundle.getString("javascript.console.and.java.instantiations.refresh.activated"); else - tooltipText = "JavaScript console unActivated"; + tooltipText = GuiResourceBundle.getString("javascript.console.unactivated"); this.putValue(Action.SHORT_DESCRIPTION, tooltipText); javaScriptInstantiationAndDisplay(); Modified: trunk/eulergui/src/main/java/deductions/runtime/GUIKBAdapter.java =================================================================== --- trunk/eulergui/src/main/java/deductions/runtime/GUIKBAdapter.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/deductions/runtime/GUIKBAdapter.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,31 +1,22 @@ package deductions.runtime; -import java.awt.AWTEvent; -import java.awt.Component; -import java.awt.Container; -import java.awt.Font; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.FocusEvent; -import java.awt.event.FocusListener; -import java.awt.event.WindowEvent; -import java.awt.event.WindowListener; -import java.util.Date; -import java.util.List; - -import javax.swing.BorderFactory; -import javax.swing.JComponent; -import javax.swing.JPanel; -import javax.swing.JTextField; -import javax.swing.border.Border; -import javax.swing.border.LineBorder; - import n3_project.helpers.ITriple; +import n3_project.helpers.MyResourceBundle; import n3_project.helpers.Triple; import unif.ITripleStoreRETE; import unif.Instanciator; import unif.TripleStoreDrools; +import javax.swing.*; +import javax.swing.border.Border; +import javax.swing.border.LineBorder; +import java.awt.*; +import java.awt.event.*; +import java.text.MessageFormat; +import java.util.Date; +import java.util.List; +import java.util.logging.Logger; + /** * Forward the relevant GUI events to the KB. This is done via introspection. * There is no decisions made in this Java code, just verbatim forwarding of the @@ -82,7 +73,7 @@ */ @Override public void actionPerformed(ActionEvent e) { - System.out.println("GUIKBAdapter.actionPerformed()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.actionperformed")); forwardGUIEventsToKB(e); } @@ -139,7 +130,7 @@ */ @Override public void focusLost(FocusEvent e) { - System.out.println("GUIKBAdapter.focusLost() " + e ); + Logger.getLogger("theDefault").info(MessageFormat.format(MyResourceBundle.getString("guikbadapter.focuslost.0"), e)) ; forwardGUIEventsToKB(e); } @@ -164,39 +155,39 @@ @Override public void windowOpened(WindowEvent e) { - System.out.println("GUIKBAdapter.windowOpened()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.windowopened")); forwardGUIEventsToKB(e); } @Override public void windowClosing(WindowEvent e) { - System.out.println("GUIKBAdapter.windowClosing()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.windowclosing")); forwardGUIEventsToKB(e); } @Override public void windowActivated(WindowEvent e) { - System.out.println("GUIKBAdapter.windowActivated()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.windowactivated")); } @Override public void windowClosed(WindowEvent e) { - System.out.println("GUIKBAdapter.windowClosed()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.windowclosed")); } @Override public void windowDeactivated(WindowEvent e) { - System.out.println("GUIKBAdapter.windowDeactivated()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.windowdeactivated")); } @Override public void windowDeiconified(WindowEvent e) { - System.out.println("GUIKBAdapter.windowDeiconified()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.windowdeiconified")); } @Override public void windowIconified(WindowEvent e) { - System.out.println("GUIKBAdapter.windowIconified()"); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("guikbadapter.windowiconified")); } ////////////// GUI helpers //////////////////////////// Modified: trunk/eulergui/src/main/java/deductions/runtime/ObjectProperties2N3.java =================================================================== --- trunk/eulergui/src/main/java/deductions/runtime/ObjectProperties2N3.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/deductions/runtime/ObjectProperties2N3.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,5 +1,8 @@ package deductions.runtime; +import deductions.Namespaces; +import n3_project.helpers.Triple; + import java.beans.BeanInfo; import java.beans.IntrospectionException; import java.beans.Introspector; @@ -8,10 +11,6 @@ import java.util.ArrayList; import java.util.List; -import deductions.Namespaces; - -import n3_project.helpers.Triple; - /** * Translate JavaBeans properties into N3 statements. This is done via * introspection. There is no decisions made in this Java code. Modified: trunk/eulergui/src/main/java/euler/N3CheckPatternTripleHandler.java =================================================================== --- trunk/eulergui/src/main/java/euler/N3CheckPatternTripleHandler.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/euler/N3CheckPatternTripleHandler.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,17 +1,16 @@ package euler; -import java.util.List; -import java.util.Set; -import java.util.TreeSet; - import eulergui.drools_engine.StatementHelper; - import n3_project.helpers.DroolsTripleHandler; import n3_project.helpers.ITriple; import n3_project.helpers.N3SourcetoDrools; -import n3_project.helpers.Triple; import n3_project.helpers.N3SourcetoDrools.TripleRole; +import n3_project.helpers.Triple; +import java.util.List; +import java.util.Set; +import java.util.TreeSet; + /** * used for tests; checks presence of all given triple patterns in a whole * (Euler) KB; CAUTION: use only once, as the internal pattern set will be Modified: trunk/eulergui/src/main/java/euler/N3PrintingTripleHandler.java =================================================================== --- trunk/eulergui/src/main/java/euler/N3PrintingTripleHandler.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/euler/N3PrintingTripleHandler.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,9 +1,10 @@ package euler; +import n3_project.helpers.AbstractTripleHandler; + import java.util.List; +import java.util.logging.Logger; -import n3_project.helpers.AbstractTripleHandler; - public class N3PrintingTripleHandler extends AbstractTripleHandler implements TripleHandler { private int tripleCount; @@ -12,14 +13,14 @@ @Override public void acceptTriple(String subject, String verb, String object, String source) { - System.out.println(subject + " " + verb + " " + object + " ."); + Logger.getLogger("theDefault").info(subject + " " + verb + " " + object + " ."); tripleCount ++; } @Override public void acceptList(String subject, String verb, List<String> list, String src) { - System.out.println(subject + " " + verb + " " + list + " ."); + Logger.getLogger("theDefault").info(subject + " " + verb + " " + list + " ."); listTripleCount ++; } Modified: trunk/eulergui/src/main/java/euler/RDFIterator.java =================================================================== --- trunk/eulergui/src/main/java/euler/RDFIterator.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/euler/RDFIterator.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,15 +1,14 @@ package euler; -import java.util.ArrayList; -import java.util.Hashtable; -import java.util.Iterator; -import java.util.List; -import java.util.Set; -import java.util.Map.Entry; - import eulergui.project.N3Source; +import n3_project.helpers.MyResourceBundle; +import java.text.MessageFormat; +import java.util.*; +import java.util.Map.Entry; +import java.util.logging.Logger; + /** * A wrapper around an {@link Euler} object, with an iterator and a visitor See * explanation on the data structure: @@ -93,7 +92,7 @@ public void visitAllURI(TripleHandler handler) { Euler currentEuler = n3Model.near; doVisitAll(handler, currentEuler); - System.out.println("# triple Count: " + tripleCount); + Logger.getLogger("theDefault").info(MessageFormat.format(MyResourceBundle.getString("triple.count.0"), tripleCount)); } /** Modified: trunk/eulergui/src/main/java/euler/TripleHandler.java =================================================================== --- trunk/eulergui/src/main/java/euler/TripleHandler.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/euler/TripleHandler.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,9 +1,9 @@ package euler; +import eulergui.drools_engine.StatementHelper; + import java.util.List; -import eulergui.drools_engine.StatementHelper; - /** * callback interface for processing RDF triples * Modified: trunk/eulergui/src/main/java/eulergui/drools_engine/ParserLink.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/drools_engine/ParserLink.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/drools_engine/ParserLink.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,37 +1,25 @@ package eulergui.drools_engine; -import java.io.*; -import java.net.URI; -import java.net.URL; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Hashtable; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import n3_project.exceptions.parser.ParsingException; -import n3_project.helpers.Triple; -import net.sf.parser4j.parser.service.IParserListener; -import net.sf.parser4j.parser.service.ParserException; -import unif.Instanciator; import euler.IRDFIterator; import euler.TripleHandler; -import eulergui.n3model.EnumN3ModelValueType; -import eulergui.n3model.IBlankNode; -import eulergui.n3model.IFormula; -import eulergui.n3model.ILiteral; -import eulergui.n3model.IN3Model; -import eulergui.n3model.IStatement; -import eulergui.n3model.IURI; -import eulergui.n3model.IValue; -import eulergui.n3model.IVerbResource; +import eulergui.n3model.*; import eulergui.parser.n3.impl.parser4j.entity.N3ParseResult; import eulergui.parser.n3.impl.parser4j.service.N3Parser; import eulergui.project.N3Source; +import n3_project.exceptions.parser.ParsingException; +import n3_project.helpers.MyResourceBundle; +import n3_project.helpers.Triple; +import net.sf.parser4j.parser.service.IParserListener; +import net.sf.parser4j.parser.service.ParserException; +import unif.Instanciator; +import java.io.*; +import java.net.URI; +import java.net.URL; +import java.text.MessageFormat; +import java.util.*; +import java.util.logging.Logger; + /** Link between Parser4J for N3 and classes using the N3 AST * (e.g. Drools N3 engine); * use it by calling first one of the parse() methods, @@ -141,8 +129,7 @@ n3Source.waitForDownloadThread(); model = parse(n3Source); long t1 = System.currentTimeMillis(); - System.out.println("\nParserLink.parseAndUpdateSource(): " + - "parsing took " + (t1-t0) + " ms."); + Logger.getLogger("theDefault").info(MessageFormat.format(MyResourceBundle.getString("nparserlink.parseandupdatesource.parsing.took.0.ms"), t1 - t0)); n3Source.addKnownURIPrefixes(getKnownURIPrefixes()); return model; } @@ -156,7 +143,7 @@ System.out.print(" - " + line); counter++; if( counter % 15 == 0 ) { - System.out.println(); } + Logger.getLogger("theDefault").info(""); } } }); } @@ -218,7 +205,7 @@ IFormula formula0 = (IFormula)list.get(1); IValue findall_result = list.get(2); - System.out.println("ParserLink.processFindall(): detected: " + Logger.getLogger("theDefault").info("ParserLink.processFindall(): detected: " + "variable_or_list " + variable_or_list + ",\n formula0 " + formula0 + ",\n findall_result " + findall_result Modified: trunk/eulergui/src/main/java/eulergui/drools_engine/StatementHelper.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/drools_engine/StatementHelper.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/drools_engine/StatementHelper.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -3,12 +3,12 @@ */ package eulergui.drools_engine; -import java.util.List; - import eulergui.n3model.IFormula; import eulergui.n3model.IStatement; import eulergui.n3model.IValue; +import java.util.List; + public class StatementHelper { IStatement statement; IFormula formula; Modified: trunk/eulergui/src/main/java/eulergui/drools_engine/StatementListHelper.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/drools_engine/StatementListHelper.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/drools_engine/StatementListHelper.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -3,12 +3,12 @@ */ package eulergui.drools_engine; -import java.util.List; - import eulergui.n3model.IFormula; import eulergui.n3model.IStatement; import eulergui.n3model.IValue; +import java.util.List; + public class StatementListHelper { IStatement statement; IFormula formula; Modified: trunk/eulergui/src/main/java/eulergui/export/RDFModelNavigation.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/export/RDFModelNavigation.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/export/RDFModelNavigation.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,14 +1,15 @@ package eulergui.export; +import com.hp.hpl.jena.rdf.model.Model; +import com.hp.hpl.jena.rdf.model.Statement; +import com.hp.hpl.jena.rdf.model.StmtIterator; + import java.net.URI; import java.util.HashSet; import java.util.Set; import java.util.TreeSet; +import java.util.logging.Logger; -import com.hp.hpl.jena.rdf.model.Model; -import com.hp.hpl.jena.rdf.model.Statement; -import com.hp.hpl.jena.rdf.model.StmtIterator; - public class RDFModelNavigation { /** find first Statement whose Predicate has given URI @@ -42,7 +43,7 @@ String predicate = statement.getPredicate().getURI(); if( uriPredicates_.contains(predicate) ) { result.add(statement); - System.out.println( "found Predicate: " + statement ); + Logger.getLogger("theDefault").info( "found Predicate: " + statement ); } } return result; Modified: trunk/eulergui/src/main/java/eulergui/export/XMLExport.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/export/XMLExport.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/export/XMLExport.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,24 +1,25 @@ package eulergui.export; +import com.hp.gloze.Gloze; +import eulergui.project.N3Source; +import eulergui.project.Project; +import n3_project.N3SourceFromRDF; +import n3_project.SourceFactory; +import n3_project.helpers.MyResourceBundle; + import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; +import java.text.MessageFormat; import java.util.Collection; import java.util.Map; +import java.util.Map.Entry; import java.util.Set; import java.util.TreeMap; -import java.util.Map.Entry; +import java.util.logging.Logger; -import n3_project.N3SourceFromRDF; -import n3_project.SourceFactory; - -import com.hp.gloze.Gloze; - -import eulergui.project.N3Source; -import eulergui.project.Project; - /** export all N3 sources of current project as plain XML; * need the XSD for Gloze to perform well. * @@ -95,17 +96,15 @@ System.setProperty( "gloze.verbose", "true"); System.setProperty( "gloze.order", "seq" ); System.setProperty( "gloze.target", export.getCanonicalPath() ); - System.out.println( "gloze.target=" + export.getCanonicalPath() ); - System.out.println( "Starting Gloze.runGloze() with args" ); + Logger.getLogger("theDefault").info( "gloze.target=" + export.getCanonicalPath() ); + Logger.getLogger("theDefault").info(MyResourceBundle.getString("starting.gloze.rungloze.with.args") ); for (int i = 0; i < args.length; i++) { - System.out.println( args[i] + " " ); + Logger.getLogger("theDefault").info( args[i] + " " ); } long t0 = System.currentTimeMillis(); gloze.setSmartDrop(true); gloze.runGloze(args); - System.out.println( "Ran Gloze to target " // MESSAGE - + export.getCanonicalPath() - + "\n in " + (System.currentTimeMillis()-t0) +" ms."); + Logger.getLogger("theDefault").info(MessageFormat.format(MyResourceBundle.getString("ran.gloze.to.target.0.n.in.1.ms"), export.getCanonicalPath(), System.currentTimeMillis() - t0)); } catch (IOException e) { // Auto-generated catch block Modified: trunk/eulergui/src/main/java/eulergui/gui/actions/Save.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/gui/actions/Save.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/gui/actions/Save.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,20 +1,19 @@ package eulergui.gui.actions; +import eulergui.gui.view.TextEditor; +import eulergui.project.N3Source; +import n3_project.helpers.MyResourceBundle; +import org.gjt.sp.jedit.textarea.StandaloneTextArea; + +import javax.swing.*; import java.awt.event.ActionEvent; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.StringReader; +import java.text.MessageFormat; +import java.util.logging.Logger; -import javax.swing.AbstractAction; - -//import org.syntax.jedit.JEditTextArea; - -import eulergui.gui.view.TextEditor; -import eulergui.project.N3Source; -import org.gjt.sp.jedit.textarea.JEditTextArea; -import org.gjt.sp.jedit.textarea.StandaloneTextArea; - public class Save extends AbstractAction { private static final long serialVersionUID = 1L; private N3Source n3Source; @@ -42,8 +41,7 @@ eulergui.util.ReaderUtils.copyReader( new StringReader( embededEditor.getText() ), new FileWriter(file) ); - System.out.println("SaveAs.actionPerformed(): " + - "file \n" + file + "\n saved." ); + Logger.getLogger("theDefault").info(MessageFormat.format(MyResourceBundle.getString("saveas.actionperformed.file.n.0.n.saved"), file) ); textEditor.setSaved(); } catch ( IOException e1) { e1.printStackTrace(); Modified: trunk/eulergui/src/main/java/eulergui/gui/actions/SaveAs.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/gui/actions/SaveAs.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/gui/actions/SaveAs.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -3,17 +3,16 @@ */ package eulergui.gui.actions; -import java.awt.event.ActionEvent; -import java.io.File; - -import n3_project.ProjectGUI; - -//import org.syntax.jedit.JEditTextArea; - import eulergui.gui.view.TextEditor; -import org.gjt.sp.jedit.textarea.JEditTextArea; +import n3_project.ProjectGUI; +import n3_project.helpers.MyResourceBundle; import org.gjt.sp.jedit.textarea.StandaloneTextArea; +import java.awt.event.ActionEvent; +import java.io.File; +import java.text.MessageFormat; +import java.util.logging.Logger; + public class SaveAs extends Save // AbstractAction { private static final long serialVersionUID = 1L; @@ -32,9 +31,7 @@ public void actionPerformed(ActionEvent e) { File file = projectGUI.popupFileChooser( ".n3" ); if( file.exists() ) { - System.out.println("SaveAs.actionPerformed(): " + - "file \"" + file - + "\" already exists, cannot be saved here." ); + Logger.getLogger("theDefault").info(MessageFormat.format(MyResourceBundle.getString("saveas.actionperformed.file.0.already.exists.cannot.be.saved.here"), file) ); } else { saveEditorContent(file); } Modified: trunk/eulergui/src/main/java/eulergui/gui/actions/Statistics.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/gui/actions/Statistics.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/gui/actions/Statistics.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -3,16 +3,14 @@ */ package eulergui.gui.actions; -import java.awt.event.ActionEvent; - -import javax.swing.AbstractAction; -//import org.syntax.jedit.JEditTextArea; - import eulergui.inputs.N3SourceFromOtherFormat; import eulergui.project.N3Source; -import org.gjt.sp.jedit.textarea.JEditTextArea; import org.gjt.sp.jedit.textarea.StandaloneTextArea; +import javax.swing.*; +import java.awt.event.ActionEvent; +import java.util.logging.Logger; + public class Statistics extends AbstractAction { private static final long serialVersionUID = 1L; private N3Source n3Source; @@ -21,7 +19,7 @@ public Statistics(N3Source n3, StandaloneTextArea embededEditor) { this.n3Source = n3; this.embededEditor = embededEditor; - putValue(NAME, "Statistics..."); + putValue(NAME, "Statistics"); } @Override public void actionPerformed(ActionEvent e) { @@ -46,6 +44,6 @@ .append( "\nLine Count: " ) .append( embededEditor.getLineCount() ) ; - System.out.println( sb ); // TODO message panel + Logger.getLogger("theDefault").info( sb.toString() ); // TODO message panel } } \ No newline at end of file Modified: trunk/eulergui/src/main/java/eulergui/gui/controller/ApplicationKB.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/gui/controller/ApplicationKB.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/gui/controller/ApplicationKB.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,15 +1,17 @@ package eulergui.gui.controller; -import java.net.URL; - +import eulergui.gui.interfaces.ProjectListener; +import eulergui.project.N3Source; +import eulergui.project.Project; +import n3_project.helpers.MyResourceBundle; import n3_project.helpers.Triple; - import net.sf.parser4j.parser.service.ParserException; import unif.TripleStoreDrools; -import eulergui.gui.interfaces.ProjectListener; -import eulergui.project.N3Source; -import eulergui.project.Project; +import java.net.URL; +import java.text.MessageFormat; +import java.util.logging.Logger; + /** */ public class ApplicationKB implements ProjectListener { @@ -118,6 +120,6 @@ for (N3Source n3Source : project.getSearches().values()) { addN3Search(project, n3Source); } - System.out.println( "projectLoaded: " + project.getUrl() ); + Logger.getLogger("theDefault").info(MessageFormat.format(MyResourceBundle.getString("projectloaded.0"), project.getUrl()) ); } } Modified: trunk/eulergui/src/main/java/eulergui/gui/view/ButtonsForN3Source.java =================================================================== --- trunk/eulergui/src/main/java/eulergui/gui/view/ButtonsForN3Source.java 2010-03-24 16:09:58 UTC (rev 1349) +++ trunk/eulergui/src/main/java/eulergui/gui/view/ButtonsForN3Source.java 2010-03-24 17:27:49 UTC (rev 1350) @@ -1,30 +1,32 @@ package eulergui.gui.view; -import java.awt.*; -import java.awt.event.ActionEvent; -import java.awt.event.ItemEvent; -import java.awt.event.ItemListener; -import java.io.File; -import java.io.PrintWriter; -import java.io.Writer; - -import javax.swing.*; -import javax.swing.text.BadLocationException; - +import att.grappa.Graph; +import eulergui.n3model.IN3Model; +import eulergui.n3model.service.util.N3ModelToStringUtil; +import eulergui.parser.n3.impl.parser4j.entity.N3ParseResult; +import eulergui.parser.n3.impl.parser4j.service.N3Parser; +import eulergui.project.N3Source; import eulergui.project.Project; import n3_project.ProjectGUI; import n3_project.SourceFilesView; import n3_project.exceptions.parser.ParsingException; +import n3_project.helpers.GuiResourceBundle; +import n3_project.helpers.MyResourceBundle; import n3_project.helpers.N3toGraphviz; import net.sf.parser4j.parser.service.IParserListener; import net.sf.parser4j.parser.service.ParserException; -import att.grappa.Graph; -import eulergui.n3model.IN3Model; -import eulergui.n3model.service.util.N3ModelToStringUtil; -import eulergui.parser.n3.impl.parser4j.entity.N3ParseResult; -import eulergui.parser.n3.impl.parser4j.service.N3Parser; -import eulergui.project.N3Source; +import javax.swing.*; +import javax.swing.text.BadLocationException; +import java.awt.*; +import java.awt.event.ActionEvent; +import java.awt.event.ItemEvent; +import java.awt.event.ItemListener; +import java.io.File; +import java.io.PrintWriter; +import java.io.Writer; +import java.text.MessageFormat; +import java.util.logging.Logger; /** a series of Buttons For an N3 Source */ public class ButtonsForN3Source extends JPanel { @@ -68,19 +70,18 @@ editButton.setAction(projectGUI.getEditorManagement().openQueryEditor( projectGUI, editableFileOrURL)); editButton.setBackground(Color.ORANGE); - editButton.setText("<HTML>Query: <FONT color=\"#000099\"><U>"+ShortName+"</U></FONT></HTML>"); + editButton.setText(MessageFormat.format(MyResourceBundle.getString("html.query.font.color.000099.u.0.u.font.html"), ShortName)); } else { editButton.setAction(projectGUI.getEditorManagement().openEditor( projectGUI, editableFileOrURL)); - editButton.setText("<HTML><FONT color=\"#000099\"><U>"+ShortName+"</U></FONT></HTML>"); + editButton.setText(MessageFormat.format(MyResourceBundle.getString("html.font.color.000099.u.0.u.font.html"), ShortName)); } subPanel.add(editButton); - editButton.setToolTipText( "click to open N3 source " + - "(converted from other format if necessary)" ); + editButton.setToolTipText(MyResourceBundle.getString("click.to.open.n3.source.converted.from.other.format.if.necessary") ); // ---------- activated ------ - JCheckBox checkBox = new JCheckBox("activated"); + JCheckBox checkBox = new JCheckBox(GuiResourceBundle.getString("activated")); checkBox.setName("checkBox"); checkBox.setSelected(isActivated); this.checkBox = checkBox; @@ -144,7 +145,7 @@ } } }); - graphvizButton.setText("GRAPH"); + graphvizButton.setText(MyResourceBundle.getString("graph")); subPanel.add(graphvizButton); // ---------------- PARSE ------------- @@ -162,7 +163,7 @@ parser.initialize(new IParserListener() { @Override public void newLine(int line) { - System.out.println(line); + Logger.getLogger("the... [truncated message content] |
From: <jm...@us...> - 2010-03-24 16:10:06
|
Revision: 1349 http://eulergui.svn.sourceforge.net/eulergui/?rev=1349&view=rev Author: jmvanel Date: 2010-03-24 16:09:58 +0000 (Wed, 24 Mar 2010) Log Message: ----------- To solve DOS - UNIX problem, I try this : svn propset svn:eol-style native pom.xml svn propset svn:mime-type text/xml pom.xml Modified Paths: -------------- trunk/eulergui/pom.xml Property Changed: ---------------- trunk/eulergui/pom.xml Modified: trunk/eulergui/pom.xml =================================================================== --- trunk/eulergui/pom.xml 2010-03-24 15:44:22 UTC (rev 1348) +++ trunk/eulergui/pom.xml 2010-03-24 16:09:58 UTC (rev 1349) @@ -1,610 +1,610 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <groupId>eulergui</groupId> - <artifactId>eulergui</artifactId> - <packaging>jar</packaging> - <version>1.6-SNAPSHOT</version> - <name>eulerGUI</name> - <url>http://eulergui.sourceforge.net/</url> - <description> -Provides a GUI for the eulersharp.sourceforge.net Euler/SEM reasoning engine. The sources can be N3 (Notation 3), OWL, RDF(S), UML or eCore, files or URL's. It is becoming a lightweight IDE for Artificial Intelligence. - </description> - <inceptionYear>2008</inceptionYear><!-- 25 august 2008 --> - - <licenses> - <license> - <name>GNU Library or Lesser General Public License (LGPL)</name> - <url>http://www.gnu.org/licenses/lgpl.html</url> - </license> - </licenses> - - <developers> - <developer> - <name>Jean-Marc Vanel</name> - <id>jmvanel</id> - </developer> - <developer> - <name>Jos De Roo</name> - <id>josd</id> - </developer> - <developer> - <name>Luc Peuvrier</name> - <id>luc_peuvrier</id> - </developer> - <developer> - <name>Olivier Rossel</name> - <id>iamlolive</id> - </developer> - </developers> - - <mailingLists> - <mailingList> - <name>EulerGUI user mailing list</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=eulergui-user</archive> - <post>eul...@li...</post> - </mailingList> - </mailingLists> - - <scm> - <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/trunk</developerConnection> - <connection>scm:svn:http://eulergui.svn.sourceforge.net/svnroot/eulergui/trunk</connection> - <url>http://eulergui.svn.sourceforge.net/viewvc/eulergui/</url> - </scm> - - <issueManagement> - <system>sourceforge</system><!--don't care--> - <url>http://sourceforge.net/tracker/?group_id=237733</url> - </issueManagement> - - <repositories> - <repository> - <id>repository.jboss.org</id> - <url>http://repository.jboss.org/maven2</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> - - <repository> <!-- for Parser4J, Grappa --> - <id>repository.eulergui.sf.net</id> - <url>http://eulergui.sourceforge.net/maven2</url> - </repository> - - <repository> <!-- for XStream --> - <id>repository.codehaus.org</id> - <url>http://repository.codehaus.org/xstream/xstream</url> - </repository> - - <repository> <!-- for Euler --> - <id>repository.eulersharp.sf.net</id> - <url>http://eulersharp.sourceforge.net/maven2</url> - </repository> - - <repository> <!-- for Pellet ( courtesy Thorsten Möller ) --> - <id>on.cs.unibas.ch</id> - <name>DBIS Maven Releases Repository</name> - <url>http://on.cs.unibas.ch/maven/repository</url> - <layout>default</layout> - <snapshots> - <enabled>false</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> - - <!-- jena repository in last position because it is often slow --> - <repository> - <id>repository.jena.org</id> - <!--url>http://jena.hpl.hp.com/repo</url--> - <url>http://openjena.org/repo</url> - </repository> - - </repositories> - - <build> - - <!-- - <resources> - <resource> - <directory>src/target/generated-resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - </resources> ---> - - <plugins> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <!--version>2.2-beta-3</version--> - <configuration> - <descriptorRefs> - <descriptorRef>jar-with-dependencies</descriptorRef> - </descriptorRefs> - <archive> - <manifest> - <mainClass>n3_project.ProjectGUI</mainClass> - <addClasspath>true</addClasspath> - </manifest> - <manifestEntries> - <SCM-Revision>${buildNumber}</SCM-Revision> - </manifestEntries> - </archive> - </configuration> - <executions> - <execution> - <id>make-assembly</id> <!-- this is used for inheritance merges --> - <phase>package</phase> <!-- append to the packaging phase. --> - <goals> - <goal>single</goal> <!-- goals == mojos --> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-release-plugin</artifactId> - <version>2.0-beta-7</version> - <configuration> - <!-- probably not needed, according to - http://maven.apache.org/plugins/maven-release-plugin/usage.html --> - <tagBase>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags</tagBase> - <!-- file:${HOME}/src/eulergui_test/eulergui/tags --> - </configuration> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>1.1</version> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>src/target/generated-resources</source> - <source>src/main/parser4j/java</source> - <source>src/main/parser4j/resources</source> - <source>src/main/parser4j/tool</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - -<plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>buildnumber-maven-plugin</artifactId> - <executions> - <execution> - <phase>validate</phase> - <goals> - <goal>create</goal> - </goals> - </execution> - </executions> - <configuration> - <doCheck>false</doCheck> - <doUpdate>true</doUpdate> - </configuration> -</plugin> - -<plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <archive> - <manifestEntries> - <SCM-Revision>${buildNumber}</SCM-Revision> - </manifestEntries> - </archive> - </configuration> -</plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <!--version>1.1</version--> - <executions> - <execution> - <goals> - <goal>java</goal> - </goals> - </execution> - </executions> - <configuration> - <mainClass>n3_project.ProjectGUI</mainClass> - <!-- arguments> - <argument>argument1</argument> - TODO would be nice to have the equivalent of $* in a shell script - </arguments> - <systemProperties> - <systemProperty> - <key>myproperty</key> - <value>myvalue</value> - </systemProperty> - ... - </systemProperties--> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <phase>verify</phase> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo.webstart</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>jnlp</goal> <!-- use jnlp, jnlp-inline or jnlp-single as appropriate --> - </goals> - </execution> - </executions> - <configuration> - <!--outputDirectory></outputDirectory--> <!-- not required?? --> - - <!-- - Set to true to exclude all transitive dependencies. Default is false. - --> - <excludeTransitive>false</excludeTransitive> - - <!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory --> - <libPath>lib</libPath> - - <!-- [optional] transitive dependencies filter - if omitted, all transitive dependencies are included --> - <dependencies> - <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter --> - <includes> - <include>commons-logging:commons-logging</include> - <include>commons-cli:commons-cli</include> - </includes> - <!-- excludes> - <exclude></exclude> - <excludes--> - </dependencies> - - <!--resourcesDirectory>${project.basedir}/src/main/jnlp/resources</resourcesDirectory--> <!-- default value --> - - <!-- JNLP generation --> - <jnlp> - <!-- default values --> - <!--inputTemplateResourcePath>${project.basedir}</inputTemplateResourcePath--> - <!--inputTemplate>src/main/jnlp/template.vm</inputTemplate--> <!-- relative to inputTemplateResourcePath --> - <outputFile>app.jnlp</outputFile> <!-- defaults to launch.jnlp --> - - <!-- used to automatically identify the jar containing the main class. --> - <!-- this is perhaps going to change --> - <mainClass>org.apache.commons.cli.BasicParser</mainClass> - </jnlp> - - - <!-- SIGNING --> - <!-- defining this will automatically sign the jar and its dependencies, if necessary --> - <sign> - <keystore>fillme</keystore> - <keypass>fillme</keypass> <!-- we need to override passwords easily from the command line. ${keypass} --> - <storepass>fillme</storepass> <!-- ${storepass} --> - <!--storetype>fillme</storetype--> - <alias>fillme</alias> - - <!--validity>fillme</validity--> - - <!-- only required for generating the keystore --> - <!--dnameCn>fillme</dnameCn> - <dnameOu>fillme</dnameOu> - <dnameO>fillme</dnameO> - <dnameL>fillme</dnameL> - <dnameSt>fillme</dnameSt> - <dnameC>fillme</dnameC--> - - <verify>true</verify> <!-- verify that the signing operation succeeded --> - - <!-- KEYSTORE MANAGEMENT --> - <keystoreConfig> - <delete>true</delete> <!-- delete the keystore --> - <gen>true</gen> <!-- optional shortcut to generate the store. --> - </keystoreConfig> - </sign> - - <!-- BUILDING PROCESS --> - - <pack200>true</pack200> - <gzip>true</gzip> <!-- default force when pack200 false, true when pack200 selected ?? --> - - <!-- causes a version attribute to be output in each jar resource element, optional, default is false --> - <outputJarVersions>true</outputJarVersions> - - <!--install>false</install--> <!-- not yet supported --> - <verbose>true</verbose> - - </configuration> - </plugin> - - <!-- PENDING don't understand what maven-changes-plugin does - cf http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge - plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <inherited>false</inherited> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - <configuration> - <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> - </configuration> - </plugin --> - - <!-- for debugging in eclipse a test case -<plugin> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <forkMode>never</forkMode> - </configuration> -</plugin> ---> - - </plugins> - - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.6</source> - <target>1.6</target> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <dependencies> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - <scope>test</scope> - </dependency> - - <!-- dependencies on Euler(sharp) depot on SF.NET --> - - <dependency> - <groupId>euler</groupId> - <artifactId>euler</artifactId> - <version>2010-03-10</version> - <!-- 2008-12-11 - 2008-11-04 2009-01-22 2009-02-10 2009-03-15 - 2009-04-26 2009-05-18 2009-06-18 2009-06-26 2009-06-29 2009-07-07 - 2009-07-14 2009-07-21 2009-08-25 2009-10-02 2009-10-23 2009-11-21 - 2009-12-18 2010-01-24 2010-02-27 - --> - </dependency> - - <dependency> - <groupId>att</groupId> - <artifactId>grappa</artifactId> - <version>1.2</version> - </dependency> - - <dependency> - <groupId>parser4j</groupId> - <!-- artifactId>parser</artifactId --> - <artifactId>all</artifactId> - <!--version>beta4</version--> - <version>trunk</version> - </dependency> - - <!-- misc. dependencies --> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>jena</artifactId> - <version>2.6.2</version> - <!-- 2.5.7 2.6.0 --> - </dependency> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>arq</artifactId> - <version>2.8.2</version> - </dependency> - - <dependency> - <groupId>log4j</groupId> <!-- for parser4j --> - <artifactId>log4j</artifactId> - <version>1.2.14</version> - </dependency> - <dependency> - <groupId>xstream</groupId> <!-- for parser4j --> - <artifactId>xstream</artifactId> - <version>1.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>Gloze</artifactId> - <version>1.01-beta2</version> - </dependency> - - <!-- Drools dependencies --> - - <dependency> - <groupId>org.drools</groupId> - <artifactId>drools-api</artifactId> - <version>5.1.0.M1</version> - </dependency> - <dependency> - <groupId>org.drools</groupId> - <artifactId>drools-compiler</artifactId> - <version>5.1.0.M1</version> - <!-- <version>5.0.0.M5 5.0.0.CR1 5.0.1 --> - </dependency> - - <!-- eclipse eCore + UML2 --> - - <dependency> - <groupId>org.eclipse.emf</groupId> - <artifactId>ecore</artifactId> - <version>2.4.2.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.emf.ecore</groupId> - <artifactId>xmi</artifactId> - <version>2.4.1.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.emf</groupId> - <artifactId>common</artifactId> - <version>2.4.0.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.uml2</groupId> - <artifactId>common</artifactId> - <version>1.4.0.v200805131030</version> - </dependency> - <dependency> - <groupId>org.eclipse.uml2</groupId> - <artifactId>uml</artifactId> - <version>2.2.2.v200811051031</version> - </dependency> - - <!-- for ReDeFer --> - <dependency> - <groupId>hsqldb</groupId> - <artifactId>hsqldb</artifactId> - <version>1.8.0.10</version> - </dependency> - - <dependency> - <groupId>net.sf.saxon</groupId> - <artifactId>saxon</artifactId> - <version>8.7</version> - </dependency> - - <!-- for tests, could do with JDK/JAXP alone, but this is convenient and just 44kb --> - <dependency> - <groupId>net.sf.saxon</groupId> - <artifactId>saxon-dom</artifactId> - <version>8.7</version> - <scope>test</scope> - </dependency> - - <!-- for Pellet ( courtesy Thorsten Möller ) --> - - <dependency> - <groupId>com.owldl</groupId> - <artifactId>pellet</artifactId> - <version>2.0.2</version> - <!-- 2.0-rc7 2.0 2.0.1 --> - <exclusions> - <exclusion> - <!-- If Pellet is never used in a way that it would start Jetty. --> - <groupId>org.mortbay.jetty</groupId> - <artifactId>org.mortbay.jetty</artifactId> - </exclusion> - <exclusion> - <!-- If Pellet is used exclusively via Jena, i.e., the - OWL API is not required at runtime. --> - <groupId>net.sourceforge.owlapi</groupId> - <artifactId>owlapi</artifactId> - </exclusion> - </exclusions> - </dependency> - - <dependency> - <groupId>org.netbeans</groupId> - <artifactId>jemmy</artifactId> - <version>2.2.7.5</version> - <scope>test</scope> - </dependency> - -<!--dependency> - <groupId>net.sf.jedit-syntax</groupId> - <artifactId>jedit-syntax</artifactId> - <version>2.2.2</version> -</dependency--> - -<dependency> - <groupId>org.jedit</groupId> - <artifactId>jedit</artifactId> - <version>4.3.1</version> -</dependency> - - -<dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>1.0.4</version> - </dependency> - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - <version>1.0</version> -</dependency> - -<!-- - <dependency> - <groupId>net.sourceforge.abbot</groupId> - <artifactId>costello</artifactId> - <version>1.0.3-SNAPHOT</version> - <scope>test</scope> - </dependency> - --> - -<!-- pave the way for YAML import and export - <dependency> - <groupId>org.yaml</groupId> - <artifactId>snakeyaml</artifactId> - <version>1.4</version> - </dependency> ---> - - </dependencies> - - <distributionManagement> - <repository> - <!-- id corresponds to a <server> tag in ~/.m2/server.xml --> - <id>repository.eulergui.sf.net</id> - <name>Repository for eulergui and 3rd party libraries not having Maven repo.</name> - <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven2</url> - </repository> - <site> - <id>eulergui.sourceforge.net</id> - <!-- CAUTION: these don't work with site:deploy : - <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url <url>sftp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> - --> - <url>scp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> - </site> - </distributionManagement> - -</project> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>eulergui</groupId> + <artifactId>eulergui</artifactId> + <packaging>jar</packaging> + <version>1.6-SNAPSHOT</version> + <name>eulerGUI</name> + <url>http://eulergui.sourceforge.net/</url> + <description> +Provides a GUI for the eulersharp.sourceforge.net Euler/SEM reasoning engine. The sources can be N3 (Notation 3), OWL, RDF(S), UML or eCore, files or URL's. It is becoming a lightweight IDE for Artificial Intelligence. + </description> + <inceptionYear>2008</inceptionYear><!-- 25 august 2008 --> + + <licenses> + <license> + <name>GNU Library or Lesser General Public License (LGPL)</name> + <url>http://www.gnu.org/licenses/lgpl.html</url> + </license> + </licenses> + + <developers> + <developer> + <name>Jean-Marc Vanel</name> + <id>jmvanel</id> + </developer> + <developer> + <name>Jos De Roo</name> + <id>josd</id> + </developer> + <developer> + <name>Luc Peuvrier</name> + <id>luc_peuvrier</id> + </developer> + <developer> + <name>Olivier Rossel</name> + <id>iamlolive</id> + </developer> + </developers> + + <mailingLists> + <mailingList> + <name>EulerGUI user mailing list</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=eulergui-user</archive> + <post>eul...@li...</post> + </mailingList> + </mailingLists> + + <scm> + <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/trunk</developerConnection> + <connection>scm:svn:http://eulergui.svn.sourceforge.net/svnroot/eulergui/trunk</connection> + <url>http://eulergui.svn.sourceforge.net/viewvc/eulergui/</url> + </scm> + + <issueManagement> + <system>sourceforge</system><!--don't care--> + <url>http://sourceforge.net/tracker/?group_id=237733</url> + </issueManagement> + + <repositories> + <repository> + <id>repository.jboss.org</id> + <url>http://repository.jboss.org/maven2</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + + <repository> <!-- for Parser4J, Grappa --> + <id>repository.eulergui.sf.net</id> + <url>http://eulergui.sourceforge.net/maven2</url> + </repository> + + <repository> <!-- for XStream --> + <id>repository.codehaus.org</id> + <url>http://repository.codehaus.org/xstream/xstream</url> + </repository> + + <repository> <!-- for Euler --> + <id>repository.eulersharp.sf.net</id> + <url>http://eulersharp.sourceforge.net/maven2</url> + </repository> + + <repository> <!-- for Pellet ( courtesy Thorsten Möller ) --> + <id>on.cs.unibas.ch</id> + <name>DBIS Maven Releases Repository</name> + <url>http://on.cs.unibas.ch/maven/repository</url> + <layout>default</layout> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + + <!-- jena repository in last position because it is often slow --> + <repository> + <id>repository.jena.org</id> + <!--url>http://jena.hpl.hp.com/repo</url--> + <url>http://openjena.org/repo</url> + </repository> + + </repositories> + + <build> + + <!-- + <resources> + <resource> + <directory>src/target/generated-resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> +--> + + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <!--version>2.2-beta-3</version--> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + <archive> + <manifest> + <mainClass>n3_project.ProjectGUI</mainClass> + <addClasspath>true</addClasspath> + </manifest> + <manifestEntries> + <SCM-Revision>${buildNumber}</SCM-Revision> + </manifestEntries> + </archive> + </configuration> + <executions> + <execution> + <id>make-assembly</id> <!-- this is used for inheritance merges --> + <phase>package</phase> <!-- append to the packaging phase. --> + <goals> + <goal>single</goal> <!-- goals == mojos --> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.0-beta-7</version> + <configuration> + <!-- probably not needed, according to + http://maven.apache.org/plugins/maven-release-plugin/usage.html --> + <tagBase>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags</tagBase> + <!-- file:${HOME}/src/eulergui_test/eulergui/tags --> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>src/target/generated-resources</source> + <source>src/main/parser4j/java</source> + <source>src/main/parser4j/resources</source> + <source>src/main/parser4j/tool</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + +<plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>buildnumber-maven-plugin</artifactId> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>create</goal> + </goals> + </execution> + </executions> + <configuration> + <doCheck>false</doCheck> + <doUpdate>true</doUpdate> + </configuration> +</plugin> + +<plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <SCM-Revision>${buildNumber}</SCM-Revision> + </manifestEntries> + </archive> + </configuration> +</plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <!--version>1.1</version--> + <executions> + <execution> + <goals> + <goal>java</goal> + </goals> + </execution> + </executions> + <configuration> + <mainClass>n3_project.ProjectGUI</mainClass> + <!-- arguments> + <argument>argument1</argument> + TODO would be nice to have the equivalent of $* in a shell script + </arguments> + <systemProperties> + <systemProperty> + <key>myproperty</key> + <value>myvalue</value> + </systemProperty> + ... + </systemProperties--> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <phase>verify</phase> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo.webstart</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>jnlp</goal> <!-- use jnlp, jnlp-inline or jnlp-single as appropriate --> + </goals> + </execution> + </executions> + <configuration> + <!--outputDirectory></outputDirectory--> <!-- not required?? --> + + <!-- + Set to true to exclude all transitive dependencies. Default is false. + --> + <excludeTransitive>false</excludeTransitive> + + <!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory --> + <libPath>lib</libPath> + + <!-- [optional] transitive dependencies filter - if omitted, all transitive dependencies are included --> + <dependencies> + <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter --> + <includes> + <include>commons-logging:commons-logging</include> + <include>commons-cli:commons-cli</include> + </includes> + <!-- excludes> + <exclude></exclude> + <excludes--> + </dependencies> + + <!--resourcesDirectory>${project.basedir}/src/main/jnlp/resources</resourcesDirectory--> <!-- default value --> + + <!-- JNLP generation --> + <jnlp> + <!-- default values --> + <!--inputTemplateResourcePath>${project.basedir}</inputTemplateResourcePath--> + <!--inputTemplate>src/main/jnlp/template.vm</inputTemplate--> <!-- relative to inputTemplateResourcePath --> + <outputFile>app.jnlp</outputFile> <!-- defaults to launch.jnlp --> + + <!-- used to automatically identify the jar containing the main class. --> + <!-- this is perhaps going to change --> + <mainClass>org.apache.commons.cli.BasicParser</mainClass> + </jnlp> + + + <!-- SIGNING --> + <!-- defining this will automatically sign the jar and its dependencies, if necessary --> + <sign> + <keystore>fillme</keystore> + <keypass>fillme</keypass> <!-- we need to override passwords easily from the command line. ${keypass} --> + <storepass>fillme</storepass> <!-- ${storepass} --> + <!--storetype>fillme</storetype--> + <alias>fillme</alias> + + <!--validity>fillme</validity--> + + <!-- only required for generating the keystore --> + <!--dnameCn>fillme</dnameCn> + <dnameOu>fillme</dnameOu> + <dnameO>fillme</dnameO> + <dnameL>fillme</dnameL> + <dnameSt>fillme</dnameSt> + <dnameC>fillme</dnameC--> + + <verify>true</verify> <!-- verify that the signing operation succeeded --> + + <!-- KEYSTORE MANAGEMENT --> + <keystoreConfig> + <delete>true</delete> <!-- delete the keystore --> + <gen>true</gen> <!-- optional shortcut to generate the store. --> + </keystoreConfig> + </sign> + + <!-- BUILDING PROCESS --> + + <pack200>true</pack200> + <gzip>true</gzip> <!-- default force when pack200 false, true when pack200 selected ?? --> + + <!-- causes a version attribute to be output in each jar resource element, optional, default is false --> + <outputJarVersions>true</outputJarVersions> + + <!--install>false</install--> <!-- not yet supported --> + <verbose>true</verbose> + + </configuration> + </plugin> + + <!-- PENDING don't understand what maven-changes-plugin does + cf http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge + plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <inherited>false</inherited> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> + </configuration> + </plugin --> + + <!-- for debugging in eclipse a test case +<plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <forkMode>never</forkMode> + </configuration> +</plugin> +--> + + </plugins> + + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <dependencies> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + + <!-- dependencies on Euler(sharp) depot on SF.NET --> + + <dependency> + <groupId>euler</groupId> + <artifactId>euler</artifactId> + <version>2010-03-10</version> + <!-- 2008-12-11 - 2008-11-04 2009-01-22 2009-02-10 2009-03-15 + 2009-04-26 2009-05-18 2009-06-18 2009-06-26 2009-06-29 2009-07-07 + 2009-07-14 2009-07-21 2009-08-25 2009-10-02 2009-10-23 2009-11-21 + 2009-12-18 2010-01-24 2010-02-27 + --> + </dependency> + + <dependency> + <groupId>att</groupId> + <artifactId>grappa</artifactId> + <version>1.2</version> + </dependency> + + <dependency> + <groupId>parser4j</groupId> + <!-- artifactId>parser</artifactId --> + <artifactId>all</artifactId> + <!--version>beta4</version--> + <version>trunk</version> + </dependency> + + <!-- misc. dependencies --> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>jena</artifactId> + <version>2.6.2</version> + <!-- 2.5.7 2.6.0 --> + </dependency> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>arq</artifactId> + <version>2.8.2</version> + </dependency> + + <dependency> + <groupId>log4j</groupId> <!-- for parser4j --> + <artifactId>log4j</artifactId> + <version>1.2.14</version> + </dependency> + <dependency> + <groupId>xstream</groupId> <!-- for parser4j --> + <artifactId>xstream</artifactId> + <version>1.2</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>Gloze</artifactId> + <version>1.01-beta2</version> + </dependency> + + <!-- Drools dependencies --> + + <dependency> + <groupId>org.drools</groupId> + <artifactId>drools-api</artifactId> + <version>5.1.0.M1</version> + </dependency> + <dependency> + <groupId>org.drools</groupId> + <artifactId>drools-compiler</artifactId> + <version>5.1.0.M1</version> + <!-- <version>5.0.0.M5 5.0.0.CR1 5.0.1 --> + </dependency> + + <!-- eclipse eCore + UML2 --> + + <dependency> + <groupId>org.eclipse.emf</groupId> + <artifactId>ecore</artifactId> + <version>2.4.2.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.emf.ecore</groupId> + <artifactId>xmi</artifactId> + <version>2.4.1.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.emf</groupId> + <artifactId>common</artifactId> + <version>2.4.0.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.uml2</groupId> + <artifactId>common</artifactId> + <version>1.4.0.v200805131030</version> + </dependency> + <dependency> + <groupId>org.eclipse.uml2</groupId> + <artifactId>uml</artifactId> + <version>2.2.2.v200811051031</version> + </dependency> + + <!-- for ReDeFer --> + <dependency> + <groupId>hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.10</version> + </dependency> + + <dependency> + <groupId>net.sf.saxon</groupId> + <artifactId>saxon</artifactId> + <version>8.7</version> + </dependency> + + <!-- for tests, could do with JDK/JAXP alone, but this is convenient and just 44kb --> + <dependency> + <groupId>net.sf.saxon</groupId> + <artifactId>saxon-dom</artifactId> + <version>8.7</version> + <scope>test</scope> + </dependency> + + <!-- for Pellet ( courtesy Thorsten Möller ) --> + + <dependency> + <groupId>com.owldl</groupId> + <artifactId>pellet</artifactId> + <version>2.0.2</version> + <!-- 2.0-rc7 2.0 2.0.1 --> + <exclusions> + <exclusion> + <!-- If Pellet is never used in a way that it would start Jetty. --> + <groupId>org.mortbay.jetty</groupId> + <artifactId>org.mortbay.jetty</artifactId> + </exclusion> + <exclusion> + <!-- If Pellet is used exclusively via Jena, i.e., the + OWL API is not required at runtime. --> + <groupId>net.sourceforge.owlapi</groupId> + <artifactId>owlapi</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.netbeans</groupId> + <artifactId>jemmy</artifactId> + <version>2.2.7.5</version> + <scope>test</scope> + </dependency> + +<!--dependency> + <groupId>net.sf.jedit-syntax</groupId> + <artifactId>jedit-syntax</artifactId> + <version>2.2.2</version> +</dependency--> + +<dependency> + <groupId>org.jedit</groupId> + <artifactId>jedit</artifactId> + <version>4.3.1</version> +</dependency> + + +<dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.0.4</version> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.0</version> +</dependency> + +<!-- + <dependency> + <groupId>net.sourceforge.abbot</groupId> + <artifactId>costello</artifactId> + <version>1.0.3-SNAPHOT</version> + <scope>test</scope> + </dependency> + --> + +<!-- pave the way for YAML import and export + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>1.4</version> + </dependency> +--> + + </dependencies> + + <distributionManagement> + <repository> + <!-- id corresponds to a <server> tag in ~/.m2/server.xml --> + <id>repository.eulergui.sf.net</id> + <name>Repository for eulergui and 3rd party libraries not having Maven repo.</name> + <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven2</url> + </repository> + <site> + <id>eulergui.sourceforge.net</id> + <!-- CAUTION: these don't work with site:deploy : + <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url <url>sftp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> + --> + <url>scp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> + </site> + </distributionManagement> + +</project> Property changes on: trunk/eulergui/pom.xml ___________________________________________________________________ Added: svn:mime-type + text/xml Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-24 15:44:29
|
Revision: 1348 http://eulergui.svn.sourceforge.net/eulergui/?rev=1348&view=rev Author: jmvanel Date: 2010-03-24 15:44:22 +0000 (Wed, 24 Mar 2010) Log Message: ----------- pom.xml: - add Olivier as developer - correctdeveloperConnection and connection: TODO test Modified Paths: -------------- trunk/eulergui/pom.xml Modified: trunk/eulergui/pom.xml =================================================================== --- trunk/eulergui/pom.xml 2010-03-24 15:26:05 UTC (rev 1347) +++ trunk/eulergui/pom.xml 2010-03-24 15:44:22 UTC (rev 1348) @@ -31,6 +31,10 @@ <name>Luc Peuvrier</name> <id>luc_peuvrier</id> </developer> + <developer> + <name>Olivier Rossel</name> + <id>iamlolive</id> + </developer> </developers> <mailingLists> @@ -44,9 +48,9 @@ </mailingLists> <scm> - <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</developerConnection> - <connection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</connection> - <url>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</url> + <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/trunk</developerConnection> + <connection>scm:svn:http://eulergui.svn.sourceforge.net/svnroot/eulergui/trunk</connection> + <url>http://eulergui.svn.sourceforge.net/viewvc/eulergui/</url> </scm> <issueManagement> @@ -603,4 +607,4 @@ </site> </distributionManagement> -</project> \ No newline at end of file +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-24 15:26:12
|
Revision: 1347 http://eulergui.svn.sourceforge.net/eulergui/?rev=1347&view=rev Author: jmvanel Date: 2010-03-24 15:26:05 +0000 (Wed, 24 Mar 2010) Log Message: ----------- - update CHANGELOG to release 1.5 - small enhancements in html/documentation.html Modified Paths: -------------- trunk/eulergui/CHANGELOG trunk/eulergui/html/documentation.html Modified: trunk/eulergui/CHANGELOG =================================================================== --- trunk/eulergui/CHANGELOG 2010-03-24 14:47:33 UTC (rev 1346) +++ trunk/eulergui/CHANGELOG 2010-03-24 15:26:05 UTC (rev 1347) @@ -6,7 +6,11 @@ - parsing errors are now highlighted in the editor (+tooltip at the error line) - data sources are now rendered as HTML links - minor UI tricks (one single editor per data source, editor comes to the -front end on parsing error) + front end on parsing error) +- upgrade Pellet to version 2.0.2 +- upgrade Euler(sharp) version to 2010-03-10 +- EulerGUI REST server +- N3 searches / Drools queries, leveraging on Drools' Working Memory [EulerGUI 1.4.2 2010-01-29] Modified: trunk/eulergui/html/documentation.html =================================================================== --- trunk/eulergui/html/documentation.html 2010-03-24 14:47:33 UTC (rev 1346) +++ trunk/eulergui/html/documentation.html 2010-03-24 15:26:05 UTC (rev 1347) @@ -11,7 +11,7 @@ <body> <p style="text-align:center;font-size: 20pt">Euler GUI Manual</p> -<p>© Jean-Marc Vanel - $Date: 2010-03-21$ - <a +<p>© Jean-Marc Vanel - $Date: 2010-03-24$ - <a href="http://eulergui.sourceforge.net/documentation.html">a view possibly older in sync. with EulerGUI release </a> - <a href="http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/html/documentation.html">Latest @@ -1918,8 +1918,9 @@ <p>In EulerGUI site there is a separate <a href="../../../jmvanel.free.fr/howto_debug_n3_rules.html">how-to page to debug -an N3 rules set</a>. A companion document is <a -href="n3_rules_good_practices.html">N3 rules design good practices</a> .</p> +an N3 rules set</a>. A companion document is <strong><a +href="n3_rules_good_practices.html">N3 rules design good practices</a></strong> +(also about design patterns and refactorings) .</p> <p><strong>The specifications</strong>:</p> @@ -2685,8 +2686,10 @@ <table border="1"> <tbody> <tr> - <td><pre>svn co https://parser4j.svn.sourceforge.net/svnroot/parser4j/trunk/parser4j/ \ + <td><pre>cd ${HOME}/src/ +svn co https://parser4j.svn.sourceforge.net/svnroot/parser4j/trunk/parser4j/ \ parser4j +cd parser4j # create an eclipse project from the parser4j directory; this will compile all ant -f buildjar.xml VERSION=trunk @@ -2785,7 +2788,7 @@ <tr> <td><pre><settings> <servers> - <server> + <server> <!-- for the Maven depot --> <id><strong>repository.eulergui.sf.net</strong></id> <username>jmvanel,eulergui</username> <password>???</password> @@ -2966,7 +2969,7 @@ <tbody> <tr> <td><pre>cd /home/frs/project/e/eu/eulergui/eulergui/1.4 -cp /home/groups/e/eu/eulergui/htdocs/maven2/eulergui/eulergui/1.4/eulergui-1.4-jar-with-dependencies.jar +cp /home/groups/e/eu/eulergui/htdocs/maven2/eulergui/eulergui/1.4/eulergui-1.4-jar-with-dependencies.jar . </pre> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-24 14:47:48
|
Revision: 1346 http://eulergui.svn.sourceforge.net/eulergui/?rev=1346&view=rev Author: iamlolive Date: 2010-03-24 14:47:33 +0000 (Wed, 24 Mar 2010) Log Message: ----------- updated to 1.5 version Modified Paths: -------------- trunk/eulergui/site/documentation.html Modified: trunk/eulergui/site/documentation.html =================================================================== --- trunk/eulergui/site/documentation.html 2010-03-24 14:25:21 UTC (rev 1345) +++ trunk/eulergui/site/documentation.html 2010-03-24 14:47:33 UTC (rev 1346) @@ -11,191 +11,165 @@ <body> <p style="text-align:center;font-size: 20pt">Euler GUI Manual</p> -<p>©Jean-Marc Vanel - 2010-02-01 - in sync. with EulerGUI release 1.4.2 - <a +<p>© Jean-Marc Vanel - Date: 2010-03-21 - in sync with EulerGUI release 1.5 - <a href="http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/html/documentation.html">Latest User Manual from Subversion.</a> </p> -<p></p> - <p>TOC</p> <div class="toc"> <ul> - <li><a href="../html/documentation.html#Introducti">Introduction</a></li> - <li><a href="../html/documentation.html#Features">Features</a></li> - <li><a href="../html/documentation.html#Installati">Installation</a> + <li><a href="#Introducti">Introduction</a></li> + <li><a href="#Features">Features</a></li> + <li><a href="#Installati">Installation</a> <ul> - <li><a href="../html/documentation.html#Prerequisi">Prerequisite</a> + <li><a href="#Prerequisi">Prerequisite</a> <ul> - <li><a href="../html/documentation.html#Additional">Additional steps - on Mac</a></li> + <li><a href="#Additional">Additional steps on Mac</a></li> </ul> </li> - <li><a href="../html/documentation.html#Install1">Install and run - EulerGUI</a></li> - <li><a href="../html/documentation.html#Install">Install external - tools</a></li> + <li><a href="#Install1">Install and run EulerGUI</a></li> + <li><a href="#Install">Install external tools</a> + <ul> + <li><a href="#L702">Facultative tool</a></li> + </ul> + </li> </ul> </li> - <li><a href="../html/documentation.html#L3298">Support & - community</a></li> - <li><a href="../html/documentation.html#cases">Use cases</a> + <li><a href="#L3298">Support & community</a></li> + <li><a href="#cases">Use cases</a> <ul> - <li><a href="../html/documentation.html#Main">Main use case</a></li> - <li><a href="../html/documentation.html#Inference">Inference engines</a> + <li><a href="#Main">Main use case</a></li> + <li><a href="#Inference">Inference engines</a> <ul> - <li><a href="../html/documentation.html#case">CWM use case</a></li> - <li><a href="../html/documentation.html#Drools">Drools use - case</a></li> - <li><a href="../html/documentation.html#Fuxi">Fuxi use case</a></li> + <li><a href="#case">CWM use case</a></li> + <li><a href="#Drools">Drools use case</a></li> + <li><a href="#Fuxi">Fuxi use case</a></li> </ul> </li> - <li><a href="../html/documentation.html#Data">Data sources</a> + <li><a href="#L3796">Which rule engine to use?</a></li> + <li><a href="#Data">Data sources</a> <ul> - <li><a href="../html/documentation.html#Reading">Reading XMI files - (UML or eCore)</a></li> - <li><a href="../html/documentation.html#Reading2">Reading plain XML - files or XML Schema</a> + <li><a href="#Reading">Reading XMI files (UML or eCore)</a></li> + <li><a href="#Reading2">Reading plain XML files or XML Schema</a> <ul> - <li><a href="../html/documentation.html#L2297">Redefer</a></li> - <li><a href="../html/documentation.html#L2290">Gloze</a></li> + <li><a href="#L2297">Redefer</a></li> + <li><a href="#L2290">Gloze</a></li> </ul> </li> - <li><a href="../html/documentation.html#SPARQL">SPARQL queries as N3 - sources</a> + <li><a href="#SPARQL">SPARQL queries as N3 sources</a> <ul> - <li><a href="../html/documentation.html#L1134">SPARQL - language</a></li> - <li><a href="../html/documentation.html#L2107">Caveats</a></li> - <li><a href="../html/documentation.html#Exploring2">Exploring - SPARQL public endpoints</a></li> + <li><a href="#L1134">SPARQL language</a></li> + <li><a href="#L2107">Caveats</a></li> + <li><a href="#Exploring2">Exploring SPARQL public + endpoints</a></li> </ul> </li> - <li><a href="../html/documentation.html#Reading1">Reading UML Textual - files, UMT (simplified UML )</a> + <li><a href="#Reading1">Reading UML Textual files, UMT (simplified + UML )</a> <ul> - <li><a href="../html/documentation.html#Syntax">Syntax</a></li> - <li><a href="../html/documentation.html#Usage">Usage</a></li> + <li><a href="#Syntax">Syntax</a></li> + <li><a href="#Usage">Usage</a></li> </ul> </li> </ul> </li> - <li><a href="../html/documentation.html#L939">Manipulating projects</a> + <li><a href="#L939">Manipulating projects</a> <ul> - <li><a href="../html/documentation.html#L1191">Sub-projects</a></li> - <li><a href="../html/documentation.html#L1200">Pipeline of projects - (post-processing)</a></li> + <li><a href="#L1191">Sub-projects</a></li> + <li><a href="#L1200">Pipeline of projects (post-processing)</a></li> </ul> </li> - <li><a href="../html/documentation.html#Finding">Finding ontologies on - the Web</a></li> - <li><a href="../html/documentation.html#Finding1">Finding data on the - Web</a></li> - <li><a href="../html/documentation.html#Finding11">Finding rules on the - Web; rules for OWL concepts</a></li> - <li><a href="../html/documentation.html#Global1">Local tools</a> + <li><a href="#Finding">Finding ontologies on the Web</a></li> + <li><a href="#Finding1">Finding data on the Web</a></li> + <li><a href="#Finding11">Finding rules on the Web; rules for OWL + concepts</a></li> + <li><a href="#Global1">Local tools</a> <ul> - <li><a href="../html/documentation.html#Show">Show graph</a></li> - <li><a href="../html/documentation.html#Show1">Show N3 parse - tree</a></li> - <li><a href="../html/documentation.html#Show2">Show original source - of N3 document</a></li> + <li><a href="#Show">Show graph</a></li> + <li><a href="#Show1">Show N3 parse tree</a></li> + <li><a href="#Show2">Show original source of N3 document</a></li> </ul> </li> - <li><a href="../html/documentation.html#Global">Global tools</a> + <li><a href="#Global">Global tools</a> <ul> - <li><a href="../html/documentation.html#Generate">Generate Java - code</a></li> - <li><a href="../html/documentation.html#Generated">Generated Swing - applications</a></li> - <li><a href="../html/documentation.html#Launch">Launch OWL - reasoner</a></li> - <li><a href="../html/documentation.html#L33241">Export as XML</a></li> + <li><a href="#L3377">Search</a></li> + <li><a href="#Generate">Generate Java code</a></li> + <li><a href="#Generated">Generated Swing applications</a></li> + <li><a href="#Launch">Launch OWL reasoner</a></li> + <li><a href="#L33241">Export as XML</a></li> </ul> </li> - <li><a href="../html/documentation.html#Interopera">Interoperability with - Protégé</a> + <li><a href="#Interopera">Interoperability with Protégé</a> <ul> - <li><a href="../html/documentation.html#L3588">SWRL</a></li> + <li><a href="#L3588">SWRL</a></li> </ul> </li> - <li><a href="../html/documentation.html#L2935">Interoperability with RDF - SPARQL servers</a> + <li><a href="#L2935">Interoperability with RDF SPARQL servers</a> <ul> - <li><a href="../html/documentation.html#L2943">Joseki</a></li> - <li><a href="../html/documentation.html#L2958">Sesame</a></li> + <li><a href="#L2943">Joseki</a></li> + <li><a href="#L2958">Sesame</a></li> </ul> </li> - <li><a href="../html/documentation.html#L4380">EulerGUI server</a></li> + <li><a href="#L4380">EulerGUI server</a></li> </ul> </li> - <li><a href="../html/documentation.html#Examples">Examples</a></li> - <li><a href="../html/documentation.html#L3193">Other useful tools</a> + <li><a href="#Examples">Examples</a></li> + <li><a href="#L3193">Other useful tools</a> <ul> - <li><a href="../html/documentation.html#L3221">Export from N3/RDF</a></li> - <li><a href="../html/documentation.html#L3234">Import to N3/RDF</a></li> + <li><a href="#L3221">Export from N3/RDF</a></li> + <li><a href="#L3234">Import to N3/RDF</a></li> </ul> </li> - <li><a href="../html/documentation.html#N-Triple">N-Triples, Turtle, and N3 - formats</a></li> - <li><a href="../html/documentation.html#Logic">Logic</a> + <li><a href="#N-Triple">N-Triples, Turtle, and N3 formats</a></li> + <li><a href="#Logic">Logic</a> <ul> - <li><a href="../html/documentation.html#Logic1">N3 Logic</a></li> - <li><a href="../html/documentation.html#Coherent">Coherent Logic</a></li> - <li><a href="../html/documentation.html#buit-ins">CWM built-ins</a></li> - <li><a href="../html/documentation.html#Euler">Euler built-ins</a></li> - <li><a href="../html/documentation.html#EulerGUI">EulerGUI Drools N3 - engine built-ins</a></li> - <li><a href="../html/documentation.html#Translatin">Translating N3 into - Drools language</a> + <li><a href="#Logic1">N3 Logic</a></li> + <li><a href="#Coherent">Coherent Logic</a></li> + <li><a href="#buit-ins">CWM built-ins</a></li> + <li><a href="#Euler">Euler built-ins</a></li> + <li><a href="#EulerGUI">EulerGUI Drools N3 engine built-ins</a></li> + <li><a href="#Translatin">Translating N3 into Drools language</a> <ul> - <li><a href="../html/documentation.html#Forward">Forward chaining - engine and First Order Logic</a></li> - <li><a - href="../html/documentation.html#Translatio">Translation</a></li> - <li><a href="../html/documentation.html#note">A note about N3 - notation for existentially qualified variables</a></li> - <li><a href="../html/documentation.html#TODO">Missing features in - Drools translation</a></li> + <li><a href="#Forward">Forward chaining engine and First Order + Logic</a></li> + <li><a href="#Translatio">Translation</a></li> + <li><a href="#note">A note about N3 notation for existentially + qualified variables</a></li> + <li><a href="#TODO">Missing features in Drools translation</a></li> </ul> </li> </ul> </li> - <li><a href="../html/documentation.html#TODO">Missing features</a> + <li><a href="#TODO">Missing features</a> <ul> - <li><a href="../html/documentation.html#Implemente">Implemented - features</a></li> + <li><a href="#Implemente">Implemented features</a></li> </ul> </li> - <li><a href="../html/documentation.html#Developmen">Development</a> + <li><a href="#Developmen">Development</a> <ul> - <li><a href="../html/documentation.html#Building">Building from - sources</a></li> - <li><a href="../html/documentation.html#Create">Create an eclipse - project</a></li> - <li><a href="../html/documentation.html#Uploading">Uploading stuff on the + <li><a href="#Building">Building from sources</a></li> + <li><a href="#Create">Create an eclipse project</a></li> + <li><a href="#Uploading">Compiling dependencies and uploading them on the Maven repository on Sourceforge</a></li> - <li><a href="../html/documentation.html#Making">Making a release</a></li> - <li><a href="../html/documentation.html#Test">Test</a> + <li><a href="#Making">Making a release</a></li> + <li><a href="#Test">Test</a> <ul> - <li><a href="../html/documentation.html#L1845">Accelerate - tests</a></li> - <li><a href="../html/documentation.html#L1980">Gui functional - tests</a></li> - <li><a href="../html/documentation.html#L2171">Disactivate the - windows in Jemmy tests</a></li> + <li><a href="#L1845">Accelerate tests</a></li> + <li><a href="#L1980">Gui functional tests</a></li> + <li><a href="#L2171">Disactivate the windows in Jemmy tests</a></li> </ul> </li> - <li><a href="../html/documentation.html#Debug">Debug</a></li> + <li><a href="#Debug">Debug</a></li> </ul> </li> - <li><a href="../html/documentation.html#Architectu">Architecture</a> + <li><a href="#Architectu">Architecture</a> <ul> - <li><a href="../html/documentation.html#Actual">Actual stuff</a></li> - <li><a href="../html/documentation.html#Stuff">Stuff to refactor</a></li> + <li><a href="#Actual">Actual stuff</a></li> + <li><a href="#Stuff">Stuff to refactor</a></li> </ul> </li> - <li><a href="../html/documentation.html#Acknowlege">Acknowledgements</a></li> + <li><a href="#Acknowlege">Acknowledgements</a></li> </ul> </div> @@ -261,7 +235,7 @@ <li>show OWL infered class hierarchy using Pellet OWL reasoner</li> </ul> -<p><img alt="Euler GUI" src="../html/Euler_GUI.png" /></p> +<p><img alt="Euler GUI" src="Euler_GUI.png" /></p> <h2 id="Installati">Installation</h2> @@ -272,8 +246,8 @@ href="http://java.sun.com/">http://java.sun.com</a> . Of course the Java(TM) 2 Development Kit (JDK) includes a JRE.</p> -<p>On Linux, you can <a href="../html/documentation.html#Building">install most -of the required packages in a single command</a> .</p> +<p>On Linux, you can <a href="#Building">install most of the required packages +in a single command</a> .</p> <p>EulerGUI is developped on Ubuntu Linux, and tested regularly on Windows, and should run everywhere a Java Runtime Environment exists.</p> @@ -286,10 +260,9 @@ necessary to put Java 6 first in the list. </p> <p>The only scripting engine for java installed by default under OSX is -AppleScript. If you want use the <a -href="../html/documentation.html#Generate">Java generation feature</a> , it is -necessary to install the engine for JavaScript; the procedure is the following -:</p> +AppleScript. If you want use the <a href="#Generate">Java generation +feature</a> , it is necessary to install the engine for JavaScript; the +procedure is the following :</p> <ol> <li>go to <a href="https://scripting.dev.java.net/">https://scripting.dev.java.net/</a></li> @@ -298,7 +271,7 @@ <li>download rhino1_7R1.zip from <a href="http://www.mozilla.org/rhino">http://www.mozilla.org/rhino</a> and find the file js.jar</li> - <li>copy the files Javascript/build/js-engine.jar and js.jar + <li>copy the files Javascript/build/js-engine.jar and js.jar <p>in /Library/Java/Extensions/ .</p> </li> </ol> @@ -314,10 +287,9 @@ <p>The release is a single executable jar, so to launch it, just click on it a file manager, or type this from a shell:</p> <pre>java -jar eulergui-1.4-jar-with-dependencies.jar</pre> - -<p>Then you can open e.g. this project: <a +Then you can open e.g. this project: <a href="http://deductions.svn.sourceforge.net/viewvc/deductions/n3/test_person_import.n3p">http://deductions.svn.sourceforge.net/viewvc/deductions/n3/test_person_import.n3p</a> -by drag'n'drop or by clicking File / open project from URL . </p> +by drag'n'drop or by clicking File / open project from URL . <p>The following third party Java open sources libraries are included in this jar:</p> @@ -350,6 +322,15 @@ <p><a href="http://eulergui.sourceforge.net/tmp/?C=M;O=D">http://eulergui.sourceforge.net/tmp/?C=M;O=D</a></p> +<p><img alt="euler" src="../src/main/resources/n3_project/euler.png" width="32" +height="32" /> <img alt="drools" +src="../src/main/resources/n3_project/drools.png" width="45" height="44" /> +<img alt="http://parser4j.sourceforge.net/_parser4j_logo.gif" +src="http://parser4j.sourceforge.net/_parser4j_logo.gif" width="73" height="48" +/> <img alt="ena-logo-small" +src="http://openjena.org/images/jena-logo-small.png" width="105" height="62" +/></p> + <h3 id="Install">Install external tools</h3> <p>Although Euler GUI runs perfectly without any external tool, they make work @@ -357,14 +338,14 @@ path.</p> <ul> <li>enable latest Euler EYE processor (with 100% Prolog engine replacing old - Java N3 to Prolog translator) + Java N3 to Prolog translator) <ul> <li>install <a href="http://www.dcc.fc.up.pt/~vsc/Yap/downloads.html">Yap Prolog platform</a> plus wget and make sure that both are in the PATH - environment variable; + environment variable; <ul> <li>on Windows this means: open configuration panel, then System , - advanced, environment variables, then adding at the end of PATH: + advanced, environment variables, then adding at the end of PATH: <p><code>;C:\Program Files\Yap\bin</code></p> </li> <li>on Windows wget can be gotten from <a @@ -380,19 +361,62 @@ files</a> and download Eye-XXX.exe</li> </ul> </li> - <li>page about installing the programmer's editor <a - href="http://www.vim.org/">Vim</a> on Windows : + <li><a href="http://www.w3.org/2000/10/swap/doc/CwmInstall">CWM + installation</a></li> + <li><a href="http://www.graphviz.org/Download..php">GraphViz Download</a> : + it is recommended to use GraphViz version >= 2.18</li> + <li><a href="http://code.google.com/p/fuxi/">FuXi</a>, an N3 engine in + Python: need to install <a href="http://www.python.org/">Python</a> and <a + href="http://code.google.com/p/rdflib/">rdflib</a> like this; see also + "Installation" in <a href="http://code.google.com/p/fuxi/wiki/FuXi">FuXi + wiki</a> : + <pre>sudo apt-get install python2.6-dev mercurial +wget http://peak.telecommunity.com/dist/ez_setup.py +sudo python ez_setup.py +sudo easy_install -U "rdflib>=2.4.2"</pre> + <p>then (on Linux or cygwin) the <a + href="http://mercurial.selenic.com/wiki/">Mercurial</a> repository can be + cloned and installed via:</p> + <pre>hg clone https://fuxi.googlecode.com/hg/ fuxi +cd fuxi +hg update +python setup.py build +sudo python setup.py install</pre> + </li> +</ul> + +<h4 id="L702">Facultative tool</h4> + +<p>External editor, that is system default editor, or gvim when installed, is +now disabled by default. To enable it, the switch is method +<code>ProjectGUI.useExternalEditor()</code> .</p> + +<p>To install and configure Vim :</p> +<ul> + <li><a + href="http://www.vim.org/download.php#pc">http://www.vim.org/download.php</a> + <p>It' not necessary to add Vim in the system path on Windows.<br /> + </p> + <p>You might want to read this page about installing the programmer's + editor <a href="http://www.vim.org/">Vim</a> on Windows : </p> <p><a href="https://www.fieldstone-software.net/docs/machine_setup/Articles/gVim.html">https://www.fieldstone-software.net/docs/machine_setup/Articles/gVim.html</a></p> - <p>( not necessary to add Vim in the system path on Windows )<br /> - The N3 syntax coloring for Vim ( thanks to Niklas Lindström ) :</p> + </li> + <li>The N3 syntax coloring for Vim ( thanks to Niklas Lindström ) : <p><a href="http://www.vim.org/scripts/script.php?script_id=944">http://www.vim.org/scripts/script.php?script_id=944<br /> </a></p> - <p>To associate the N3 syntax for Vim with the file pattern *.n3, add this - in the file .vim/filetype.vim in your home directory:<br /> - </p> + <ul> + <li>To install the syntax, save the downloaded syntax file + <code>n3.vim</code> in directory <code>.vim/syntax</code> (on Windows + <code>C:\Program Files\Vim\vimfiles\syntax</code> )</li> + <li>To associate the N3 syntax for Vim with the file pattern *.n3, add + this in the file <code>.vim/filetype.vim</code> in your home directory + (on Windows <code>C:\Program Files\Vim\vimfiles\filetype.vim</code> ) + :<br /> + </li> + </ul> <pre> augroup filetypedetect au BufNewFile,BufRead *.n3 setfiletype n3 au BufNewFile,BufRead *.ttl setfiletype n3 @@ -401,7 +425,7 @@ " when reading HTTP URL's: au BufEnter *.n3 setfiletype n3 au BufEnter *.ttl setfiletype n3 - au BufEnter *.n t setfiletype n3 + au BufEnter *.nt setfiletype n3 augroup END augroup filetypedetect @@ -415,30 +439,10 @@ au BufNewFile,BufRead *.drl setfiletype perl augroup END</pre> </li> - <li><a href="http://www.w3.org/2000/10/swap/doc/CwmInstall">CWM - installation</a></li> - <li><a href="http://www.graphviz.org/Download..php">GraphViz Download</a> : - it is recommended to use GraphViz version >= 2.18</li> - <li><a href="http://code.google.com/p/fuxi/">FuXi</a>, an N3 engine in - Python: need to install <a href="http://www.python.org/">Python</a> and <a - href="http://code.google.com/p/rdflib/">rdflib</a> first; see - "Installation" in <a href="http://code.google.com/p/fuxi/wiki/FuXi">FuXi - wiki</a> : - <pre>sudo apt-get install python2.6-dev -wget http://peak.telecommunity.com/dist/ez_setup.py -sudo python ez_setup.py -sudo easy_install -U "rdflib>=2.4.2"</pre> - <p>then (on Linux or cygwin) the <a - href="http://mercurial.selenic.com/wiki/">Mercurial</a> repository can be - cloned and installed via:</p> - <pre>hg clone https://fuxi.googlecode.com/hg/ fuxi -cd fuxi -hg update -python setup.py build -sudo python setup.py install</pre> - </li> </ul> +<p></p> + <h2 id="L3298">Support & community</h2> <p><strong>Professional support</strong> on EulerGUI, EulerGUI server, OWL @@ -485,7 +489,7 @@ <ol> <li>create a project<br /> use the file pulldown menu</li> - <li>add a N3 file or URL + <li>add a N3 file or URL <p>it is also possible to drag and drop one or more URL (N3, RDF, OWL, XMI, UML) from a file manager or web browser ( tested with firefox and konqueror ), for example the result of a search on <a @@ -498,12 +502,12 @@ <li>add arguments for Euler or CWM<br /> that's mainly for experts; for Euler the best arguments are automatically added for runs; for CWM nothing is automatically added ; given arguments - are pre-pended to the URL list; + are pre-pended to the URL list; <p>for Euler if you add any argument, nothing is automatically added (except the list of URL's), you must provide all arguments, e.g. :</p> <pre>--sem --test-as --step 1000000</pre> </li> - <li>launch Euler + <li>launch Euler <p>click on one of the buttons bearing the Euler logo;</p> </li> <li>look at the N3 triple results in the lower pane, or click on the yellow @@ -557,14 +561,12 @@ <h4 id="case">CWM use case</h4> <ol> <li>re-use a project like above</li> - <li>launch CWM + <li>launch CWM <p>click on the toothed wheel</p> </li> </ol> +It is recommended to run CWM before Euler or Drools to fully check the syntax. -<p>It is recommended to run CWM before Euler or Drools to fully check the -syntax. </p> - <p>Arguments from GUI (typically <code>--think</code>) are added before --query=file..., not pre-pended like for Euler engine.</p> @@ -573,8 +575,7 @@ <li>re-use a project like above</li> <li>launch Drools : click on the Drools icon on the far right</li> </ol> - -<p>This new inference engine provided by EulerGUI leverages on <a +This new inference engine provided by EulerGUI leverages on <a href="http://www.jboss.org/drools/documentation.html">Drools</a>'s Rete forward chaining algorithm. The processing is much quicker for cases where one creates a large object graph through rules (see <a @@ -582,7 +583,7 @@ GUI generator</a>), but Euler still provides the reference results. The N3 facts and rules are translated to Drools facts and rules, using a single Triple Java class (see details below). The time stamp of the N3 source files is used -to recompile only if necessary. </p> +to recompile only if necessary. <p>If one wants to reuse the facts and Drools rules independently of EulerGUI, one can export the Drools rules base by clicking on File / "Export as Drools". @@ -605,6 +606,42 @@ <li>launch Fuxi : click on the toothed weel icon near CWM's one</li> </ol> +<h3 id="L3796">Which rule engine to use?</h3> + +<p>With EulerGUI you have 5 engines ! In fact most of the N3 engines I know are +here, except the newest clone of CWM in Scala (<a +href="http://code.google.com/p/swap-scala/">swap-scala</a>).</p> + +<p>For general purpose, <strong>Drools / N3 engine</strong> is the best, but +the RETE compilation lasts a few seconds; however afterwards it's very quick, +probably quicker than if you would code the reasonning by hand. E.g. an input +form is generated in a few ms directly from the OWL model (see ???) ! Then, it +leverages on Drools rule engine to keep a stateful Knowledge base, so that one +can add new triples in a new N3 source, and the results will be updated. This +capability is exploited in the <a href="#L4380">EulerGUI server</a>.</p> + +<p>For complex reasoning involving peeping into formulas the <strong>Euler +Prolog engine</strong> is indispensable (a.k.a. EulerSharp, Eye ). It also has +more builtins (math, strings, logic, RIF). Also for modify-and-test cycle Euler +is generally quicker, because there is no rule compilation step, this a +all-in-one reasonning engine. However, it has limitations compared to the +Drools engine: creation of blank nodes step by step, like like when creating a +form from a model, generally does not work and ends with a message :</p> +<pre>** ERROR ** sem ** maximimum_step_count(500000)</pre> + +<p>Also Euler does not store a state; it has no truth maintenance capabilities +like Drools. There is also a 100% Java version of the Euler algorihm, by +running a 100% Java Prolog engine. But this JLog Java Prolog engine is slow +compared to the Euler Prolog engine.</p> + +<p></p> + +<p>CWM is the historic tool written by the authors of N3 logic themselves.</p> + +<p></p> + +<p>FuXi is in active development by Chimezie Ogbuji.</p> + <h3 id="Data">Data sources</h3> <h4 id="Reading">Reading XMI files (UML or eCore)</h4> @@ -721,11 +758,12 @@ <h5 id="L2290">Gloze</h5> <p>There is another implementation of a converter for plain XML files or XML -Schema, from the <a -href="http://jena.hpl.hp.com/juc2006/proceedings/battle/paper.pdf">Gloze -project</a>, a Jena subproject. This implementation is 100% Java. For the Gloze -converter, there is another button with an XML logo to the right of the ReDeFer -logo.</p> +Schema, from the <a href="http://www.gloze.org/">Gloze project</a>, a Jena +subproject; see "<a +href="http://web.me.com/stevebattle/Gloze/Publications/Entries/2006/4/13_Gloze__XML_to_RDF_and_back_again_files/GlozeJUC.pdf">XML +to RDF & back again</a>" by S. Battle. This implementation is 100% Java. +For the Gloze converter, there is another button with an XML logo to the right +of the ReDeFer logo.</p> <p>Currently the Gloze implementation is more used and tested.</p> @@ -733,7 +771,7 @@ <p></p> -<p><img alt="XML_import_EDI" src="../html/images/XML_import_EDI.png" /></p> +<p><img alt="XML_import_EDI" src="images/XML_import_EDI.png" /></p> <p>As you can see above, XML Schema can be imported with Gloze; they are translated into OWL. It detects XML Schemata by their extension .xsd .</p> @@ -777,8 +815,8 @@ href="http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/src/main/java/eulergui/export/XMLSchemaCatalog.java?view=markup">XMLSchemaCatalog</a> . Basically the problem is that in a general RDF graph there is no such thing as a root. Fortunately EulerGUI is able to detect in a general RDF graph the -"root" resource. For example, for an RDF graph representing an XHTML document, -like <a +"root" resource, by searching the "root" RDF URI predicates. For example, for +an RDF graph representing an XHTML document, like <a href="http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/test/simple.html.n3" target="_blank">simple.html.n3</a> , this predicate :</p> <pre><http://www.w3.org/1999/xhtml#html></pre> @@ -786,7 +824,8 @@ <p>will be recognized as the root for the convertion to XML . Note that this does not have to be the first in the N3 document. In fact all the known "root" RDF URI predicates are searched in the projects's N3 or RDF sources, until a -"root" predicate is found .</p> +"root" predicate is found . Then the system property <code>gloze.base</code> is +set to the "root" RDF resource, as if Gloze in command line were used.</p> <p></p> @@ -815,8 +854,7 @@ <p></p> -<p><img alt="SPARQL_import_EDI" src="../html/images/SPARQL_import_EDI.png" -/></p> +<p><img alt="SPARQL_import_EDI" src="images/SPARQL_import_EDI.png" /></p> <p></p> @@ -1150,6 +1188,19 @@ <h3 id="Finding">Finding ontologies on the Web</h3> +<p>First you can add one of these criteria to any Google search (thanks to +Francis LAPIQUE for this trick):</p> + +<p>filetype:rdfs filetype:owl filetype:n3 filetype:xsd filetype:uml +filetype:ecore filetype:xmi , etc.</p> + +<p>And don't forget that, once you have found something that looks good, you +can <strong>drag and drop it on EulerGUI</strong>, to see it in N3.</p> + +<p></p> + +<p>Here is a table of search engines and repositories for ontologies.</p> + <table border="1"> <tbody> <tr> @@ -1175,9 +1226,33 @@ href="http://watson.kmi.open.ac.uk/">http://<strong>watson</strong>.kmi.open.ac.uk/</a></p> </td> <td></td> - <td></td> + <td>also Watson</td> </tr> <tr> + <td><a + href="http://owl.cs.manchester.ac.uk/repository/browser"><strong>TONES</strong> + Repository</a></td> + <td>list with many columns</td> + <td>supports a RESTful interface; + + <p>232 ontologies</p> + </td> + </tr> + <tr> + <td><a href="http://bioportal.bioontology.org/">NCBO Bioportal</a></td> + <td>Repository</td> + <td>187 ontologies actively used in biomedical communities</td> + </tr> + <tr> + <td><a href="http://babel.informatik.uni-bremen.de/search/">ORATE</a> + + <p>(Ontology Repository for Assistive Technologies)</p> + </td> + <td>Repository</td> + <td>55 ontologies, but some are just copies from their main site; also + based on Bioportal Ruby On Rails server.</td> + </tr> + <tr> <td><p><a href="http://semanticweb.org/wiki/Ontology">http://semanticweb.org/wiki/Ontology</a></p> </td> @@ -1229,11 +1304,46 @@ </tbody> </table> +<p><strong>Famous ontologies : "small" ones</strong></p> + <p>Jos de Roo is developping a series of OWL ontologies in N3:</p> <p><a href="http://eulersharp.svn.sourceforge.net/viewvc/eulersharp/trunk/2003/03swap/?sortby=date#dirlist">http://eulersharp.svn.sourceforge.net/viewvc/eulersharp/trunk/2003/03swap/?sortby=date#dirlist</a></p> +<p><a href="http://xmlns.com/foaf/spec/index.rdf">FOAF</a> - Friend Of A Friend +; OWL</p> + +<p><a href="http://usefulinc.com/ns/doap#">DAOP</a> - Description Of A Project; +OWL</p> + +<p><a href="http://rdfs.org/sioc/ns#">SIOC</a> - Semantically-Interlinked +Online Communities; OWL</p> + +<p><a href="http://www.w3.org/2008/05/skos#">SKOS</a> </p> + +<p><a href="http://purl.org/dc/elements/1.1">Dublin Core</a> _ RDFS or OWL ; <a +href="http://purl.org/dc/terms/">dcterms</a> : Dublin Core terms - RDFS ; <a +href="http://purl.org/dc/dcmitype/">dcmitype</a> ; RDFS</p> + +<p>Review, <a href="http://www.w3.org/2006/vcard/ns#">vCard</a> ( this is an +example of recent smart advice from W3C, by which the same URL conveys through +content negociation either OWL or HTML )</p> + +<p><strong>Famous ontologies : "larges" ones</strong></p> + +<p><a href="http://www.ontologyportal.org/">SUMO</a> (with MILO, etc), <a +href="http://www.loa-cnr.it/DOLCE.html">Dolce</a>, <a +href="http://www.ifomis.org/bfo">BFO</a>, <a +href="http://www.umbel.org/">UMBEL</a>, Bremen, etc, are so-called upper level +ontologies; <a +href="http://www.disi.unige.it/person/MascardiV/Download/DISI-TR-06-21.pdf">A +Comparison of Upper Ontologies</a> .</p> + +<p><a href="http://www.opencyc.org/">OpenCYC</a> is a huge ontology (Open +Source), coming with its own closed-source reasonner, but I don't know how to +extract domain specific sub-ontologies from Cyc.</p> + <h3 id="Finding1">Finding data on the Web</h3> <p><a href="http://esw.w3.org/topic/SparqlEndpoints">Currently Alive SPARQL @@ -1242,7 +1352,7 @@ <p><a href="http://dbpedia.org/">http://dbpedia.org/</a></p> <p><a -href="http://www.sindice.com/">http://www.<strong>sindice</strong>.com</a></p> +href="http://www.sindice.com">http://www.<strong>sindice</strong>.com</a></p> <p>Sindice is a nice Semantic Web search engine. It is different from Swoogle in that it searches and shows fact triples, not ontology documents. There is a @@ -1261,7 +1371,7 @@ interface and some examples to train</a>; the sparql endpoint is available at <a href="http://www.rdfabout.com/sparql">http://www.rdfabout.com/sparql</a> ( thanks to Gautier Poupeau from <a -href="http://lespetitescases.net/">lespetitescases.net</a> ).</p> +href="http://lespetitescases.net">lespetitescases.net</a> ).</p> <h3 id="Finding11">Finding rules on the Web; rules for OWL concepts</h3> @@ -1343,10 +1453,77 @@ (RDF/XML, XMI, plain XML, XSD, SPARQL queries, ...), the leftmost button always shows the N3 document that was translated on the fly into a local temporary file, to be fed to the inferences engines. To see the original documents, push -on the ORIG. button.</p> +on the <strong>ORIG.</strong> button.</p> <h3 id="Global">Global tools</h3> +<h4 id="L3377">Search</h4> + +<p>In EulerGUI there is another style of queries, called <em>search</em>. There +can be as many searches as you want in an EulerGUI project. The search is +decoupled from the inference; it searches the facts currently in the knowledge +base, be it the initial facts, or the facts inferred after one or more +inference launch.</p> + +<p>A search translates a query in N3 syntax as a <a +href="http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html_single/index.html#sec.query">Drools +query</a>. </p> + +<p>By comparison, the original N3 queries are translated by Drools rules that +produce only objects of class <code>TripleResult</code>, which do not +participate in the inference. With this technology of original N3 queries, the +result return was completely linked to the process of inference, and there is +only one query per project. It is a legacy of Euler processor in Prolog (always +present), which does not support the "thruth maintenance", called stateful +session in Drools.</p> + +<p>This means that with Drools behind, you can add or remove assertions, and +all consequences of the rules is updated after a call to +<code>fireRules</code>.</p> + +<p>I don't give up objects TriplesResult added to the facts, because there is +existing code that depends on it. But ultimately it will simplify things for +both forms generated and for the new Web server, and for application export.</p> + +<p><strong>N3 searches : appearance in the GUI</strong></p> + +<p>To create an N3 search, push the second button with a question mark. The +buttons for search are different from the unique query orange button, they are +green. without "activated" checkbox, but with the remove red cross. The SEARCH +button on right launches the serach, whose result appear in the result panel +below.</p> + +<p>LIMITATIONS</p> +<ul> + <li>the right hand side (RHS, consequence) of the rule is not taken in + account</li> + <li>only a single implication per search file is allowed (but possibly its + RHS can have several triples)</li> + <li>no provisions for <strong>parameterized</strong> searches; note that + there is no established format for that. According to <a + href="http://www.w3.org/2009/sparql/wiki/Feature:Parameters">sparql/wiki/Feature:Parameters</a>, + Jena ARQ supports that in its core URL. The processor gets the parameter + value from the GUI, the API or the HTTP parameter, plus it could be + annotated in the N3, like this: + <pre>@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix ded: <http://deductions.sf.net/n3/> . +?blog a ded:Parameter. +{ + ?x foaf:name ?name . + ?x foaf:weblog ?blog . +} => { + ?x foaf:name ?name . + ?x foaf:weblog ?blog .}.</pre> + </li> +</ul> + +<p>EXAMPLE</p> + +<p><a href="../examples/facebook-search.n3p">facebook-search.n3p</a></p> + +<p><img alt="N3 search in EulerGUI" src="images/N3search.png" width="811" +height="582" /></p> + <h4 id="Generate">Generate Java code</h4> <p>This is actually Javascript code generation, but instantiating Java @@ -1464,7 +1641,7 @@ href="../examples/koala.n3p">koala.n3p</a> ; the three classes in red on bottom are unsatisfiable in this example.</p> -<p><img alt="OWL_reasoner." src="../html/images/OWL_reasoner.png" width="324" +<p><img alt="OWL_reasoner." src="images/OWL_reasoner.png" width="324" height="491" /></p> <h4 id="L33241">Export as XML</h4> @@ -1472,9 +1649,9 @@ <p>When clicking on "Export as XML" in the File pull-down menu, all N3 source are exported as plain XML files in the <code>xml-export</code> directory in the current directory. The details about the conversion from RDF to plain xml are -<a href="../html/documentation.html#Reading2">above in XML import: Gloze</a>. -The inference engine result, if any, can be exported as XML by clicking on the -third "smile" button on top right of the window.</p> +<a href="#Reading2">above in XML import: Gloze</a>. The inference engine +result, if any, can be exported as XML by clicking on the third "smile" button +on top right of the window.</p> <p>An example of a project exportable as XML is <a href="http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/test/kml_n3.n3p">kml_n3.n3p</a> @@ -1616,8 +1793,7 @@ <p></p> <p>Look here for how to use EulerGUI to launch and save SPARQL queries: <a -href="../html/documentation.html#SPARQL">SPARQL queries as N3 sources</a>. The -SPARQL "endpoint" is : <a +href="#SPARQL">SPARQL queries as N3 sources</a>. The SPARQL "endpoint" is : <a href="http://localhost:2020/sparql">http://localhost:2020/sparql</a> .</p> <p></p> @@ -1638,8 +1814,8 @@ <h3 id="L4380">EulerGUI server</h3> -<p>This paradoxical expression refers to the latest offspring or EulerGUI. It -is not at the moment, EulerGUI's GUI having server capabilities. It is a REST +<p>This paradoxical expression refers to the latest offspring of EulerGUI. It +is not, at the moment, EulerGUI's GUI having server capabilities. It is a REST HTTP server, implemented as a Maven project dependent of EulerGUI, that exposes an EulerGUI project with its expert system (rule engine) features. There is a wiki page on <a @@ -1655,7 +1831,7 @@ <li><a href="../test">EulerGUI test projects</a></li> <li><a href="http://deductions.svn.sourceforge.net/viewvc/deductions/n3/person_import2.n3p">Deduction - form generation from OWL model ( big example )</a> + form generation from OWL model ( big example )</a> <p>Find many others in <a href="http://deductions.svn.sourceforge.net/viewvc/deductions/html/GUIgenerator.html">Deduction project - Java Swing application generator from OWL model and N3 logic @@ -1687,8 +1863,8 @@ rules; export the result as XML using the yellow button on the upper right corner. TODO : add an example <<<<</p> -<p>See above: <a href="../html/documentation.html#L33241">Export as XML</a> ; -<a href="../html/documentation.html#Reading2">XML import: Gloze</a></p> +<p>See above: <a href="#L33241">Export as XML</a> ; <a href="#Reading2">XML +import: Gloze</a></p> <hr /> <p><cite><a @@ -1738,6 +1914,11 @@ <p><a href="http://www.w3.org/2000/10/swap/doc/Rules">Rules and Formulae</a></p> +<p>In EulerGUI site there is a separate <a +href="../../../jmvanel.free.fr/howto_debug_n3_rules.html">how-to page to debug +an N3 rules set</a>. A companion document is <a +href="n3_rules_good_practices.html">N3 rules design good practices</a> .</p> + <p><strong>The specifications</strong>:</p> <p><a @@ -1755,24 +1936,24 @@ Logical Framework For the World Wide Web, by Tim Berners-Lee, Dan Connolly, Lalana Kagal, Yosi Scharf</a></p> +<p><strong>Builtins documentation</strong></p> + <p><a -href="http://www.w3.org/2000/10/swap/doc/CwmBuiltins">http://www.w3.org/2000/10/swap/doc/<strong>CwmBuiltins</strong></a></p> +href="http://www.w3.org/2000/10/swap/doc/CwmBuiltins">http://www.w3.org/2000/10/swap/doc/<strong>CwmBuiltins</strong></a>; +Cwm Builtins are defined in N3 in <a +href="http://www.w3.org/2000/10/swap/log.n3">log.n3</a> .</p> -<p>The Euler specific builtins are defined here in <a +<p>The Euler specific builtins are defined in N3 in <a href="http://eulersharp.svn.sourceforge.net/viewvc/eulersharp/trunk/2003/03swap/log-rules.n3">log-rules.n3</a> .</p> -<p>A companion document in EulerGUI project: <a -href="../html/howto_debug_n3_rules.html">How to debug N3 rules</a>.</p> +<p>Some functions from the XPath functions namespace ( <a +href="http://www.w3.org/2005/xpath-functions#">http://www.w3.org/2005/xpath-functions#</a> +) </p> -<p></p> +<p>are implemented in Euler : <code>resolve-uri , substring , substring-after , +substring-before</code> .</p> -<p>There is a separate <a href="../html/howto_debug_n3_rules.html">how-to page -to debug an N3 rules set</a>.</p> - -<p>A companion document is <a href="../html/n3_rules_good_practices.html">N3 -rules design good practices</a> .</p> - <p></p> <h3 id="Coherent">Coherent Logic</h3> @@ -1817,8 +1998,11 @@ math:notGreaterThan, math:notEqualTo, math:equalTo, math:sum, math:product, math:memberCount, </strong></p> -<p><strong>fn:substring-after</strong></p> +<p><strong>fn:substring-after</strong>, substring , substring-before , +resolve-uri .</p> +<p></p> + <p>The following bring a form of negation into N3 logic.</p> <table border="1"> @@ -1845,7 +2029,7 @@ rdfs:comment "to say that the graph is XSD-inconsistent or has a datatype clash"; rdfs:domain rdfs:Literal; rdfs:range rdfs:Datatype . - + <strong>e:findall</strong> a rdf:Property; rdfs:comment "builtin that (?SCOPE ?SPAN) e:findall (?SELECT ?WHERE ?ANSWER). unifies ?ANSWER with a list that contains all the instantiations of ?SELECT satisfying the ?WHERE clause in the ?SCOPE ?SPAN of all asserted n3 formulae and their log:conclusion"; @@ -1872,7 +2056,7 @@ see respectively <a href="../test/builtins.n3">test/builtins.n3</a> , <a href="http://deductions.svn.sourceforge.net/viewvc/deductions/n3_new/form-rules.n3">form-rules.n3</a></li> <li>trace the right hand side of rules : <code>eg:trace</code> ; see <a - href="../html/n3_rules_good_practices.html">n3_rules_good_practices</a></li> + href="n3_rules_good_practices.html">n3_rules_good_practices</a></li> </ul> <h3 id="Translatin">Translating N3 into Drools language</h3> @@ -1917,7 +2101,7 @@ <tr> <td><pre>package com.sample import com.sample.DroolsTestTriples.Triple; - + rule "OWL transitive property" when // this design works but is not well adapted to automatic translation, @@ -2050,20 +2234,20 @@ </table> <h4 id="TODO">Missing features in Drools translation</h4> - -<p>The mathematical functions defined in <a +The mathematical functions defined in <a href="http://www.w3.org/2000/10/swap/math.n3">http://www.w3.org/2000/10/swap/math.n3</a> , as well as the log:XXX and fn:XXX predicates that are built in CWM and Euler, are currently being implemented, but only very few work at the moment (fn:subStringAfter, log:uri, e:findall ). The latter is from the Euler specific builtins, defined here in <a href="http://eulersharp.svn.sourceforge.net/viewvc/eulersharp/trunk/2003/03swap/log-rules.n3">log-rules.n3</a> - . </p> + . -<h2 id="TODO1">Missing features</h2> +<h2 id="TODO">Missing features</h2> <p>Partly prioritized, mostly historical, with older ideas below.</p> -<pre>- an N3 file with fileencoding=utf-8, fileencodings=ucs-bom,utf-8,default,latin1 +<pre>- EulerGUI should flag non-monotonic (non OWA) rules and documents containing such rules. +- an N3 file with fileencoding=utf-8, fileencodings=ucs-bom,utf-8,default,latin1 is not parsed right when it contains a non-ASCII character - add to project ontologies imported by owl:import - refresh all conversions to N3 (useful if modifications in e.g. Protégé) @@ -2097,7 +2281,7 @@ - run external process and Drools runs in another thread, to be able to stop them - guess when it is appropriate to import swing-rules2.n3 and - launch the application generator: when there is peorperty app:editedClass; + launch the application generator: when there is property app:editedClass; maybe do so by applying rules in a KB instance dedicated to EulerGUI itself. - in Tools, add in project a file describing RDF properties used in the project's rules - give (facultative) name to projects @@ -2128,19 +2312,21 @@ vim --servername 'myFile.n3' --remote-send ':123' <a href="http://www.vim.org/htmldoc/remote.html">http://www.vim.org/htmldoc/remote.html</a> - source file management: highligh somehow the missing local files +- the orange ? button will open directly the editor, while also creating a button entry in the source list - expert system to find a suitable editor on a given machine - a preferences (configuration) file $HOME/.eulergui.n3 which will be updated with a form generated using Déductions form generator -- open one or more existing N3 files and make a project of it +- open one or more existing N3 files and make a project of it, + by D'n'D or multiple command line arguments - several queries in project (just one activated, or running in parallel in several tabs); - enhance link to Pellet: also classify instances - maintain a list of problems from Pellet, from special N3 rules) - link to Prover9 (check what Euler does already); - component based architecture with on-demand download, or discard unused classes (OSGi?, Maven based?); - SPARQL syntax for queries (either translating to N3 queries, or reusing ARQ) -- connect to Sesame database; -- connect to JDBC database; -- connect to XML database (eXist); +- connect to Sesame, Virtuoso databases: amounts to SPARQL access +- connect to JDBC database; (mapping? RDBToRDF) +- connect to XML database (eXist), reuse Gloze mapping; - connect to Joafip, XMLEncoder, etc persistence; - specify and implement my "Proposal for a vocabulary for RDF projects for development tools"; - open a form "Déductions style" for an N3 file in project; @@ -2165,25 +2351,25 @@ external processes for editors) - show modification status since last run, and watch file modification to restart last run (maybe using <a href="http://sourceforge.net/projects/jnotify/">jnotify</a>) -- allow other simplified file paths than just ./x.n3 or ./dir/xx.n3 , namely ../xx.n3 +- allow other simplified file paths than just ./x.n3 or ./dir/xx.n3 , namely ../xx.n3 - add a message panel, to avoid writing on the standard output - more flexibility to enter CWM parameters - change the project file format to be N3 or RDF (instead of Java XMLEncoder today); - the implementation would not be too difficult, by reusing the infrastructure to + the implementation would not be too difficult, by reusing the infrastructure to generate a Java object graph from special N3 triples ( there would be a N3 rule set to translate the project file N3 vocabulary to a Java object graph ) - show dependency among N3 and RDF sources: some define RDFS or OWL classes, others use them; some "define" Id's in subject position, others "use" them in object position; also rule dependencies: some sources have property P1 in consequent, while others have property P1 in antecedent -- write a set of rules for checking quality of OWL models, and display messages in a +- write a set of rules for checking quality of OWL models, and display messages in a convenient way -- write a set of rules for checking quality of rules, and display messages in a +- write a set of rules for checking quality of rules, and display messages in a convenient way; - configure the Prolog engine: Yap, SWI or JLog - integrate Swoop (open Swoop on current project) - integrate Atempto (e.g. use the REST interface calling the ACE site) -- integrate WordNet, to propose to user correspondences between +- integrate WordNet, to propose to user correspondences between OWL and RDF classes and WN synsets - export in some rule format ( SWRL, RIF, RuleML, Rewerse, JBoss Rules, ... ) - import other rule formats @@ -2191,7 +2377,7 @@ AOP ?) - put Prolog console in a console frame, not standard input/output - add a hourglass to show the progress of the computation -- possibility to break the computation +- possibility to break the computation - tooltips associated to resources in N3 éditor with "which class", "which properties?", "which instances?" - tooltips showing namespaces corresponding to prefixes @@ -2201,7 +2387,7 @@ UML, XMI, RDF, ... - check consistency of the project, whenever the file changes on disk) (still need the button in case the GUI can't always know when - an HTPP URL has changed) + an HTPP URL has changed) - provide more sensible error messages when one of the source files/URLs is invalid (at least the file name) - saving an N3 on the network ? Webdav ? FTP ? @@ -2232,12 +2418,11 @@ this will make N3 project directory more manageable by splitting them into sub-directories</pre> <h2 id="Developmen">Development</h2> - -<p>If you want to see a log view of the latest changes in source, go to: <a +If you want to see a log view of the latest changes in source, go to: <a href="http://eulergui.svn.sourceforge.net/viewvc/eulergui/?view=log">http://eulergui.svn.sourceforge.net/viewvc/eulergui/?view=log</a> <br /> -</p> + <p>In command line you can do something like :</p> <table border="1"> @@ -2284,7 +2469,8 @@ </table> <p>This is in the source in a script named -<strong><code>install_packages_ubuntu.sh</code></strong> .</p> +<strong><code>install_packages_ubuntu.sh</code></strong> , that does in fact +more .</p> <p></p> @@ -2475,7 +2661,8 @@ downloaded sources, make eulergui project dependent from parser4j , and remove M2_REPO/**/parser*.jar from the libraries of project eulergui .</p> -<h3 id="Uploading">Uploading stuff on the Maven repository on Sourceforge</h3> +<h3 id="Uploading">Compiling dependencies and uploading them on the Maven +repository on Sourceforge</h3> <p>As specified in pom.xml, the Maven repository for EulerGUI is here:</p> @@ -2484,13 +2671,22 @@ <p></p> +<p>In the recipies below, it is also possible to try something locally without +uploading on the remote repository. To do this, use this argument:</p> +<pre>-Durl=file:${HOME}/.m2/repository/</pre> + +<p><strong>Parser4J</strong></p> + <p>Do this to upload on the EulerGUI Maven repository on Sourceforge the latest .jar from the Parser4J Sourceforge project:</p> <table border="1"> <tbody> <tr> - <td><pre>ant -f buildjar.xml + <td><pre>svn co https://parser4j.svn.sourceforge.net/svnroot/parser4j/trunk/parser4j/ \ + parser4j +# create an eclipse project from the parser4j directory; this will compile all +ant -f buildjar.xml VERSION=trunk mvn deploy:deploy-file \ -Durl=sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven2 \ @@ -2640,7 +2836,7 @@ <li>Build from sources (see preceding paragraph), preferably on a virgin directory</li> <li>tag the release on the Subversion depot (interactively) , perform various - checks : + checks : <table border="1"> <tbody> @@ -2660,14 +2856,14 @@ href="http://eulergui.svn.sourceforge.net/viewvc/eulergui/tags/">http://eulergui.svn.sourceforge.net/viewvc/eulergui/tags/</a></p> <p>Further facultative advice:</p> <ul> - <li>it is wise to do a dry run here : + <li>it is wise to do a dry run here : <pre>mvn release:prepare -DdryRun=true</pre> </li> - <li>to verify the Subversion configuration in pom.xml you can do this: + <li>to verify the Subversion configuration in pom.xml you can do this: <pre>mvn scm:validate</pre> </li> <li>if that wouldn't work you can always do the Subversion tagging - manually : + manually : <table border="1"> <tbody> @@ -2686,7 +2882,7 @@ </li> </ul> </li> - <li>in another shell, start a SourceForge shell : + <li>in another shell, start a SourceForge shell : <table border="1"> <tbody> @@ -2697,7 +2893,7 @@ </tbody> </table> </li> - <li>builds and deploys on the Maven repository for EulerGUI : + <li>builds and deploys on the Maven repository for EulerGUI : <table border="1"> <tbody> @@ -2713,7 +2909,7 @@ web site generated by Maven</a>.</p> </li> <li>if the site deployment didn't work for some reason, do it independently - like this: + like this: <table border="1"> <tbody> @@ -2742,7 +2938,7 @@ href="https://sourceforge.net/project/admin/explorer.php?group_id=237733">release File Manager page on SF.NET site for EulerGUI</a> ; create a new directory corresponding to the release, e.g. 1.5 ; upload this EulerGUI jar to - Sourceforge : + Sourceforge : <table border="1"> <tbody> @@ -2762,13 +2958,13 @@ this can be very slow) is to use the SourceForge shell created above, and copy the jar already uploaded by Maven . If you have the error message "Transport endpoint is not connected" , logout with <code>shutdown</code> - and re-login. + and re-login. <table border="1"> <tbody> <tr> <td><pre>cd /home/frs/project/e/eu/eulergui/eulergui/1.4 -cp /home/groups/e/eu/eulergui/htdocs/maven2/eulergui/eulergui/1.4/eulergui-1.4-jar-with-dependencies.jar +cp /home/groups/e/eu/eulergui/htdocs/maven2/eulergui/eulergui/1.4/eulergui-1.4-jar-with-dependencies.jar </pre> </td> </tr> @@ -2811,7 +3007,7 @@ <h4 id="L1845">Accelerate tests</h4> -<p>I you're in a hurry, type this, which will avoid searching for Maven plugin +<p>If you're in a hurry, type this, which will avoid searching for Maven plugin updates, and reading from the Internet all the POM for project dependencies :</p> @@ -2849,7 +3045,9 @@ </tbody> </table> -<p></p> +<p>And if you're in a BIG hurry (but that's not recommanded) you can skip tests +with :</p> +<pre>-Dmaven.test.skip=true </pre> <h4 id="L1980">Gui functional tests</h4> @@ -2878,7 +3076,7 @@ <li>add the Abbot jars to your eclipse project , or create an eclipse project and make the eulergui project dependent of the Abbot project (the latter seems quicker)</li> - <li>run class + <li>run class <pre>abbot.editor.Costello</pre> <p>with argument </p> <pre>src/test/abbot/test_person_abbot.xml</pre> @@ -2958,8 +3156,8 @@ <p></p> -<p>There is a separate <a href="../html/howto_debug_n3_rules.html">how-to page -to debug an N3 rules set</a>.</p> +<p>There is a separate <a href="howto_debug_n3_rules.html">how-to page to debug +an N3 rules set</a>.</p> <h2 id="Architectu">Architecture</h2> @@ -2999,7 +3197,7 @@ <p>Instanciator class is also a mess, TODO:</p> <ul> <li>distinguish N3 Id's for Java classes and Java properties (implies - modifying Déductions rules, so this will happen for next release 1.2 ) + modifying Déductions rules, so this will happen for next release 1.2 ) <pre>@prefix jclass: <http://java.sun.com/class#> . @prefix java: <http://java.sun.com/property#> .</pre> </li> @@ -3035,11 +3233,5 @@ <p></p> <p></p> - -<p></p> - -<p></p> - -<p></p> </body> </html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-24 14:25:27
|
Revision: 1345 http://eulergui.svn.sourceforge.net/eulergui/?rev=1345&view=rev Author: iamlolive Date: 2010-03-24 14:25:21 +0000 (Wed, 24 Mar 2010) Log Message: ----------- updated to 1.5 version Modified Paths: -------------- trunk/eulergui/CHANGELOG Modified: trunk/eulergui/CHANGELOG =================================================================== --- trunk/eulergui/CHANGELOG 2010-03-23 21:21:55 UTC (rev 1344) +++ trunk/eulergui/CHANGELOG 2010-03-24 14:25:21 UTC (rev 1345) @@ -1,5 +1,13 @@ Change Log +[EulerGUI 1.5 2010-03-24] + +- java editor is now a jEdit component +- parsing errors are now highlighted in the editor (+tooltip at the error line) +- data sources are now rendered as HTML links +- minor UI tricks (one single editor per data source, editor comes to the +front end on parsing error) + [EulerGUI 1.4.2 2010-01-29] - on Windows it was not always possible to open the editor on project files This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jm...@us...> - 2010-03-23 21:22:01
|
Revision: 1344 http://eulergui.svn.sourceforge.net/eulergui/?rev=1344&view=rev Author: jmvanel Date: 2010-03-23 21:21:55 +0000 (Tue, 23 Mar 2010) Log Message: ----------- swrl-n3-rules.n3: At last ! I could do recursive variable substitution: from {:x :sibling :y} :substituteVariableList ( (:x ?X)(:y ?Y) ) . to: ({_:sk1 :sibling :y} (:y _:sk12)) :variableSubstitution {_:sk1 :sibling _:sk12} Modified Paths: -------------- trunk/eulergui/examples/swrl-n3-rules.n3 trunk/eulergui/examples/swrl-n3-rulesQ.n3 Modified: trunk/eulergui/examples/swrl-n3-rules.n3 =================================================================== --- trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-23 18:38:34 UTC (rev 1343) +++ trunk/eulergui/examples/swrl-n3-rules.n3 2010-03-23 21:21:55 UTC (rev 1344) @@ -31,7 +31,10 @@ ?RULE :hasVariableTable ?VT. ?VT :has_variable ( ?A1 ?VAR ) . } => { - ?RULE :n3_antecedent_has { ?VAR rdf:type ?CLASS } . + ?CRIT :criterium_in_n3_is { ?VAR rdf:type ?CLASS } . + ?CRIT :criterium_in_n3_is2{ ?A1 rdf:type ?CLASS } . + ?RULE :n3_antecedent_has { ?VAR rdf:type ?CLASS } . + ?RULE :n3_antecedent_has_var_subject ?CRIT . }. { @@ -41,10 +44,13 @@ swrl:argument2 ?A2 ; swrl:propertyPredicate ?P . ?RULE :hasVariableTable ?VT. - ?VT :has_variable ( ?A1 ?VAR1 ) . - ?VT :has_variable ( ?A2 ?VAR2 ) . + ?VT :has_variable ?A1 . + ?VT :has_variable ?A2 . } => { - ?RULE :n3_antecedent_has { ?VAR1 ?P ?VAR2 } . + ?CRIT :criterium_in_n3_is { ?VAR1 ?P ?VAR2 } . + ?CRIT :criterium_in_n3_is2{ ?A1 ?P ?A2 } . + ?RULE :n3_antecedent_has { ?VAR1 ?P ?VAR2 } . + ?RULE :n3_antecedent_has_var_subject_object ?CRIT . }. ######### consequent ######### @@ -68,22 +74,13 @@ swrl:argument1 ?A1 ; swrl:classPredicate ?CLASS . ?RULE :hasVariableTable ?VT. - ?VT :has_variable ( ?A1 ?VAR ) . + ?VT :has_variable ?A1 . } => { ?RULE :n3_consequent_has { ?VAR rdf:type ?CLASS } . }. ######### gather variables ######### -{ # create variable table - ?RULE a swrl:Imp ; -} => { - ?RULE :hasVariableTable ?VT. - # ?RULE :hasVariableTableBody ?VTB. - # ?RULE :hasVariableTableHead ?VTH. - ?VT a :VariableTable. -}. - { ?CRIT :swrl_body_in ?RULE ; swrl:argument1 ?A @@ -110,35 +107,84 @@ ?A :swrl_head_variable_in ?RULE . }. +{ # create variable table + ?RULE a swrl:Imp ; +} => { + ?RULE :hasVariableTable ?VT. + ?VT a :VariableTable. +}. + { ?A :swrl_body_variable_in ?RULE . ?RULE :hasVariableTable ?VT. } => { - ?VT :has_variable ( ?A ?VAR ) . + ?RULE :hasVariable ?A . + ?VT :has_variable ?A . }. { ?A :swrl_head_variable_in ?RULE . ?RULE :hasVariableTable ?VT. } => { - ?VT :has_variable ( ?A ?VAR ) . # a blank node that will become a ? variable in the final query + ?RULE :hasVariable ?A . + ?VT :has_variable ?A . }. -######## assembly ######### +{ + ?RULE a swrl:Imp . + _:d e:findall ( ?A + { ?RULE :hasVariable ?A . } + ?LA ). + ?LA e:distinct ?LAD . +} => { + ?RULE :distinctVariables ?LAD . +}. +######## variable substitution ######### + +# variable substitution of ?V by ?VT in a triple ?T == {?S ?P ?O} +{ {?V ?P ?O} :substituteVariable (?V ?VT). +} => { # the subject is substituted + ( {?V ?P ?O} (?V ?VT) ) :variableSubstitution {?VT ?P ?O} +}. +{ {?S ?P ?V} :substituteVariable (?V ?VT). +} => { # the object is substituted + ( {?S ?P ?V} (?V ?VT) ) :variableSubstitution {?S ?P ?VT} +}. + +#** What: :substituteVariableList - substitution of a list of variable substitutions ?L in a triple +# @subject an RDF statement +# @object list of variable substitutions, e.g. ( (:x ?X)(:y ?Y) ) +{ + ?STAT :substituteVariableList ?L . + ?STAT log:includes {?S ?P ?O} . + ?L a rdf:List . + ?L rdf:first (?V ?VT) . + # _:d e:trace ( rdf:first :substituteVariableList ?L log:includes {?V ?P ?O} ). +} => { + {?S ?P ?O} :substituteVariable (?V ?VT). +}. + { - _:d e:findall ( ?A {?RULE :n3_antecedent_has ?A} ?LA ). - _:d e:findall ( ?C {?RULE :n3_consequent_has ?C} ?LC ). - ?LA log:conjunction ?FA . - ?LC log:conjunction ?FC . + ?STAT :substituteVariableList ?L . + ?STAT log:includes {?S ?P ?O} . + ?L a rdf:List . + ?L rdf:rest ?REST . + + # recover result from preceding rule: + ?L rdf:first (?V ?VT) . + ( {?S ?P ?O} (?V ?VT) ) :variableSubstitution {?SS ?P ?OS} . + + #_:d e:trace ( rdf:rest :substituteVariableList ?L + # :variableSubstitution {?SS ?P ?OS} ). } => { - ?RULE :n3RuleParts ( ?FA ?FC ) . + ?REST a rdf:List . + {?SS ?P ?OS} :substituteVariableList ?REST . }. -# { -# _:d e:findall ( ?A {?RULE :n3_antecedent_has ?A} ?LA ). -# _:d e:findall ( ?C {?RULE :n3_consequent_has ?C} ?LC ). -# ?LA log:conjunction ?FA . -# ?LC log:conjunction ?FC . -# } => { -# ?RULE :asN3 { ?FA => ?FC } -# }. +# test +{:x :sibling :y} :substituteVariableList +( (:x ?X)(:y ?Y) ) . +( (:x ?X)(:y ?Y) ) a rdf:List . + +{ ?LC :substituteVariable ?L . } => { _:dd :print (?LC :substituteVariable ?L) . }. +{ ?LC :variableSubstitution ?L . } => { _:dd :print (?LC :variableSubstitution ?L) . }. Modified: trunk/eulergui/examples/swrl-n3-rulesQ.n3 =================================================================== --- trunk/eulergui/examples/swrl-n3-rulesQ.n3 2010-03-23 18:38:34 UTC (rev 1343) +++ trunk/eulergui/examples/swrl-n3-rulesQ.n3 2010-03-23 21:21:55 UTC (rev 1344) @@ -11,16 +11,19 @@ @prefix fn: <http://www.w3.org/2005/xpath-functions#>. { - ?RULE :n3RuleParts ( ?FA ?FC ) . + _:d e:findall ( ?A { ?RULE :n3_antecedent_has ?A } ?LA ). + _:d e:findall ( ?C {?RULE :n3_consequent_has ?C} ?LC ). + ?LA log:conjunction ?FA . + ?LC log:conjunction ?FC . } => { - ?FA => ?FC + ?FA => ?FC }. -# { -# ?RULE :asN3 { ?FA => ?FC } -# } => { -# ?FA => ?FC -# }. +{ ?BC a :BadChild} => { ?BC a :BadChild}. -{ ?BC a :BadChild} => -{ ?BC a :BadChild}. \ No newline at end of file +# { ?C rdf:first ?D} => { ?C rdf:first ?D}. +# { ?C rdf:rest ?D} => { ?C rdf:rest ?D}. +# { ?C ?D rdf:nil } => { ?C ?D rdf:nil }. +# +{ ?LC :print ?L . } => { ?LC :print ?L . }. + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-23 18:38:41
|
Revision: 1343 http://eulergui.svn.sourceforge.net/eulergui/?rev=1343&view=rev Author: iamlolive Date: 2010-03-23 18:38:34 +0000 (Tue, 23 Mar 2010) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/eulergui/pom.xml Modified: trunk/eulergui/pom.xml =================================================================== --- trunk/eulergui/pom.xml 2010-03-23 18:38:24 UTC (rev 1342) +++ trunk/eulergui/pom.xml 2010-03-23 18:38:34 UTC (rev 1343) @@ -3,7 +3,7 @@ <groupId>eulergui</groupId> <artifactId>eulergui</artifactId> <packaging>jar</packaging> - <version>1.5</version> + <version>1.6-SNAPSHOT</version> <name>eulerGUI</name> <url>http://eulergui.sourceforge.net/</url> <description> @@ -44,9 +44,9 @@ </mailingLists> <scm> - <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</developerConnection> - <connection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</connection> - <url>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</url> + <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</developerConnection> + <connection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</connection> + <url>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</url> </scm> <issueManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-23 18:38:33
|
Revision: 1342 http://eulergui.svn.sourceforge.net/eulergui/?rev=1342&view=rev Author: iamlolive Date: 2010-03-23 18:38:24 +0000 (Tue, 23 Mar 2010) Log Message: ----------- [maven-release-plugin] copy for tag eulergui-1.5 Added Paths: ----------- tags/eulergui-1.5/ tags/eulergui-1.5/pom.xml Removed Paths: ------------- tags/eulergui-1.5/pom.xml Deleted: tags/eulergui-1.5/pom.xml =================================================================== --- trunk/eulergui/pom.xml 2010-03-23 18:06:05 UTC (rev 1340) +++ tags/eulergui-1.5/pom.xml 2010-03-23 18:38:24 UTC (rev 1342) @@ -1,606 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <groupId>eulergui</groupId> - <artifactId>eulergui</artifactId> - <packaging>jar</packaging> - <version>1.5-SNAPSHOT</version> - <name>eulerGUI</name> - <url>http://eulergui.sourceforge.net/</url> - <description> -Provides a GUI for the eulersharp.sourceforge.net Euler/SEM reasoning engine. The sources can be N3 (Notation 3), OWL, RDF(S), UML or eCore, files or URL's. It is becoming a lightweight IDE for Artificial Intelligence. - </description> - <inceptionYear>2008</inceptionYear><!-- 25 august 2008 --> - - <licenses> - <license> - <name>GNU Library or Lesser General Public License (LGPL)</name> - <url>http://www.gnu.org/licenses/lgpl.html</url> - </license> - </licenses> - - <developers> - <developer> - <name>Jean-Marc Vanel</name> - <id>jmvanel</id> - </developer> - <developer> - <name>Jos De Roo</name> - <id>josd</id> - </developer> - <developer> - <name>Luc Peuvrier</name> - <id>luc_peuvrier</id> - </developer> - </developers> - - <mailingLists> - <mailingList> - <name>EulerGUI user mailing list</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=eulergui-user</archive> - <post>eul...@li...</post> - </mailingList> - </mailingLists> - - <scm> - <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</developerConnection> - <connection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</connection> - <url>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</url> - </scm> - - <issueManagement> - <system>sourceforge</system><!--don't care--> - <url>http://sourceforge.net/tracker/?group_id=237733</url> - </issueManagement> - - <repositories> - <repository> - <id>repository.jboss.org</id> - <url>http://repository.jboss.org/maven2</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> - - <repository> <!-- for Parser4J, Grappa --> - <id>repository.eulergui.sf.net</id> - <url>http://eulergui.sourceforge.net/maven2</url> - </repository> - - <repository> <!-- for XStream --> - <id>repository.codehaus.org</id> - <url>http://repository.codehaus.org/xstream/xstream</url> - </repository> - - <repository> <!-- for Euler --> - <id>repository.eulersharp.sf.net</id> - <url>http://eulersharp.sourceforge.net/maven2</url> - </repository> - - <repository> <!-- for Pellet ( courtesy Thorsten Möller ) --> - <id>on.cs.unibas.ch</id> - <name>DBIS Maven Releases Repository</name> - <url>http://on.cs.unibas.ch/maven/repository</url> - <layout>default</layout> - <snapshots> - <enabled>false</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> - - <!-- jena repository in last position because it is often slow --> - <repository> - <id>repository.jena.org</id> - <!--url>http://jena.hpl.hp.com/repo</url--> - <url>http://openjena.org/repo</url> - </repository> - - </repositories> - - <build> - - <!-- - <resources> - <resource> - <directory>src/target/generated-resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - </resources> ---> - - <plugins> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <!--version>2.2-beta-3</version--> - <configuration> - <descriptorRefs> - <descriptorRef>jar-with-dependencies</descriptorRef> - </descriptorRefs> - <archive> - <manifest> - <mainClass>n3_project.ProjectGUI</mainClass> - <addClasspath>true</addClasspath> - </manifest> - <manifestEntries> - <SCM-Revision>${buildNumber}</SCM-Revision> - </manifestEntries> - </archive> - </configuration> - <executions> - <execution> - <id>make-assembly</id> <!-- this is used for inheritance merges --> - <phase>package</phase> <!-- append to the packaging phase. --> - <goals> - <goal>single</goal> <!-- goals == mojos --> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-release-plugin</artifactId> - <version>2.0-beta-7</version> - <configuration> - <!-- probably not needed, according to - http://maven.apache.org/plugins/maven-release-plugin/usage.html --> - <tagBase>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags</tagBase> - <!-- file:${HOME}/src/eulergui_test/eulergui/tags --> - </configuration> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>1.1</version> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>src/target/generated-resources</source> - <source>src/main/parser4j/java</source> - <source>src/main/parser4j/resources</source> - <source>src/main/parser4j/tool</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - -<plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>buildnumber-maven-plugin</artifactId> - <executions> - <execution> - <phase>validate</phase> - <goals> - <goal>create</goal> - </goals> - </execution> - </executions> - <configuration> - <doCheck>false</doCheck> - <doUpdate>true</doUpdate> - </configuration> -</plugin> - -<plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <archive> - <manifestEntries> - <SCM-Revision>${buildNumber}</SCM-Revision> - </manifestEntries> - </archive> - </configuration> -</plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <!--version>1.1</version--> - <executions> - <execution> - <goals> - <goal>java</goal> - </goals> - </execution> - </executions> - <configuration> - <mainClass>n3_project.ProjectGUI</mainClass> - <!-- arguments> - <argument>argument1</argument> - TODO would be nice to have the equivalent of $* in a shell script - </arguments> - <systemProperties> - <systemProperty> - <key>myproperty</key> - <value>myvalue</value> - </systemProperty> - ... - </systemProperties--> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <phase>verify</phase> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo.webstart</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>jnlp</goal> <!-- use jnlp, jnlp-inline or jnlp-single as appropriate --> - </goals> - </execution> - </executions> - <configuration> - <!--outputDirectory></outputDirectory--> <!-- not required?? --> - - <!-- - Set to true to exclude all transitive dependencies. Default is false. - --> - <excludeTransitive>false</excludeTransitive> - - <!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory --> - <libPath>lib</libPath> - - <!-- [optional] transitive dependencies filter - if omitted, all transitive dependencies are included --> - <dependencies> - <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter --> - <includes> - <include>commons-logging:commons-logging</include> - <include>commons-cli:commons-cli</include> - </includes> - <!-- excludes> - <exclude></exclude> - <excludes--> - </dependencies> - - <!--resourcesDirectory>${project.basedir}/src/main/jnlp/resources</resourcesDirectory--> <!-- default value --> - - <!-- JNLP generation --> - <jnlp> - <!-- default values --> - <!--inputTemplateResourcePath>${project.basedir}</inputTemplateResourcePath--> - <!--inputTemplate>src/main/jnlp/template.vm</inputTemplate--> <!-- relative to inputTemplateResourcePath --> - <outputFile>app.jnlp</outputFile> <!-- defaults to launch.jnlp --> - - <!-- used to automatically identify the jar containing the main class. --> - <!-- this is perhaps going to change --> - <mainClass>org.apache.commons.cli.BasicParser</mainClass> - </jnlp> - - - <!-- SIGNING --> - <!-- defining this will automatically sign the jar and its dependencies, if necessary --> - <sign> - <keystore>fillme</keystore> - <keypass>fillme</keypass> <!-- we need to override passwords easily from the command line. ${keypass} --> - <storepass>fillme</storepass> <!-- ${storepass} --> - <!--storetype>fillme</storetype--> - <alias>fillme</alias> - - <!--validity>fillme</validity--> - - <!-- only required for generating the keystore --> - <!--dnameCn>fillme</dnameCn> - <dnameOu>fillme</dnameOu> - <dnameO>fillme</dnameO> - <dnameL>fillme</dnameL> - <dnameSt>fillme</dnameSt> - <dnameC>fillme</dnameC--> - - <verify>true</verify> <!-- verify that the signing operation succeeded --> - - <!-- KEYSTORE MANAGEMENT --> - <keystoreConfig> - <delete>true</delete> <!-- delete the keystore --> - <gen>true</gen> <!-- optional shortcut to generate the store. --> - </keystoreConfig> - </sign> - - <!-- BUILDING PROCESS --> - - <pack200>true</pack200> - <gzip>true</gzip> <!-- default force when pack200 false, true when pack200 selected ?? --> - - <!-- causes a version attribute to be output in each jar resource element, optional, default is false --> - <outputJarVersions>true</outputJarVersions> - - <!--install>false</install--> <!-- not yet supported --> - <verbose>true</verbose> - - </configuration> - </plugin> - - <!-- PENDING don't understand what maven-changes-plugin does - cf http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge - plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <inherited>false</inherited> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - <configuration> - <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> - </configuration> - </plugin --> - - <!-- for debugging in eclipse a test case -<plugin> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <forkMode>never</forkMode> - </configuration> -</plugin> ---> - - </plugins> - - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.6</source> - <target>1.6</target> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <dependencies> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - <scope>test</scope> - </dependency> - - <!-- dependencies on Euler(sharp) depot on SF.NET --> - - <dependency> - <groupId>euler</groupId> - <artifactId>euler</artifactId> - <version>2010-03-10</version> - <!-- 2008-12-11 - 2008-11-04 2009-01-22 2009-02-10 2009-03-15 - 2009-04-26 2009-05-18 2009-06-18 2009-06-26 2009-06-29 2009-07-07 - 2009-07-14 2009-07-21 2009-08-25 2009-10-02 2009-10-23 2009-11-21 - 2009-12-18 2010-01-24 2010-02-27 - --> - </dependency> - - <dependency> - <groupId>att</groupId> - <artifactId>grappa</artifactId> - <version>1.2</version> - </dependency> - - <dependency> - <groupId>parser4j</groupId> - <!-- artifactId>parser</artifactId --> - <artifactId>all</artifactId> - <!--version>beta4</version--> - <version>trunk</version> - </dependency> - - <!-- misc. dependencies --> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>jena</artifactId> - <version>2.6.2</version> - <!-- 2.5.7 2.6.0 --> - </dependency> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>arq</artifactId> - <version>2.8.2</version> - </dependency> - - <dependency> - <groupId>log4j</groupId> <!-- for parser4j --> - <artifactId>log4j</artifactId> - <version>1.2.14</version> - </dependency> - <dependency> - <groupId>xstream</groupId> <!-- for parser4j --> - <artifactId>xstream</artifactId> - <version>1.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>Gloze</artifactId> - <version>1.01-beta2</version> - </dependency> - - <!-- Drools dependencies --> - - <dependency> - <groupId>org.drools</groupId> - <artifactId>drools-api</artifactId> - <version>5.1.0.M1</version> - </dependency> - <dependency> - <groupId>org.drools</groupId> - <artifactId>drools-compiler</artifactId> - <version>5.1.0.M1</version> - <!-- <version>5.0.0.M5 5.0.0.CR1 5.0.1 --> - </dependency> - - <!-- eclipse eCore + UML2 --> - - <dependency> - <groupId>org.eclipse.emf</groupId> - <artifactId>ecore</artifactId> - <version>2.4.2.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.emf.ecore</groupId> - <artifactId>xmi</artifactId> - <version>2.4.1.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.emf</groupId> - <artifactId>common</artifactId> - <version>2.4.0.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.uml2</groupId> - <artifactId>common</artifactId> - <version>1.4.0.v200805131030</version> - </dependency> - <dependency> - <groupId>org.eclipse.uml2</groupId> - <artifactId>uml</artifactId> - <version>2.2.2.v200811051031</version> - </dependency> - - <!-- for ReDeFer --> - <dependency> - <groupId>hsqldb</groupId> - <artifactId>hsqldb</artifactId> - <version>1.8.0.10</version> - </dependency> - - <dependency> - <groupId>net.sf.saxon</groupId> - <artifactId>saxon</artifactId> - <version>8.7</version> - </dependency> - - <!-- for tests, could do with JDK/JAXP alone, but this is convenient and just 44kb --> - <dependency> - <groupId>net.sf.saxon</groupId> - <artifactId>saxon-dom</artifactId> - <version>8.7</version> - <scope>test</scope> - </dependency> - - <!-- for Pellet ( courtesy Thorsten Möller ) --> - - <dependency> - <groupId>com.owldl</groupId> - <artifactId>pellet</artifactId> - <version>2.0.2</version> - <!-- 2.0-rc7 2.0 2.0.1 --> - <exclusions> - <exclusion> - <!-- If Pellet is never used in a way that it would start Jetty. --> - <groupId>org.mortbay.jetty</groupId> - <artifactId>org.mortbay.jetty</artifactId> - </exclusion> - <exclusion> - <!-- If Pellet is used exclusively via Jena, i.e., the - OWL API is not required at runtime. --> - <groupId>net.sourceforge.owlapi</groupId> - <artifactId>owlapi</artifactId> - </exclusion> - </exclusions> - </dependency> - - <dependency> - <groupId>org.netbeans</groupId> - <artifactId>jemmy</artifactId> - <version>2.2.7.5</version> - <scope>test</scope> - </dependency> - -<!--dependency> - <groupId>net.sf.jedit-syntax</groupId> - <artifactId>jedit-syntax</artifactId> - <version>2.2.2</version> -</dependency--> - -<dependency> - <groupId>org.jedit</groupId> - <artifactId>jedit</artifactId> - <version>4.3.1</version> -</dependency> - - -<dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>1.0.4</version> - </dependency> - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - <version>1.0</version> -</dependency> - -<!-- - <dependency> - <groupId>net.sourceforge.abbot</groupId> - <artifactId>costello</artifactId> - <version>1.0.3-SNAPHOT</version> - <scope>test</scope> - </dependency> - --> - -<!-- pave the way for YAML import and export - <dependency> - <groupId>org.yaml</groupId> - <artifactId>snakeyaml</artifactId> - <version>1.4</version> - </dependency> ---> - - </dependencies> - - <distributionManagement> - <repository> - <!-- id corresponds to a <server> tag in ~/.m2/server.xml --> - <id>repository.eulergui.sf.net</id> - <name>Repository for eulergui and 3rd party libraries not having Maven repo.</name> - <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven2</url> - </repository> - <site> - <id>eulergui.sourceforge.net</id> - <!-- CAUTION: these don't work with site:deploy : - <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url <url>sftp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> - --> - <url>scp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> - </site> - </distributionManagement> - -</project> Copied: tags/eulergui-1.5/pom.xml (from rev 1341, trunk/eulergui/pom.xml) =================================================================== --- tags/eulergui-1.5/pom.xml (rev 0) +++ tags/eulergui-1.5/pom.xml 2010-03-23 18:38:24 UTC (rev 1342) @@ -0,0 +1,606 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>eulergui</groupId> + <artifactId>eulergui</artifactId> + <packaging>jar</packaging> + <version>1.5</version> + <name>eulerGUI</name> + <url>http://eulergui.sourceforge.net/</url> + <description> +Provides a GUI for the eulersharp.sourceforge.net Euler/SEM reasoning engine. The sources can be N3 (Notation 3), OWL, RDF(S), UML or eCore, files or URL's. It is becoming a lightweight IDE for Artificial Intelligence. + </description> + <inceptionYear>2008</inceptionYear><!-- 25 august 2008 --> + + <licenses> + <license> + <name>GNU Library or Lesser General Public License (LGPL)</name> + <url>http://www.gnu.org/licenses/lgpl.html</url> + </license> + </licenses> + + <developers> + <developer> + <name>Jean-Marc Vanel</name> + <id>jmvanel</id> + </developer> + <developer> + <name>Jos De Roo</name> + <id>josd</id> + </developer> + <developer> + <name>Luc Peuvrier</name> + <id>luc_peuvrier</id> + </developer> + </developers> + + <mailingLists> + <mailingList> + <name>EulerGUI user mailing list</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=eulergui-user</archive> + <post>eul...@li...</post> + </mailingList> + </mailingLists> + + <scm> + <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</developerConnection> + <connection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</connection> + <url>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</url> + </scm> + + <issueManagement> + <system>sourceforge</system><!--don't care--> + <url>http://sourceforge.net/tracker/?group_id=237733</url> + </issueManagement> + + <repositories> + <repository> + <id>repository.jboss.org</id> + <url>http://repository.jboss.org/maven2</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + + <repository> <!-- for Parser4J, Grappa --> + <id>repository.eulergui.sf.net</id> + <url>http://eulergui.sourceforge.net/maven2</url> + </repository> + + <repository> <!-- for XStream --> + <id>repository.codehaus.org</id> + <url>http://repository.codehaus.org/xstream/xstream</url> + </repository> + + <repository> <!-- for Euler --> + <id>repository.eulersharp.sf.net</id> + <url>http://eulersharp.sourceforge.net/maven2</url> + </repository> + + <repository> <!-- for Pellet ( courtesy Thorsten Möller ) --> + <id>on.cs.unibas.ch</id> + <name>DBIS Maven Releases Repository</name> + <url>http://on.cs.unibas.ch/maven/repository</url> + <layout>default</layout> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + + <!-- jena repository in last position because it is often slow --> + <repository> + <id>repository.jena.org</id> + <!--url>http://jena.hpl.hp.com/repo</url--> + <url>http://openjena.org/repo</url> + </repository> + + </repositories> + + <build> + + <!-- + <resources> + <resource> + <directory>src/target/generated-resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> +--> + + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <!--version>2.2-beta-3</version--> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + <archive> + <manifest> + <mainClass>n3_project.ProjectGUI</mainClass> + <addClasspath>true</addClasspath> + </manifest> + <manifestEntries> + <SCM-Revision>${buildNumber}</SCM-Revision> + </manifestEntries> + </archive> + </configuration> + <executions> + <execution> + <id>make-assembly</id> <!-- this is used for inheritance merges --> + <phase>package</phase> <!-- append to the packaging phase. --> + <goals> + <goal>single</goal> <!-- goals == mojos --> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.0-beta-7</version> + <configuration> + <!-- probably not needed, according to + http://maven.apache.org/plugins/maven-release-plugin/usage.html --> + <tagBase>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags</tagBase> + <!-- file:${HOME}/src/eulergui_test/eulergui/tags --> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>src/target/generated-resources</source> + <source>src/main/parser4j/java</source> + <source>src/main/parser4j/resources</source> + <source>src/main/parser4j/tool</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + +<plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>buildnumber-maven-plugin</artifactId> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>create</goal> + </goals> + </execution> + </executions> + <configuration> + <doCheck>false</doCheck> + <doUpdate>true</doUpdate> + </configuration> +</plugin> + +<plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <SCM-Revision>${buildNumber}</SCM-Revision> + </manifestEntries> + </archive> + </configuration> +</plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <!--version>1.1</version--> + <executions> + <execution> + <goals> + <goal>java</goal> + </goals> + </execution> + </executions> + <configuration> + <mainClass>n3_project.ProjectGUI</mainClass> + <!-- arguments> + <argument>argument1</argument> + TODO would be nice to have the equivalent of $* in a shell script + </arguments> + <systemProperties> + <systemProperty> + <key>myproperty</key> + <value>myvalue</value> + </systemProperty> + ... + </systemProperties--> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <phase>verify</phase> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo.webstart</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>jnlp</goal> <!-- use jnlp, jnlp-inline or jnlp-single as appropriate --> + </goals> + </execution> + </executions> + <configuration> + <!--outputDirectory></outputDirectory--> <!-- not required?? --> + + <!-- + Set to true to exclude all transitive dependencies. Default is false. + --> + <excludeTransitive>false</excludeTransitive> + + <!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory --> + <libPath>lib</libPath> + + <!-- [optional] transitive dependencies filter - if omitted, all transitive dependencies are included --> + <dependencies> + <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter --> + <includes> + <include>commons-logging:commons-logging</include> + <include>commons-cli:commons-cli</include> + </includes> + <!-- excludes> + <exclude></exclude> + <excludes--> + </dependencies> + + <!--resourcesDirectory>${project.basedir}/src/main/jnlp/resources</resourcesDirectory--> <!-- default value --> + + <!-- JNLP generation --> + <jnlp> + <!-- default values --> + <!--inputTemplateResourcePath>${project.basedir}</inputTemplateResourcePath--> + <!--inputTemplate>src/main/jnlp/template.vm</inputTemplate--> <!-- relative to inputTemplateResourcePath --> + <outputFile>app.jnlp</outputFile> <!-- defaults to launch.jnlp --> + + <!-- used to automatically identify the jar containing the main class. --> + <!-- this is perhaps going to change --> + <mainClass>org.apache.commons.cli.BasicParser</mainClass> + </jnlp> + + + <!-- SIGNING --> + <!-- defining this will automatically sign the jar and its dependencies, if necessary --> + <sign> + <keystore>fillme</keystore> + <keypass>fillme</keypass> <!-- we need to override passwords easily from the command line. ${keypass} --> + <storepass>fillme</storepass> <!-- ${storepass} --> + <!--storetype>fillme</storetype--> + <alias>fillme</alias> + + <!--validity>fillme</validity--> + + <!-- only required for generating the keystore --> + <!--dnameCn>fillme</dnameCn> + <dnameOu>fillme</dnameOu> + <dnameO>fillme</dnameO> + <dnameL>fillme</dnameL> + <dnameSt>fillme</dnameSt> + <dnameC>fillme</dnameC--> + + <verify>true</verify> <!-- verify that the signing operation succeeded --> + + <!-- KEYSTORE MANAGEMENT --> + <keystoreConfig> + <delete>true</delete> <!-- delete the keystore --> + <gen>true</gen> <!-- optional shortcut to generate the store. --> + </keystoreConfig> + </sign> + + <!-- BUILDING PROCESS --> + + <pack200>true</pack200> + <gzip>true</gzip> <!-- default force when pack200 false, true when pack200 selected ?? --> + + <!-- causes a version attribute to be output in each jar resource element, optional, default is false --> + <outputJarVersions>true</outputJarVersions> + + <!--install>false</install--> <!-- not yet supported --> + <verbose>true</verbose> + + </configuration> + </plugin> + + <!-- PENDING don't understand what maven-changes-plugin does + cf http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge + plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <inherited>false</inherited> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> + </configuration> + </plugin --> + + <!-- for debugging in eclipse a test case +<plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <forkMode>never</forkMode> + </configuration> +</plugin> +--> + + </plugins> + + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <dependencies> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + + <!-- dependencies on Euler(sharp) depot on SF.NET --> + + <dependency> + <groupId>euler</groupId> + <artifactId>euler</artifactId> + <version>2010-03-10</version> + <!-- 2008-12-11 - 2008-11-04 2009-01-22 2009-02-10 2009-03-15 + 2009-04-26 2009-05-18 2009-06-18 2009-06-26 2009-06-29 2009-07-07 + 2009-07-14 2009-07-21 2009-08-25 2009-10-02 2009-10-23 2009-11-21 + 2009-12-18 2010-01-24 2010-02-27 + --> + </dependency> + + <dependency> + <groupId>att</groupId> + <artifactId>grappa</artifactId> + <version>1.2</version> + </dependency> + + <dependency> + <groupId>parser4j</groupId> + <!-- artifactId>parser</artifactId --> + <artifactId>all</artifactId> + <!--version>beta4</version--> + <version>trunk</version> + </dependency> + + <!-- misc. dependencies --> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>jena</artifactId> + <version>2.6.2</version> + <!-- 2.5.7 2.6.0 --> + </dependency> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>arq</artifactId> + <version>2.8.2</version> + </dependency> + + <dependency> + <groupId>log4j</groupId> <!-- for parser4j --> + <artifactId>log4j</artifactId> + <version>1.2.14</version> + </dependency> + <dependency> + <groupId>xstream</groupId> <!-- for parser4j --> + <artifactId>xstream</artifactId> + <version>1.2</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>Gloze</artifactId> + <version>1.01-beta2</version> + </dependency> + + <!-- Drools dependencies --> + + <dependency> + <groupId>org.drools</groupId> + <artifactId>drools-api</artifactId> + <version>5.1.0.M1</version> + </dependency> + <dependency> + <groupId>org.drools</groupId> + <artifactId>drools-compiler</artifactId> + <version>5.1.0.M1</version> + <!-- <version>5.0.0.M5 5.0.0.CR1 5.0.1 --> + </dependency> + + <!-- eclipse eCore + UML2 --> + + <dependency> + <groupId>org.eclipse.emf</groupId> + <artifactId>ecore</artifactId> + <version>2.4.2.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.emf.ecore</groupId> + <artifactId>xmi</artifactId> + <version>2.4.1.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.emf</groupId> + <artifactId>common</artifactId> + <version>2.4.0.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.uml2</groupId> + <artifactId>common</artifactId> + <version>1.4.0.v200805131030</version> + </dependency> + <dependency> + <groupId>org.eclipse.uml2</groupId> + <artifactId>uml</artifactId> + <version>2.2.2.v200811051031</version> + </dependency> + + <!-- for ReDeFer --> + <dependency> + <groupId>hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.10</version> + </dependency> + + <dependency> + <groupId>net.sf.saxon</groupId> + <artifactId>saxon</artifactId> + <version>8.7</version> + </dependency> + + <!-- for tests, could do with JDK/JAXP alone, but this is convenient and just 44kb --> + <dependency> + <groupId>net.sf.saxon</groupId> + <artifactId>saxon-dom</artifactId> + <version>8.7</version> + <scope>test</scope> + </dependency> + + <!-- for Pellet ( courtesy Thorsten Möller ) --> + + <dependency> + <groupId>com.owldl</groupId> + <artifactId>pellet</artifactId> + <version>2.0.2</version> + <!-- 2.0-rc7 2.0 2.0.1 --> + <exclusions> + <exclusion> + <!-- If Pellet is never used in a way that it would start Jetty. --> + <groupId>org.mortbay.jetty</groupId> + <artifactId>org.mortbay.jetty</artifactId> + </exclusion> + <exclusion> + <!-- If Pellet is used exclusively via Jena, i.e., the + OWL API is not required at runtime. --> + <groupId>net.sourceforge.owlapi</groupId> + <artifactId>owlapi</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.netbeans</groupId> + <artifactId>jemmy</artifactId> + <version>2.2.7.5</version> + <scope>test</scope> + </dependency> + +<!--dependency> + <groupId>net.sf.jedit-syntax</groupId> + <artifactId>jedit-syntax</artifactId> + <version>2.2.2</version> +</dependency--> + +<dependency> + <groupId>org.jedit</groupId> + <artifactId>jedit</artifactId> + <version>4.3.1</version> +</dependency> + + +<dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.0.4</version> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.0</version> +</dependency> + +<!-- + <dependency> + <groupId>net.sourceforge.abbot</groupId> + <artifactId>costello</artifactId> + <version>1.0.3-SNAPHOT</version> + <scope>test</scope> + </dependency> + --> + +<!-- pave the way for YAML import and export + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>1.4</version> + </dependency> +--> + + </dependencies> + + <distributionManagement> + <repository> + <!-- id corresponds to a <server> tag in ~/.m2/server.xml --> + <id>repository.eulergui.sf.net</id> + <name>Repository for eulergui and 3rd party libraries not having Maven repo.</name> + <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven2</url> + </repository> + <site> + <id>eulergui.sourceforge.net</id> + <!-- CAUTION: these don't work with site:deploy : + <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url <url>sftp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> + --> + <url>scp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> + </site> + </distributionManagement> + +</project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <iam...@us...> - 2010-03-23 18:38:19
|
Revision: 1341 http://eulergui.svn.sourceforge.net/eulergui/?rev=1341&view=rev Author: iamlolive Date: 2010-03-23 18:38:04 +0000 (Tue, 23 Mar 2010) Log Message: ----------- [maven-release-plugin] prepare release eulergui-1.5 Modified Paths: -------------- trunk/eulergui/pom.xml Modified: trunk/eulergui/pom.xml =================================================================== --- trunk/eulergui/pom.xml 2010-03-23 18:06:05 UTC (rev 1340) +++ trunk/eulergui/pom.xml 2010-03-23 18:38:04 UTC (rev 1341) @@ -1,606 +1,606 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <groupId>eulergui</groupId> - <artifactId>eulergui</artifactId> - <packaging>jar</packaging> - <version>1.5-SNAPSHOT</version> - <name>eulerGUI</name> - <url>http://eulergui.sourceforge.net/</url> - <description> -Provides a GUI for the eulersharp.sourceforge.net Euler/SEM reasoning engine. The sources can be N3 (Notation 3), OWL, RDF(S), UML or eCore, files or URL's. It is becoming a lightweight IDE for Artificial Intelligence. - </description> - <inceptionYear>2008</inceptionYear><!-- 25 august 2008 --> - - <licenses> - <license> - <name>GNU Library or Lesser General Public License (LGPL)</name> - <url>http://www.gnu.org/licenses/lgpl.html</url> - </license> - </licenses> - - <developers> - <developer> - <name>Jean-Marc Vanel</name> - <id>jmvanel</id> - </developer> - <developer> - <name>Jos De Roo</name> - <id>josd</id> - </developer> - <developer> - <name>Luc Peuvrier</name> - <id>luc_peuvrier</id> - </developer> - </developers> - - <mailingLists> - <mailingList> - <name>EulerGUI user mailing list</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</unsubscribe> - <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=eulergui-user</archive> - <post>eul...@li...</post> - </mailingList> - </mailingLists> - - <scm> - <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</developerConnection> - <connection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</connection> - <url>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.2</url> - </scm> - - <issueManagement> - <system>sourceforge</system><!--don't care--> - <url>http://sourceforge.net/tracker/?group_id=237733</url> - </issueManagement> - - <repositories> - <repository> - <id>repository.jboss.org</id> - <url>http://repository.jboss.org/maven2</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> - - <repository> <!-- for Parser4J, Grappa --> - <id>repository.eulergui.sf.net</id> - <url>http://eulergui.sourceforge.net/maven2</url> - </repository> - - <repository> <!-- for XStream --> - <id>repository.codehaus.org</id> - <url>http://repository.codehaus.org/xstream/xstream</url> - </repository> - - <repository> <!-- for Euler --> - <id>repository.eulersharp.sf.net</id> - <url>http://eulersharp.sourceforge.net/maven2</url> - </repository> - - <repository> <!-- for Pellet ( courtesy Thorsten Möller ) --> - <id>on.cs.unibas.ch</id> - <name>DBIS Maven Releases Repository</name> - <url>http://on.cs.unibas.ch/maven/repository</url> - <layout>default</layout> - <snapshots> - <enabled>false</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </repository> - - <!-- jena repository in last position because it is often slow --> - <repository> - <id>repository.jena.org</id> - <!--url>http://jena.hpl.hp.com/repo</url--> - <url>http://openjena.org/repo</url> - </repository> - - </repositories> - - <build> - - <!-- - <resources> - <resource> - <directory>src/target/generated-resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - </resources> ---> - - <plugins> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <!--version>2.2-beta-3</version--> - <configuration> - <descriptorRefs> - <descriptorRef>jar-with-dependencies</descriptorRef> - </descriptorRefs> - <archive> - <manifest> - <mainClass>n3_project.ProjectGUI</mainClass> - <addClasspath>true</addClasspath> - </manifest> - <manifestEntries> - <SCM-Revision>${buildNumber}</SCM-Revision> - </manifestEntries> - </archive> - </configuration> - <executions> - <execution> - <id>make-assembly</id> <!-- this is used for inheritance merges --> - <phase>package</phase> <!-- append to the packaging phase. --> - <goals> - <goal>single</goal> <!-- goals == mojos --> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-release-plugin</artifactId> - <version>2.0-beta-7</version> - <configuration> - <!-- probably not needed, according to - http://maven.apache.org/plugins/maven-release-plugin/usage.html --> - <tagBase>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags</tagBase> - <!-- file:${HOME}/src/eulergui_test/eulergui/tags --> - </configuration> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>1.1</version> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>src/target/generated-resources</source> - <source>src/main/parser4j/java</source> - <source>src/main/parser4j/resources</source> - <source>src/main/parser4j/tool</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - -<plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>buildnumber-maven-plugin</artifactId> - <executions> - <execution> - <phase>validate</phase> - <goals> - <goal>create</goal> - </goals> - </execution> - </executions> - <configuration> - <doCheck>false</doCheck> - <doUpdate>true</doUpdate> - </configuration> -</plugin> - -<plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <archive> - <manifestEntries> - <SCM-Revision>${buildNumber}</SCM-Revision> - </manifestEntries> - </archive> - </configuration> -</plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <!--version>1.1</version--> - <executions> - <execution> - <goals> - <goal>java</goal> - </goals> - </execution> - </executions> - <configuration> - <mainClass>n3_project.ProjectGUI</mainClass> - <!-- arguments> - <argument>argument1</argument> - TODO would be nice to have the equivalent of $* in a shell script - </arguments> - <systemProperties> - <systemProperty> - <key>myproperty</key> - <value>myvalue</value> - </systemProperty> - ... - </systemProperties--> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <phase>verify</phase> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo.webstart</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>jnlp</goal> <!-- use jnlp, jnlp-inline or jnlp-single as appropriate --> - </goals> - </execution> - </executions> - <configuration> - <!--outputDirectory></outputDirectory--> <!-- not required?? --> - - <!-- - Set to true to exclude all transitive dependencies. Default is false. - --> - <excludeTransitive>false</excludeTransitive> - - <!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory --> - <libPath>lib</libPath> - - <!-- [optional] transitive dependencies filter - if omitted, all transitive dependencies are included --> - <dependencies> - <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter --> - <includes> - <include>commons-logging:commons-logging</include> - <include>commons-cli:commons-cli</include> - </includes> - <!-- excludes> - <exclude></exclude> - <excludes--> - </dependencies> - - <!--resourcesDirectory>${project.basedir}/src/main/jnlp/resources</resourcesDirectory--> <!-- default value --> - - <!-- JNLP generation --> - <jnlp> - <!-- default values --> - <!--inputTemplateResourcePath>${project.basedir}</inputTemplateResourcePath--> - <!--inputTemplate>src/main/jnlp/template.vm</inputTemplate--> <!-- relative to inputTemplateResourcePath --> - <outputFile>app.jnlp</outputFile> <!-- defaults to launch.jnlp --> - - <!-- used to automatically identify the jar containing the main class. --> - <!-- this is perhaps going to change --> - <mainClass>org.apache.commons.cli.BasicParser</mainClass> - </jnlp> - - - <!-- SIGNING --> - <!-- defining this will automatically sign the jar and its dependencies, if necessary --> - <sign> - <keystore>fillme</keystore> - <keypass>fillme</keypass> <!-- we need to override passwords easily from the command line. ${keypass} --> - <storepass>fillme</storepass> <!-- ${storepass} --> - <!--storetype>fillme</storetype--> - <alias>fillme</alias> - - <!--validity>fillme</validity--> - - <!-- only required for generating the keystore --> - <!--dnameCn>fillme</dnameCn> - <dnameOu>fillme</dnameOu> - <dnameO>fillme</dnameO> - <dnameL>fillme</dnameL> - <dnameSt>fillme</dnameSt> - <dnameC>fillme</dnameC--> - - <verify>true</verify> <!-- verify that the signing operation succeeded --> - - <!-- KEYSTORE MANAGEMENT --> - <keystoreConfig> - <delete>true</delete> <!-- delete the keystore --> - <gen>true</gen> <!-- optional shortcut to generate the store. --> - </keystoreConfig> - </sign> - - <!-- BUILDING PROCESS --> - - <pack200>true</pack200> - <gzip>true</gzip> <!-- default force when pack200 false, true when pack200 selected ?? --> - - <!-- causes a version attribute to be output in each jar resource element, optional, default is false --> - <outputJarVersions>true</outputJarVersions> - - <!--install>false</install--> <!-- not yet supported --> - <verbose>true</verbose> - - </configuration> - </plugin> - - <!-- PENDING don't understand what maven-changes-plugin does - cf http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge - plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <inherited>false</inherited> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - <configuration> - <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> - </configuration> - </plugin --> - - <!-- for debugging in eclipse a test case -<plugin> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <forkMode>never</forkMode> - </configuration> -</plugin> ---> - - </plugins> - - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.6</source> - <target>1.6</target> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <dependencies> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - <scope>test</scope> - </dependency> - - <!-- dependencies on Euler(sharp) depot on SF.NET --> - - <dependency> - <groupId>euler</groupId> - <artifactId>euler</artifactId> - <version>2010-03-10</version> - <!-- 2008-12-11 - 2008-11-04 2009-01-22 2009-02-10 2009-03-15 - 2009-04-26 2009-05-18 2009-06-18 2009-06-26 2009-06-29 2009-07-07 - 2009-07-14 2009-07-21 2009-08-25 2009-10-02 2009-10-23 2009-11-21 - 2009-12-18 2010-01-24 2010-02-27 - --> - </dependency> - - <dependency> - <groupId>att</groupId> - <artifactId>grappa</artifactId> - <version>1.2</version> - </dependency> - - <dependency> - <groupId>parser4j</groupId> - <!-- artifactId>parser</artifactId --> - <artifactId>all</artifactId> - <!--version>beta4</version--> - <version>trunk</version> - </dependency> - - <!-- misc. dependencies --> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>jena</artifactId> - <version>2.6.2</version> - <!-- 2.5.7 2.6.0 --> - </dependency> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>arq</artifactId> - <version>2.8.2</version> - </dependency> - - <dependency> - <groupId>log4j</groupId> <!-- for parser4j --> - <artifactId>log4j</artifactId> - <version>1.2.14</version> - </dependency> - <dependency> - <groupId>xstream</groupId> <!-- for parser4j --> - <artifactId>xstream</artifactId> - <version>1.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>com.hp.hpl.jena</groupId> - <artifactId>Gloze</artifactId> - <version>1.01-beta2</version> - </dependency> - - <!-- Drools dependencies --> - - <dependency> - <groupId>org.drools</groupId> - <artifactId>drools-api</artifactId> - <version>5.1.0.M1</version> - </dependency> - <dependency> - <groupId>org.drools</groupId> - <artifactId>drools-compiler</artifactId> - <version>5.1.0.M1</version> - <!-- <version>5.0.0.M5 5.0.0.CR1 5.0.1 --> - </dependency> - - <!-- eclipse eCore + UML2 --> - - <dependency> - <groupId>org.eclipse.emf</groupId> - <artifactId>ecore</artifactId> - <version>2.4.2.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.emf.ecore</groupId> - <artifactId>xmi</artifactId> - <version>2.4.1.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.emf</groupId> - <artifactId>common</artifactId> - <version>2.4.0.v200902171115</version> - </dependency> - <dependency> - <groupId>org.eclipse.uml2</groupId> - <artifactId>common</artifactId> - <version>1.4.0.v200805131030</version> - </dependency> - <dependency> - <groupId>org.eclipse.uml2</groupId> - <artifactId>uml</artifactId> - <version>2.2.2.v200811051031</version> - </dependency> - - <!-- for ReDeFer --> - <dependency> - <groupId>hsqldb</groupId> - <artifactId>hsqldb</artifactId> - <version>1.8.0.10</version> - </dependency> - - <dependency> - <groupId>net.sf.saxon</groupId> - <artifactId>saxon</artifactId> - <version>8.7</version> - </dependency> - - <!-- for tests, could do with JDK/JAXP alone, but this is convenient and just 44kb --> - <dependency> - <groupId>net.sf.saxon</groupId> - <artifactId>saxon-dom</artifactId> - <version>8.7</version> - <scope>test</scope> - </dependency> - - <!-- for Pellet ( courtesy Thorsten Möller ) --> - - <dependency> - <groupId>com.owldl</groupId> - <artifactId>pellet</artifactId> - <version>2.0.2</version> - <!-- 2.0-rc7 2.0 2.0.1 --> - <exclusions> - <exclusion> - <!-- If Pellet is never used in a way that it would start Jetty. --> - <groupId>org.mortbay.jetty</groupId> - <artifactId>org.mortbay.jetty</artifactId> - </exclusion> - <exclusion> - <!-- If Pellet is used exclusively via Jena, i.e., the - OWL API is not required at runtime. --> - <groupId>net.sourceforge.owlapi</groupId> - <artifactId>owlapi</artifactId> - </exclusion> - </exclusions> - </dependency> - - <dependency> - <groupId>org.netbeans</groupId> - <artifactId>jemmy</artifactId> - <version>2.2.7.5</version> - <scope>test</scope> - </dependency> - -<!--dependency> - <groupId>net.sf.jedit-syntax</groupId> - <artifactId>jedit-syntax</artifactId> - <version>2.2.2</version> -</dependency--> - -<dependency> - <groupId>org.jedit</groupId> - <artifactId>jedit</artifactId> - <version>4.3.1</version> -</dependency> - - -<dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>1.0.4</version> - </dependency> - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - <version>1.0</version> -</dependency> - -<!-- - <dependency> - <groupId>net.sourceforge.abbot</groupId> - <artifactId>costello</artifactId> - <version>1.0.3-SNAPHOT</version> - <scope>test</scope> - </dependency> - --> - -<!-- pave the way for YAML import and export - <dependency> - <groupId>org.yaml</groupId> - <artifactId>snakeyaml</artifactId> - <version>1.4</version> - </dependency> ---> - - </dependencies> - - <distributionManagement> - <repository> - <!-- id corresponds to a <server> tag in ~/.m2/server.xml --> - <id>repository.eulergui.sf.net</id> - <name>Repository for eulergui and 3rd party libraries not having Maven repo.</name> - <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven2</url> - </repository> - <site> - <id>eulergui.sourceforge.net</id> - <!-- CAUTION: these don't work with site:deploy : - <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url <url>sftp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> - --> - <url>scp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> - </site> - </distributionManagement> - -</project> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>eulergui</groupId> + <artifactId>eulergui</artifactId> + <packaging>jar</packaging> + <version>1.5</version> + <name>eulerGUI</name> + <url>http://eulergui.sourceforge.net/</url> + <description> +Provides a GUI for the eulersharp.sourceforge.net Euler/SEM reasoning engine. The sources can be N3 (Notation 3), OWL, RDF(S), UML or eCore, files or URL's. It is becoming a lightweight IDE for Artificial Intelligence. + </description> + <inceptionYear>2008</inceptionYear><!-- 25 august 2008 --> + + <licenses> + <license> + <name>GNU Library or Lesser General Public License (LGPL)</name> + <url>http://www.gnu.org/licenses/lgpl.html</url> + </license> + </licenses> + + <developers> + <developer> + <name>Jean-Marc Vanel</name> + <id>jmvanel</id> + </developer> + <developer> + <name>Jos De Roo</name> + <id>josd</id> + </developer> + <developer> + <name>Luc Peuvrier</name> + <id>luc_peuvrier</id> + </developer> + </developers> + + <mailingLists> + <mailingList> + <name>EulerGUI user mailing list</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/eulergui-user</unsubscribe> + <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=eulergui-user</archive> + <post>eul...@li...</post> + </mailingList> + </mailingLists> + + <scm> + <developerConnection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</developerConnection> + <connection>scm:svn:https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</connection> + <url>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags/eulergui-1.5</url> + </scm> + + <issueManagement> + <system>sourceforge</system><!--don't care--> + <url>http://sourceforge.net/tracker/?group_id=237733</url> + </issueManagement> + + <repositories> + <repository> + <id>repository.jboss.org</id> + <url>http://repository.jboss.org/maven2</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + + <repository> <!-- for Parser4J, Grappa --> + <id>repository.eulergui.sf.net</id> + <url>http://eulergui.sourceforge.net/maven2</url> + </repository> + + <repository> <!-- for XStream --> + <id>repository.codehaus.org</id> + <url>http://repository.codehaus.org/xstream/xstream</url> + </repository> + + <repository> <!-- for Euler --> + <id>repository.eulersharp.sf.net</id> + <url>http://eulersharp.sourceforge.net/maven2</url> + </repository> + + <repository> <!-- for Pellet ( courtesy Thorsten Möller ) --> + <id>on.cs.unibas.ch</id> + <name>DBIS Maven Releases Repository</name> + <url>http://on.cs.unibas.ch/maven/repository</url> + <layout>default</layout> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + + <!-- jena repository in last position because it is often slow --> + <repository> + <id>repository.jena.org</id> + <!--url>http://jena.hpl.hp.com/repo</url--> + <url>http://openjena.org/repo</url> + </repository> + + </repositories> + + <build> + + <!-- + <resources> + <resource> + <directory>src/target/generated-resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> +--> + + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <!--version>2.2-beta-3</version--> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + <archive> + <manifest> + <mainClass>n3_project.ProjectGUI</mainClass> + <addClasspath>true</addClasspath> + </manifest> + <manifestEntries> + <SCM-Revision>${buildNumber}</SCM-Revision> + </manifestEntries> + </archive> + </configuration> + <executions> + <execution> + <id>make-assembly</id> <!-- this is used for inheritance merges --> + <phase>package</phase> <!-- append to the packaging phase. --> + <goals> + <goal>single</goal> <!-- goals == mojos --> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.0-beta-7</version> + <configuration> + <!-- probably not needed, according to + http://maven.apache.org/plugins/maven-release-plugin/usage.html --> + <tagBase>https://eulergui.svn.sourceforge.net/svnroot/eulergui/tags</tagBase> + <!-- file:${HOME}/src/eulergui_test/eulergui/tags --> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>src/target/generated-resources</source> + <source>src/main/parser4j/java</source> + <source>src/main/parser4j/resources</source> + <source>src/main/parser4j/tool</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + +<plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>buildnumber-maven-plugin</artifactId> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>create</goal> + </goals> + </execution> + </executions> + <configuration> + <doCheck>false</doCheck> + <doUpdate>true</doUpdate> + </configuration> +</plugin> + +<plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <SCM-Revision>${buildNumber}</SCM-Revision> + </manifestEntries> + </archive> + </configuration> +</plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <!--version>1.1</version--> + <executions> + <execution> + <goals> + <goal>java</goal> + </goals> + </execution> + </executions> + <configuration> + <mainClass>n3_project.ProjectGUI</mainClass> + <!-- arguments> + <argument>argument1</argument> + TODO would be nice to have the equivalent of $* in a shell script + </arguments> + <systemProperties> + <systemProperty> + <key>myproperty</key> + <value>myvalue</value> + </systemProperty> + ... + </systemProperties--> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <phase>verify</phase> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo.webstart</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>jnlp</goal> <!-- use jnlp, jnlp-inline or jnlp-single as appropriate --> + </goals> + </execution> + </executions> + <configuration> + <!--outputDirectory></outputDirectory--> <!-- not required?? --> + + <!-- + Set to true to exclude all transitive dependencies. Default is false. + --> + <excludeTransitive>false</excludeTransitive> + + <!-- The path where the libraries are stored within the jnlp structure. not required. by default the libraries are within the working directory --> + <libPath>lib</libPath> + + <!-- [optional] transitive dependencies filter - if omitted, all transitive dependencies are included --> + <dependencies> + <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter --> + <includes> + <include>commons-logging:commons-logging</include> + <include>commons-cli:commons-cli</include> + </includes> + <!-- excludes> + <exclude></exclude> + <excludes--> + </dependencies> + + <!--resourcesDirectory>${project.basedir}/src/main/jnlp/resources</resourcesDirectory--> <!-- default value --> + + <!-- JNLP generation --> + <jnlp> + <!-- default values --> + <!--inputTemplateResourcePath>${project.basedir}</inputTemplateResourcePath--> + <!--inputTemplate>src/main/jnlp/template.vm</inputTemplate--> <!-- relative to inputTemplateResourcePath --> + <outputFile>app.jnlp</outputFile> <!-- defaults to launch.jnlp --> + + <!-- used to automatically identify the jar containing the main class. --> + <!-- this is perhaps going to change --> + <mainClass>org.apache.commons.cli.BasicParser</mainClass> + </jnlp> + + + <!-- SIGNING --> + <!-- defining this will automatically sign the jar and its dependencies, if necessary --> + <sign> + <keystore>fillme</keystore> + <keypass>fillme</keypass> <!-- we need to override passwords easily from the command line. ${keypass} --> + <storepass>fillme</storepass> <!-- ${storepass} --> + <!--storetype>fillme</storetype--> + <alias>fillme</alias> + + <!--validity>fillme</validity--> + + <!-- only required for generating the keystore --> + <!--dnameCn>fillme</dnameCn> + <dnameOu>fillme</dnameOu> + <dnameO>fillme</dnameO> + <dnameL>fillme</dnameL> + <dnameSt>fillme</dnameSt> + <dnameC>fillme</dnameC--> + + <verify>true</verify> <!-- verify that the signing operation succeeded --> + + <!-- KEYSTORE MANAGEMENT --> + <keystoreConfig> + <delete>true</delete> <!-- delete the keystore --> + <gen>true</gen> <!-- optional shortcut to generate the store. --> + </keystoreConfig> + </sign> + + <!-- BUILDING PROCESS --> + + <pack200>true</pack200> + <gzip>true</gzip> <!-- default force when pack200 false, true when pack200 selected ?? --> + + <!-- causes a version attribute to be output in each jar resource element, optional, default is false --> + <outputJarVersions>true</outputJarVersions> + + <!--install>false</install--> <!-- not yet supported --> + <verbose>true</verbose> + + </configuration> + </plugin> + + <!-- PENDING don't understand what maven-changes-plugin does + cf http://docs.codehaus.org/display/MAVENUSER/MavenAndSourceforge + plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <inherited>false</inherited> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate> + </configuration> + </plugin --> + + <!-- for debugging in eclipse a test case +<plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <forkMode>never</forkMode> + </configuration> +</plugin> +--> + + </plugins> + + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <dependencies> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + + <!-- dependencies on Euler(sharp) depot on SF.NET --> + + <dependency> + <groupId>euler</groupId> + <artifactId>euler</artifactId> + <version>2010-03-10</version> + <!-- 2008-12-11 - 2008-11-04 2009-01-22 2009-02-10 2009-03-15 + 2009-04-26 2009-05-18 2009-06-18 2009-06-26 2009-06-29 2009-07-07 + 2009-07-14 2009-07-21 2009-08-25 2009-10-02 2009-10-23 2009-11-21 + 2009-12-18 2010-01-24 2010-02-27 + --> + </dependency> + + <dependency> + <groupId>att</groupId> + <artifactId>grappa</artifactId> + <version>1.2</version> + </dependency> + + <dependency> + <groupId>parser4j</groupId> + <!-- artifactId>parser</artifactId --> + <artifactId>all</artifactId> + <!--version>beta4</version--> + <version>trunk</version> + </dependency> + + <!-- misc. dependencies --> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>jena</artifactId> + <version>2.6.2</version> + <!-- 2.5.7 2.6.0 --> + </dependency> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>arq</artifactId> + <version>2.8.2</version> + </dependency> + + <dependency> + <groupId>log4j</groupId> <!-- for parser4j --> + <artifactId>log4j</artifactId> + <version>1.2.14</version> + </dependency> + <dependency> + <groupId>xstream</groupId> <!-- for parser4j --> + <artifactId>xstream</artifactId> + <version>1.2</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>com.hp.hpl.jena</groupId> + <artifactId>Gloze</artifactId> + <version>1.01-beta2</version> + </dependency> + + <!-- Drools dependencies --> + + <dependency> + <groupId>org.drools</groupId> + <artifactId>drools-api</artifactId> + <version>5.1.0.M1</version> + </dependency> + <dependency> + <groupId>org.drools</groupId> + <artifactId>drools-compiler</artifactId> + <version>5.1.0.M1</version> + <!-- <version>5.0.0.M5 5.0.0.CR1 5.0.1 --> + </dependency> + + <!-- eclipse eCore + UML2 --> + + <dependency> + <groupId>org.eclipse.emf</groupId> + <artifactId>ecore</artifactId> + <version>2.4.2.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.emf.ecore</groupId> + <artifactId>xmi</artifactId> + <version>2.4.1.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.emf</groupId> + <artifactId>common</artifactId> + <version>2.4.0.v200902171115</version> + </dependency> + <dependency> + <groupId>org.eclipse.uml2</groupId> + <artifactId>common</artifactId> + <version>1.4.0.v200805131030</version> + </dependency> + <dependency> + <groupId>org.eclipse.uml2</groupId> + <artifactId>uml</artifactId> + <version>2.2.2.v200811051031</version> + </dependency> + + <!-- for ReDeFer --> + <dependency> + <groupId>hsqldb</groupId> + <artifactId>hsqldb</artifactId> + <version>1.8.0.10</version> + </dependency> + + <dependency> + <groupId>net.sf.saxon</groupId> + <artifactId>saxon</artifactId> + <version>8.7</version> + </dependency> + + <!-- for tests, could do with JDK/JAXP alone, but this is convenient and just 44kb --> + <dependency> + <groupId>net.sf.saxon</groupId> + <artifactId>saxon-dom</artifactId> + <version>8.7</version> + <scope>test</scope> + </dependency> + + <!-- for Pellet ( courtesy Thorsten Möller ) --> + + <dependency> + <groupId>com.owldl</groupId> + <artifactId>pellet</artifactId> + <version>2.0.2</version> + <!-- 2.0-rc7 2.0 2.0.1 --> + <exclusions> + <exclusion> + <!-- If Pellet is never used in a way that it would start Jetty. --> + <groupId>org.mortbay.jetty</groupId> + <artifactId>org.mortbay.jetty</artifactId> + </exclusion> + <exclusion> + <!-- If Pellet is used exclusively via Jena, i.e., the + OWL API is not required at runtime. --> + <groupId>net.sourceforge.owlapi</groupId> + <artifactId>owlapi</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.netbeans</groupId> + <artifactId>jemmy</artifactId> + <version>2.2.7.5</version> + <scope>test</scope> + </dependency> + +<!--dependency> + <groupId>net.sf.jedit-syntax</groupId> + <artifactId>jedit-syntax</artifactId> + <version>2.2.2</version> +</dependency--> + +<dependency> + <groupId>org.jedit</groupId> + <artifactId>jedit</artifactId> + <version>4.3.1</version> +</dependency> + + +<dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.0.4</version> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.0</version> +</dependency> + +<!-- + <dependency> + <groupId>net.sourceforge.abbot</groupId> + <artifactId>costello</artifactId> + <version>1.0.3-SNAPHOT</version> + <scope>test</scope> + </dependency> + --> + +<!-- pave the way for YAML import and export + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>1.4</version> + </dependency> +--> + + </dependencies> + + <distributionManagement> + <repository> + <!-- id corresponds to a <server> tag in ~/.m2/server.xml --> + <id>repository.eulergui.sf.net</id> + <name>Repository for eulergui and 3rd party libraries not having Maven repo.</name> + <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven2</url> + </repository> + <site> + <id>eulergui.sourceforge.net</id> + <!-- CAUTION: these don't work with site:deploy : + <url>sftp://web.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url <url>sftp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> + --> + <url>scp://shell.sourceforge.net/home/groups/e/eu/eulergui/htdocs/maven-site</url> + </site> + </distributionManagement> + +</project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |