File tree Expand file tree Collapse file tree 5 files changed +29
-3
lines changed
java/org/ruleml/psoa/psoatransrun/restful/resources
PSOATransRun/src/main/java/org/ruleml/psoa/psoatransrun Expand file tree Collapse file tree 5 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ else if (lang.equalsIgnoreCase("tptp"))
107107 {
108108 systemInstantiation = "[PSOA2TPTP,VampirePrime]" ;
109109 }
110- return "PSOATransRun" + "1.4.2 " + systemInstantiation ;
110+ return "PSOATransRun" + "1.4.3 " + systemInstantiation ;
111111 }
112112
113113 /***
Original file line number Diff line number Diff line change 1+ ---
2+ applications :
3+ - name : psoademo
4+ random-route : true
5+ path : target/PSOATransRunWebService.war
6+ memory : 256M
7+ instances : 1
8+ buildpack : liberty-for-java
Original file line number Diff line number Diff line change 2323 <version >1.1.1</version >
2424 <scope >provided</scope >
2525 </dependency >
26+ <dependency >
27+ <groupId >org.jboss.resteasy</groupId >
28+ <artifactId >resteasy-jaxb-provider</artifactId >
29+ <version >3.0.26.Final</version >
30+ </dependency >
31+ <dependency >
32+ <groupId >org.jboss.resteasy</groupId >
33+ <artifactId >resteasy-jaxrs</artifactId >
34+ <version >3.0.26.Final</version >
35+ </dependency >
36+ <dependency >
37+ <groupId >org.jboss.resteasy</groupId >
38+ <artifactId >resteasy-jackson2-provider</artifactId >
39+ <version >3.0.26.Final</version >
40+ </dependency >
2641 <dependency >
2742 <groupId >log4j</groupId >
2843 <artifactId >log4j</artifactId >
Original file line number Diff line number Diff line change 33import static org .ruleml .psoa .psoatransrun .utils .Collections .set ;
44
55import java .util .Set ;
6+ import javax .ws .rs .ApplicationPath ;
67
8+ @ ApplicationPath ("/ws/*" )
79public class Application extends javax .ws .rs .core .Application {
810 private Set <Object > singletons = set ();
911 private Set <Class <?>> empty = set ();
Original file line number Diff line number Diff line change 165165 } ) ;
166166 } ) ;
167167 $ ( "#transQueryBtn" ) . click ( function ( ) {
168- translate ( null , encode ( psoaQuery ( ) ) , function ( result ) {
168+ translate ( encode ( psoaKB ( ) ) , encode ( psoaQuery ( ) ) , function ( result ) {
169169 translatedQuery = result . query ;
170170 queryVariables = result . queryVars ;
171171 $ ( "#transQuery" ) . val ( translatedQuery ) ;
@@ -203,8 +203,9 @@ <h1>PSOATransRun</h1>
203203 < textarea id ="PSOAKB " rows ="20 " cols ="80 "> </ textarea > < br /> < br />
204204 < div >
205205 Target Language:
206- < input type ="radio " name ="translatorTarget " value ="prolog " /> Prolog
206+ < input type ="radio " name ="translatorTarget " value ="prolog " disabled /> Prolog
207207 < input type ="radio " name ="translatorTarget " value ="tptp " checked ="checked " /> TPTP < br />
208+ < small > < small > < em > Target language "Prolog" not implemented for PSOATransRun WebService</ em > </ small > </ small > < br />
208209 </ div >
209210 < div style ="visibility:hidden ">
210211 < input type ="radio " name ="translatorType " value ="Direct " /> Direct Translator
You can’t perform that action at this time.
0 commit comments