pfc-prolog-cvs Mailing List for pfc-prolix (Page 17)
Status: Beta
Brought to you by:
ivanfrade
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(77) |
Jun
(37) |
Jul
(152) |
Aug
(180) |
Sep
(45) |
Oct
|
Nov
|
Dec
|
---|
From: <iva...@us...> - 2003-06-23 17:15:05
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb In directory sc8-pr-cvs1:/tmp/cvs-serv28019a/src/org/asturlinux/frade/prolix/ejb/sessionjb Modified Files: ProlixMainBean.java Added Files: SimpleXmlVisitor.java Log Message: Added visitor pattern --- NEW FILE: SimpleXmlVisitor.java --- package org.asturlinux.frade.prolix.ejb.sessionjb; import org.asturlinux.frade.prolix.interpreter.interfaces.*; public class SimpleXmlVisitor extends TreeElementVisitor { private String _result; private int _counter; public SimpleXmlVisitor(String result,int counter) { _result = result; _counter = counter; } public void visitTreeElement(TreeElement te) { /** * Code to execute over the TreeElement te */ String opening = "<result solution=\"yes\" number=\"" + _counter + "\">"; _result.concat(opening); Substitution[] substArray = te.getSubstitutions(); for (int i = 0; i < substArray.length;i++) { _result.concat("<substitution " + "variable=\"" + substArray[i].getOriginalValue() + "\"" + "value=\"" + substArray[i].getNewValue() + "\"" + "/>"); } String closing = "</result>"; _result.concat(closing); } public String getResult() { return _result; } } Index: ProlixMainBean.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMainBean.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ProlixMainBean.java 23 Jun 2003 12:01:30 -0000 1.5 --- ProlixMainBean.java 23 Jun 2003 17:15:00 -0000 1.6 *************** *** 76,80 **** { _consult = consult; ! //Could be prologCtx == null? prologCtx.consult(consult); } --- 76,80 ---- { _consult = consult; ! //FIXME Could be prologCtx == null? prologCtx.consult(consult); } *************** *** 118,127 **** --- 118,130 ---- } + private void treeElementToXmlTransformation(TreeElement tree, String result) { String xmlOpen = "<results>"; result.concat(xmlOpen); + int solutionCounter = 1; recursiveInOrden(tree,result,solutionCounter); + String xmlClose = "</results>"; result.concat(xmlClose); *************** *** 138,164 **** /** ! * node "treatment" */ if (tree.isSolution()) { ! treeElementNodeToXml(tree,result,solution); solution++; } } - private void treeElementNodeToXml(TreeElement t, String s, int counter) - { - String opening = "<result solution=\"yes\" number=\"" + counter + "\">"; - s.concat(opening); - Substitution[] substArray = t.getSubstitutions(); - for (int i = 0; i < substArray.length;i++) - { - s.concat("<substitution " + - "variable=\"" + substArray[i].getOriginalValue() + "\"" + - "value=\"" + substArray[i].getNewValue() + "\"" + - "/>"); - } - String closing = "</result>"; - s.concat(closing); - } } --- 141,155 ---- /** ! * node "treatment" using visitor pattern. ! * visitor _add_ node's xml to result. */ if (tree.isSolution()) { ! SimpleXmlVisitor visitor = new SimpleXmlVisitor(result,solution); ! tree.accept(visitor); solution++; + result = visitor.getResult(); } } } |
From: <iva...@us...> - 2003-06-23 17:15:05
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces In directory sc8-pr-cvs1:/tmp/cvs-serv28019a/src/org/asturlinux/frade/prolix/interpreter/interfaces Modified Files: TreeElement.java Added Files: TreeElementImpl.java TreeElementVisitor.java Log Message: Added visitor pattern --- NEW FILE: TreeElementImpl.java --- package org.asturlinux.frade.prolix.interpreter.interfaces; public abstract class TreeElementImpl implements TreeElement { public void accept(TreeElementVisitor v) { v.visitTreeElement(this); } } --- NEW FILE: TreeElementVisitor.java --- package org.asturlinux.frade.prolix.interpreter.interfaces; public abstract class TreeElementVisitor { public abstract void visitTreeElement(TreeElement te); } Index: TreeElement.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/TreeElement.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TreeElement.java 23 Jun 2003 11:16:37 -0000 1.4 --- TreeElement.java 23 Jun 2003 17:15:00 -0000 1.5 *************** *** 34,36 **** --- 34,41 ---- public String getQuery(); public Substitution[] getSubstitutions(); + + /** + * Visitor pattern + */ + public void accept(TreeElementVisitor v); } |
From: <iva...@us...> - 2003-06-23 12:01:33
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb In directory sc8-pr-cvs1:/tmp/cvs-serv12018/src/org/asturlinux/frade/prolix/ejb/sessionjb Modified Files: ProlixMainBean.java Log Message: Added recursive methods to write xml solutions file Index: ProlixMainBean.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMainBean.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ProlixMainBean.java 22 Jun 2003 15:31:06 -0000 1.4 --- ProlixMainBean.java 23 Jun 2003 12:01:30 -0000 1.5 *************** *** 7,10 **** --- 7,11 ---- import org.asturlinux.frade.dummy.*; import org.asturlinux.frade.prolix.interpreter.exceptions.*; + import org.asturlinux.frade.prolix.interpreter.interfaces.*; /** *************** *** 115,118 **** --- 116,164 ---- throw new EJBException(); } + } + + private void treeElementToXmlTransformation(TreeElement tree, String result) + { + String xmlOpen = "<results>"; + result.concat(xmlOpen); + int solutionCounter = 1; + recursiveInOrden(tree,result,solutionCounter); + String xmlClose = "</results>"; + result.concat(xmlClose); + } + + private void recursiveInOrden(TreeElement tree, String result, int solution) + { + /** + * recursive pattern + */ + TreeElement[] sons = tree.getNextLevelElements(); + for (int i = 0; i < sons.length;i++) + recursiveInOrden(sons[i],result,solution); + + /** + * node "treatment" + */ + if (tree.isSolution()) + { + treeElementNodeToXml(tree,result,solution); + solution++; + } + } + + private void treeElementNodeToXml(TreeElement t, String s, int counter) + { + String opening = "<result solution=\"yes\" number=\"" + counter + "\">"; + s.concat(opening); + Substitution[] substArray = t.getSubstitutions(); + for (int i = 0; i < substArray.length;i++) + { + s.concat("<substitution " + + "variable=\"" + substArray[i].getOriginalValue() + "\"" + + "value=\"" + substArray[i].getNewValue() + "\"" + + "/>"); + } + String closing = "</result>"; + s.concat(closing); } } |
From: <iva...@us...> - 2003-06-23 11:16:41
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces In directory sc8-pr-cvs1:/tmp/cvs-serv6279/src/org/asturlinux/frade/prolix/interpreter/interfaces Modified Files: TreeElement.java Log Message: Fixed an error in interfaz: some return values to array Index: TreeElement.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/TreeElement.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TreeElement.java 21 May 2003 10:40:10 -0000 1.3 --- TreeElement.java 23 Jun 2003 11:16:37 -0000 1.4 *************** *** 29,36 **** public boolean isSolution(); ! public TreeElement getNextLevelElements(); public TreeElement getParent(); public String getQuery(); ! public Substitution getSubstitutions(); } --- 29,36 ---- public boolean isSolution(); ! public TreeElement[] getNextLevelElements(); public TreeElement getParent(); public String getQuery(); ! public Substitution[] getSubstitutions(); } |
From: <iva...@us...> - 2003-06-23 09:16:54
|
Update of /cvsroot/pfc-prolog/prolix-web In directory sc8-pr-cvs1:/tmp/cvs-serv24107 Modified Files: index.html Log Message: Add link to dummy interpreter in main page Index: index.html =================================================================== RCS file: /cvsroot/pfc-prolog/prolix-web/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.html 5 May 2003 22:10:21 -0000 1.1 --- index.html 23 Jun 2003 09:16:51 -0000 1.2 *************** *** 2,6 **** <html> <head> ! <title>Under construction</title> </head> --- 2,6 ---- <html> <head> ! <title>Prolix: Prolog interpreter on-line</title> </head> *************** *** 10,20 **** width="210" height="62" border="0" alt="SourceForge.net Logo" /></a> <hr> ! <h1>Under construction</h1> ! <hr> <address><a href="mailto:i9440703_ARROBA_petra.euitio.uniovi.es">Ivan Frade</a></address> <!-- Created: Tue Apr 29 11:12:29 CEST 2003 --> <!-- hhmts start --> ! Last modified: Sat May 3 11:13:11 CEST 2003 <!-- hhmts end --> </body> --- 10,23 ---- width="210" height="62" border="0" alt="SourceForge.net Logo" /></a> <hr> ! <h1>Prolix</h1> ! Here are some files you need to compile the project: ! <a href="prolix-dummy-interpreter.jar"> Dummy interpreter interface ! implementation </a> ! <hr> <address><a href="mailto:i9440703_ARROBA_petra.euitio.uniovi.es">Ivan Frade</a></address> <!-- Created: Tue Apr 29 11:12:29 CEST 2003 --> <!-- hhmts start --> ! Last modified: Sun Jun 22 17:02:11 CEST 2003 <!-- hhmts end --> </body> |
From: <iva...@us...> - 2003-06-22 15:31:12
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb In directory sc8-pr-cvs1:/tmp/cvs-serv17814/src/org/asturlinux/frade/prolix/ejb/sessionjb Modified Files: ProlixMainBean.java Log Message: restructurated exceptions Index: ProlixMainBean.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMainBean.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ProlixMainBean.java 17 Jun 2003 11:05:41 -0000 1.3 --- ProlixMainBean.java 22 Jun 2003 15:31:06 -0000 1.4 *************** *** 31,68 **** * @ejb:interface-method **/ ! public void loadProgram(String program) { _program = program; ! try { ! try { prologCtx.load(program); ! } ! catch (ProgramAlreadyLoadedException pale) { ! obtainPrologContext(); ! try ! { ! prologCtx.load(program); ! } ! catch (ProgramAlreadyLoadedException fatal) ! { ! /** ! * This exception can not be produced. ! * Error in Context Implementation. ! */ ! throw new EJBException(); ! } } } - catch (SyntaxException se) - { - System.out.println("Syntactical Exception: getMessage() to more information"); - } - catch (LexicalException le) - { - System.out.println("Lexical Exception: getMessage() to more information"); - } } --- 31,59 ---- * @ejb:interface-method **/ ! public void loadProgram(String program) ! throws LexicalException, SyntaxException { _program = program; ! ! try { ! prologCtx.load(program); ! } ! catch (ProgramAlreadyLoadedException pale) ! { ! obtainPrologContext(); ! try { prologCtx.load(program); ! } ! catch (ProgramAlreadyLoadedException fatal) { ! /** ! * This exception can not be produced. ! * Error in Context Implementation. ! */ ! throw new EJBException(); } } } *************** *** 80,86 **** * @ejb:interface-method **/ ! public void loadConsult(String consult) { _consult = consult; } --- 71,80 ---- * @ejb:interface-method **/ ! public void loadConsult(String consult) ! throws LexicalException, SyntaxException, ProgramNotLoadedException { _consult = consult; + //Could be prologCtx == null? + prologCtx.consult(consult); } *************** *** 116,122 **** catch (org.asturlinux.frade.prolix.interpreter.exceptions.CreateException ce) { } - } - } --- 110,118 ---- catch (org.asturlinux.frade.prolix.interpreter.exceptions.CreateException ce) { + /** + * Fatal Error: something wrong with JVM + */ + throw new EJBException(); } } } |
From: <iva...@us...> - 2003-06-17 11:08:10
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv13721 Modified Files: build.xml Log Message: moved property jboss.home in build.xml Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** build.xml 16 Jun 2003 11:26:47 -0000 1.7 --- build.xml 17 Jun 2003 11:08:07 -0000 1.8 *************** *** 8,11 **** --- 8,12 ---- <property environment="env"/> + <property name="jboss.home" value="${env.JBOSS_HOME}" /> <property file=".ant.properties" /> <property name="Name" value="Prolix"/> *************** *** 49,54 **** <target name="check-environment"> - - <property name="jboss.home" value="${env.JBOSS_HOME}" /> <antcall target="check-jboss"/> <available property="jboss.present" file="${jboss.home}/bin/run.jar"/> --- 50,53 ---- *************** *** 67,71 **** <echo message="xdoclet.home = ${xdoclet.home}"/> <echo message="java.class.path = ${java.class.path}"/> - <echo message=""/> <available property="jdk1.3+" classname="java.lang.StrictMath" /> --- 66,69 ---- *************** *** 248,251 **** --- 246,258 ---- </fileset> </jar> + + <!-- + <jar jarfile="${dist.dir}/prolix-client.jar"> + <fileset dir="${build.classes.dir}"> + <include name="${package.path}/interpreter/exceptions/**"/> + <include name="${package.path}/ejb/sessionjb/**"/> + </fileset> + </jar> + --> </target> |
From: <iva...@us...> - 2003-06-17 11:05:45
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb In directory sc8-pr-cvs1:/tmp/cvs-serv13273/src/org/asturlinux/frade/prolix/ejb/sessionjb Modified Files: ProlixMainBean.java Log Message: Added functionality in ProlixMainBean::loadProgram Index: ProlixMainBean.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMainBean.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ProlixMainBean.java 16 Jun 2003 11:26:47 -0000 1.2 --- ProlixMainBean.java 17 Jun 2003 11:05:41 -0000 1.3 *************** *** 6,9 **** --- 6,10 ---- import java.util.*; import org.asturlinux.frade.dummy.*; + import org.asturlinux.frade.prolix.interpreter.exceptions.*; /** *************** *** 33,36 **** --- 34,68 ---- { _program = program; + try + { + try + { + prologCtx.load(program); + } + catch (ProgramAlreadyLoadedException pale) + { + obtainPrologContext(); + try + { + prologCtx.load(program); + } + catch (ProgramAlreadyLoadedException fatal) + { + /** + * This exception can not be produced. + * Error in Context Implementation. + */ + throw new EJBException(); + } + } + } + catch (SyntaxException se) + { + System.out.println("Syntactical Exception: getMessage() to more information"); + } + catch (LexicalException le) + { + System.out.println("Lexical Exception: getMessage() to more information"); + } } *************** *** 69,78 **** **/ public void ejbCreate() ! throws CreateException, org.asturlinux.frade.prolix.interpreter.exceptions.CreateException { System.out.println( "ProlixMainBean.ejbCreate()" ); ! PrologInterpreterDummy pi = new PrologInterpreterDummy(); ! prologCtx = (PrologContextDummy)pi.createContext(); } } --- 101,122 ---- **/ public void ejbCreate() ! throws javax.ejb.CreateException { System.out.println( "ProlixMainBean.ejbCreate()" ); ! obtainPrologContext(); } + + private void obtainPrologContext() + { + PrologInterpreterDummy pi = new PrologInterpreterDummy(); + try + { + prologCtx = (PrologContextDummy)pi.createContext(); + } + catch (org.asturlinux.frade.prolix.interpreter.exceptions.CreateException ce) + { + } + + } } |
From: <iva...@us...> - 2003-06-16 11:26:50
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb In directory sc8-pr-cvs1:/tmp/cvs-serv4673/src/org/asturlinux/frade/prolix/ejb/sessionjb Modified Files: ProlixMainBean.java Log Message: jboss.home now uses JBOSS_HOME environment variable. Added some methods to ProlixMainBean Index: ProlixMainBean.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMainBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ProlixMainBean.java 14 Jun 2003 18:02:12 -0000 1.1 --- ProlixMainBean.java 16 Jun 2003 11:26:47 -0000 1.2 *************** *** 5,8 **** --- 5,9 ---- import javax.ejb.*; import java.util.*; + import org.asturlinux.frade.dummy.*; /** *************** *** 22,34 **** { /** * @ejb:interface-method **/ ! public String getAlumnos() ! { ! return "Hola Mundo"; //FIXME ! } /** --- 23,65 ---- { + private String _program; + private String _consult; + private PrologContextDummy prologCtx; /** * @ejb:interface-method **/ ! public void loadProgram(String program) ! { ! _program = program; ! } ! ! ! /** ! * @ejb:interface-method ! **/ ! public String getProgram() ! { ! return _program; ! } ! + /** + * @ejb:interface-method + **/ + public void loadConsult(String consult) + { + _consult = consult; + } + + + /** + * @ejb:interface-method + **/ + public String getCurrentConsult() + { + return _consult; + } + /** *************** *** 38,44 **** **/ public void ejbCreate() ! throws CreateException { System.out.println( "ProlixMainBean.ejbCreate()" ); } --- 69,77 ---- **/ public void ejbCreate() ! throws CreateException, org.asturlinux.frade.prolix.interpreter.exceptions.CreateException { System.out.println( "ProlixMainBean.ejbCreate()" ); + PrologInterpreterDummy pi = new PrologInterpreterDummy(); + prologCtx = (PrologContextDummy)pi.createContext(); } |
From: <iva...@us...> - 2003-06-16 11:26:50
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv4673 Modified Files: .ant.properties build.xml Log Message: jboss.home now uses JBOSS_HOME environment variable. Added some methods to ProlixMainBean Index: .ant.properties =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/.ant.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .ant.properties 14 Jun 2003 18:02:12 -0000 1.1 --- .ant.properties 16 Jun 2003 11:26:47 -0000 1.2 *************** *** 2,8 **** # Please rename it to ".ant.properties" and adjust the settings to your needs # Set the path to the runtime JBoss directory containing the JBoss application server # ATTENTION: the one containing directories like "bin", "client", "server" etc. ! jboss.home=/home/ivan/jboss # Set the configuration name that must have a corresponding directory under # <jboss.home>/server --- 2,13 ---- # Please rename it to ".ant.properties" and adjust the settings to your needs + #-------------------------------------------- + # Unused. Added as property in build.xml + #-------------------------------------------- # Set the path to the runtime JBoss directory containing the JBoss application server # ATTENTION: the one containing directories like "bin", "client", "server" etc. ! #jboss.home=/home/ivan/jboss ! ! # Set the configuration name that must have a corresponding directory under # <jboss.home>/server Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** build.xml 16 Jun 2003 07:47:41 -0000 1.6 --- build.xml 16 Jun 2003 11:26:47 -0000 1.7 *************** *** 6,14 **** <project name="prolix" default="main" basedir="."> ! <property file=".ant.properties" /> - <property name="Name" value="Prolix"/> <property name="version" value="1.1"/> <target name="check-jboss" unless="jboss.home"> --- 6,15 ---- <project name="prolix" default="main" basedir="."> ! ! <property environment="env"/> <property file=".ant.properties" /> <property name="Name" value="Prolix"/> <property name="version" value="1.1"/> + <target name="check-jboss" unless="jboss.home"> *************** *** 48,57 **** <target name="check-environment"> ! <antcall target="check-jboss"/> ! <available property="jboss.present" file="${jboss.home}/bin/run.jar"/> ! <antcall target="wrong-jboss"/> ! <antcall target="check-xdoclet"/> ! <available property="xdoclet.present" file="${xdoclet.home}/lib/xdoclet.jar"/> ! <antcall target="wrong-xdoclet"/> </target> --- 49,60 ---- <target name="check-environment"> ! ! <property name="jboss.home" value="${env.JBOSS_HOME}" /> ! <antcall target="check-jboss"/> ! <available property="jboss.present" file="${jboss.home}/bin/run.jar"/> ! <antcall target="wrong-jboss"/> ! <antcall target="check-xdoclet"/> ! <available property="xdoclet.present" file="${xdoclet.home}/lib/xdoclet.jar"/> ! <antcall target="wrong-xdoclet"/> </target> *************** *** 130,133 **** --- 133,137 ---- <pathelement location="${jboss.home}/server/${jboss.configuration}/lib/mail.jar" /> <pathelement location="${build.classes.dir}" /> + <pathelement location="lib/prolix-dummy-interpreter.jar"/> </path> |
From: <iva...@us...> - 2003-06-16 07:47:44
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv12645 Modified Files: build.xml Log Message: modified jar filename prolix-interpreter-interfaz to interface Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 15 Jun 2003 12:28:54 -0000 1.5 --- build.xml 16 Jun 2003 07:47:41 -0000 1.6 *************** *** 236,240 **** </jar> <jar ! jarfile="${dist.dir}/prolix-interpreter-interfaz.jar" > <fileset --- 236,240 ---- </jar> <jar ! jarfile="${dist.dir}/prolix-interpreter-interface.jar" > <fileset |
From: <iva...@us...> - 2003-06-15 12:28:57
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv22271 Modified Files: build.xml Log Message: Fixed #754829. Applied patch to build.xml Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 14 Jun 2003 18:02:12 -0000 1.4 --- build.xml 15 Jun 2003 12:28:54 -0000 1.5 *************** *** 82,86 **** <property name="src.main.dir" value="${src.dir}/${package.path}"/> ! <property name="src.ejb.dir" value="${src.main.dir}/ejb"/> <property name="src.ejb.conf.dir" value="${src.dir}/ejb-conf"/> --- 82,86 ---- <property name="src.main.dir" value="${src.dir}/${package.path}"/> ! <property name="src.ejb.dir" value="${src.dir}"/> <property name="src.ejb.conf.dir" value="${src.dir}/ejb-conf"/> |
From: <iva...@us...> - 2003-06-14 18:02:20
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv5752 Modified Files: build.xml Added Files: .ant.properties Log Message: Updated build.xml with xdoclet. Added .ant.properties. NOT FUNCTIONAL --- NEW FILE: .ant.properties --- # ATTENTION: this is an example file how to overwrite settings in this project # Please rename it to ".ant.properties" and adjust the settings to your needs # Set the path to the runtime JBoss directory containing the JBoss application server # ATTENTION: the one containing directories like "bin", "client", "server" etc. jboss.home=/home/ivan/jboss # Set the configuration name that must have a corresponding directory under # <jboss.home>/server jboss.configuration=default # Set the path to the root directory of the XDoclet distribution (see # http://www.sf.net/projects/xdoclet) xdoclet.home=/usr/local/xdoclet # Set this to "true" when you want to force the rebuild of the XDoclet generated # files (see XDoclet's <ejbdoclet> attribute "force") xdoclet.force=false # Set the EJB version you want to use (1.1 or 2.0, see XDoclet's <ejbdoclet> attribute "ejbspec") ejb.version=2.0 # Set the JBoss version you want to use (2.4, 3.0 etc., see XDoclet's <jboss> attribute "version") jboss.version=3.0 # Set the DB type mapping (Hypersonic SQL, PostgreSQL etc., see XDoclet's <jboss> attribute "typemapping") type.mapping=mySQL # Set the DataSource name your are going to use (java:/DefaultDS etc., see XDoclet's <jboss> attribute "datasource") datasource.name=java:/MySqlDS # Uncomment this and adjust the path to point directly to JAR file containing the servlet classes # Attention: By uncommenting this line you start the creation of a WAR file #servlet-lib.path=C:/jboss-all/build/output/jboss-3.1.0alpha/lib/javax.servlet.jar Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 20 May 2003 23:04:55 -0000 1.3 --- build.xml 14 Jun 2003 18:02:12 -0000 1.4 *************** *** 1,46 **** ! <!-- Ivan Frade (fr...@as...) --> ! <project name="prolix" default="compile" basedir="."> ! <property name="src" value="src" /> ! <property name="build" value="build" /> ! <property name="dist" value="dist" /> - <property name="classpath" value="${build}" /> ! <!-- Classpath deprecated ! <path id="classpath"> ! <pathelement location="" /> ! </path> ! --> ! ! <!-- Compile targets --> ! <target name="prepare"> ! <tstamp /> ! <mkdir dir="${build}" /> ! <mkdir dir="${build}/beans" /> ! <mkdir dir="${dist}" /> ! </target> ! <target name="compile" depends="prepare"> ! <javac srcdir="${src}" destdir="${build}/beans" classpath="${classpath}"/> </target> ! <!-- Clean target --> ! <target name="clean"> ! <delete dir="${build}" /> ! <delete dir="${dist}" /> <delete> <fileset dir="." includes="**/*~" defaultexcludes="no" /> </delete> - </target> ! <!-- Dist target --> ! <target name="dist" depends="compile"> ! <jar jarfile="${dist}/prolix-interpreter-interfaz.jar" ! basedir="${build}/beans" ! includes="org/asturlinux/frade/prolix/interpreter/**"/> ! </target> </project> --- 1,341 ---- ! <?xml version="1.0"?> ! <!-- ======================================================================= --> ! <!-- Template build file modified to prolix --> ! <!-- ======================================================================= --> ! <project name="prolix" default="main" basedir="."> ! ! <property file=".ant.properties" /> ! ! <property name="Name" value="Prolix"/> ! <property name="version" value="1.1"/> ! ! <target name="check-jboss" unless="jboss.home"> ! <fail> ! Property "jboss.home" is not set. Please use the file ! ".ant.properties" in this directory ${basedir} to ! set this property. It must point to the directory which ! contains the following directory: "deploy", "conf", "tmp" ! etc. ! </fail> ! </target> ! ! <target name="wrong-jboss" unless="jboss.present"> ! <fail> ! Property "jboss.home" is set but it does not seem ! to point to the right directory. The file "run.jar" ! must be available at ${jboss.home}/bin. ! </fail> ! </target> ! ! <target name="check-xdoclet" unless="xdoclet.home"> ! <fail> ! Property "xdoclet.home" is not set. Please use the file ! ".ant.properties" in this directory ${basedir} to ! set this property. It must point to the root directory of ! XDoclet distribution. ! </fail> ! </target> ! ! <target name="wrong-xdoclet" unless="xdoclet.present"> ! <fail> ! Property "xdoclet.home" is set but it does not seem ! to point to the right directory. The file "xdoclet.jar" ! must be available at ${xdoclet.home}/lib. ! </fail> ! </target> ! ! <target name="check-environment"> ! <antcall target="check-jboss"/> ! <available property="jboss.present" file="${jboss.home}/bin/run.jar"/> ! <antcall target="wrong-jboss"/> ! <antcall target="check-xdoclet"/> ! <available property="xdoclet.present" file="${xdoclet.home}/lib/xdoclet.jar"/> ! <antcall target="wrong-xdoclet"/> ! </target> ! ! <target name="init" depends="check-environment"> ! <echo message="build.compiler = ${build.compiler}"/> ! <echo message="user.home = ${user.home}"/> ! <echo message="java.home = ${java.home}"/> ! <echo message="ant.home = ${ant.home}"/> ! <echo message="jboss.home = ${jboss.home}"/> ! <echo message="xdoclet.home = ${xdoclet.home}"/> ! <echo message="java.class.path = ${java.class.path}"/> ! <echo message=""/> ! ! <available property="jdk1.3+" classname="java.lang.StrictMath" /> ! </target> ! ! <property name="jboss.lib" value="${jboss.home}/lib" /> ! <property name="jboss.client" value="${jboss.home}/client" /> ! <!-- Configuration used on JBoss 3 to run your server. There must be ! a directory with the same name under "${jboss.home}/server" --> ! <property name="jboss.configuration" value="default" /> ! <property name="jboss.deploy" ! value="${jboss.home}/server/${jboss.configuration}/deploy" /> ! <property name="package.path" value="org/asturlinux/frade/prolix" /> ! <property name="src.dir" value="${basedir}/src"/> ! <property name="src.main.dir" ! value="${src.dir}/${package.path}"/> ! <property name="src.ejb.dir" value="${src.main.dir}/ejb"/> ! <property name="src.ejb.conf.dir" value="${src.dir}/ejb-conf"/> ! <property name="lib.dir" value="${basedir}/lib"/> ! <property name="build.dir" value="${basedir}/build"/> ! <property name="build.generate.dir" value="${build.dir}/generate"/> ! <property name="build.classes.dir" value="${build.dir}/beans"/> ! ! <property name="dist.dir" value="${basedir}/dist"/> ! ! <!-- Removed properties ! <property name="src.client.dir" value="${src.main.dir}/client"/> ! <property name="build.tmp.dir" value="${build.dir}/tmp"/> ! <property name="build.deploy.dir" value="${build.dir}/deploy"/> ! <property name="build.client.dir" value="${build.dir}/client"/> ! <property name="build.bin.dir" value="${build.dir}/bin"/> ! <property name="src.servlet.dir" value="${src.main.dir}/servlet"/> ! <property name="src.web.dir" value="${src.dir}/web"/> ! <property name="src.resources.dir" value="${src.dir}/resources"/> ! <property name="build.javadocs.dir" value="${build.dir}/docs/api"/> ! <property name="build.war.dir" value="${build.dir}/war"/> ! --> ! ! <path id="xdoclet.path"> ! <pathelement location="${ant.home}/lib/ant.jar" /> ! <!-- AS Maybe necessary for Ant 1.5 and XDoclet 1.3 ! <pathelement location="${ant.home}/lib/xmlParserAPIs.jar" /> ! <pathelement location="${ant.home}/lib/xercesImpl.jar" /> ! <pathelement location="${ant.home}/lib/bcel.jar" /> ! <pathelement location="${xdoclet.home}/lib/xjavadoc.jar" /> ! --> ! <pathelement location="${xdoclet.home}/lib/xdoclet.jar" /> ! <pathelement location="${jboss.client}/log4j.jar" /> ! </path> ! ! <path id="base.path"> ! <path refid="xdoclet.path"/> ! <pathelement location="${jboss.client}/jboss-j2ee.jar" /> ! <pathelement location="${jboss.client}/jnp-client.jar" /> ! <pathelement location="${jboss.client}/jbossmq-client.jar" /> ! <pathelement location="${jboss.client}/jbosssx-client.jar" /> ! <pathelement location="${jboss.client}/concurrent.jar" /> ! <pathelement location="${jboss.client}/jaas.jar" /> ! <pathelement location="${jboss.lib}/jboss-jmx.jar" /> ! <pathelement location="${jboss.home}/server/${jboss.configuration}/lib/jbosssx.jar" /> ! <pathelement location="${jboss.home}/server/${jboss.configuration}/lib/mail.jar" /> ! <pathelement location="${build.classes.dir}" /> ! </path> ! ! <!-- =================================================================== --> ! <!-- Generates the necessary EJB classes and deployment descriptors --> ! <!-- =================================================================== --> ! ! <target name="xdoclet-generate" depends="init"> ! <taskdef ! name="ejbdoclet" ! classname="xdoclet.ejb.EjbDocletTask" ! > ! <classpath refid="xdoclet.path"/> ! </taskdef> ! ! <ejbdoclet ! sourcepath="${src.ejb.dir}" ! destdir="${build.generate.dir}" ! classpathref="base.path" ! excludedtags="@version,@author" ! ejbspec="${ejb.version}" ! force="${xdoclet.force}" ! mergedir="${src.resources.dir}/xdoclet" ! > ! ! <fileset dir="${src.ejb.dir}"> ! <include name="**/*Bean.java"/> ! </fileset> ! ! <packageSubstitution packages="session,entity" substituteWith="interfaces"/> ! <dataobject/> ! <remoteinterface/> ! <localinterface/> ! <homeinterface/> ! <localhomeinterface/> ! <!-- <entitypk/> ! <entitybmp/> ! <entitycmp/> --> ! <session/> ! <valueobject/> ! ! <!-- Beans Deployment descriptor --> ! <deploymentdescriptor destdir="${build.classes.dir}/META-INF"/> ! <!-- AS 4/29/02 Do not validate XML files because JBoss 3.0 message driven will ! report an wrong error because it uses the wrong jboss.dtd --> ! <jboss version="${jboss.version}" ! xmlencoding="UTF-8" ! typemapping="${type.mapping}" ! datasource="${datasource.name}" ! destdir="${build.classes.dir}/META-INF" ! validateXml="false" ! /> ! </ejbdoclet> ! </target> ! ! <!-- =================================================================== --> ! <!-- Compiles the source code --> ! <!-- =================================================================== --> ! ! <target name="compile" depends="xdoclet-generate"> ! <mkdir dir="${build.classes.dir}"/> ! <mkdir dir="${build.generate.dir}"/> ! <javac ! destdir="${build.classes.dir}" ! debug="on" ! deprecation="off" ! optimize="on" ! classpathref="base.path" ! > ! <src path="${src.ejb.dir}"/> ! <src path="${build.generate.dir}"/> ! </javac> ! <!-- I don't need to compile a client ! <javac ! srcdir="${src.client.dir}" ! destdir="${build.classes.dir}" ! debug="on" ! deprecation="off" ! optimize="on" ! includes="**/*.java" ! classpathref="base.path" ! > ! </javac> ! --> ! </target> ! ! <!-- =================================================================== --> ! <!-- Creates the jar archives --> ! <!-- =================================================================== --> ! ! <target name="jar" depends="compile"> ! <mkdir dir="${dist.dir}"/> ! <jar jarfile="${dist.dir}/prolix-beans.jar"> ! <fileset ! dir="${build.classes.dir}" ! includes="${package.path}/ejb/**/**" ! > ! </fileset> ! <!-- Not needed (included in last fileset) ! <fileset ! dir="${build.dir}" ! includes="META-INF/**" ! > ! </fileset> ! --> ! </jar> ! <jar ! jarfile="${dist.dir}/prolix-interpreter-interfaz.jar" ! > ! <fileset ! dir="${build.classes.dir}" ! includes="${package.path}/interpreter/**" ! > ! </fileset> ! </jar> ! </target> ! ! <!-- =================================================================== --> ! <!-- Compiles the WEB source code --> ! <!-- =================================================================== --> ! <!-- ! <target name="compile-web" depends="compile" if="servlet-lib.path"> ! <mkdir dir="${build.war.dir}"/> ! <path id="web.path"> ! <path refid="base.path"/> ! <pathelement location="${servlet-lib.path}"/> ! </path> ! <javac ! destdir="${build.war.dir}" ! debug="on" ! deprecation="off" ! optimize="on" ! classpathref="web.path" ! > ! <src path="${src.servlet.dir}"/> ! </javac> ! </target> ! --> ! ! <!-- =================================================================== --> ! <!-- Creates the client binary --> ! <!-- =================================================================== --> ! ! <target name="deploy-server" depends="jar"> ! <copy todir="${jboss.deploy}"> ! <fileset dir="${dist.dir}" includes="prolix-beans.jar"> ! </fileset> ! </copy> ! </target> ! ! <!-- =================================================================== --> ! <!-- Creates the client binary --> ! <!-- =================================================================== --> ! ! <target name="create-client" depends="jar"> ! <!-- Convert the given paths to Windows --> ! <pathconvert targetos="windows" property="jboss.home.on.windows" > ! <path> ! <pathelement location="${jboss.home}" /> ! </path> ! </pathconvert> ! <pathconvert targetos="windows" property="java.home.on.windows" > ! <path> ! <pathelement location="${java.home}" /> ! </path> ! </pathconvert> ! <!-- Convert the given paths to Unix --> ! <pathconvert targetos="unix" property="jboss.home.on.unix" > ! <path> ! <pathelement location="${jboss.home}" /> ! </path> ! </pathconvert> ! <pathconvert targetos="unix" property="java.home.on.unix" > ! <path> ! <pathelement location="${java.home}" /> ! </path> ! </pathconvert> ! <echo message="JBoss Home on Unix: ${jboss.home.on.unix}"/> ! <echo message="Java Home on Unix: ${java.home.on.unix}"/> ! <filter token="jboss.home" value="${jboss.home.on.windows}"/> ! <filter token="java.home" value="${java.home.on.windows}"/> ! ! <filter token="jboss.home" value="${jboss.home.on.unix}"/> ! <filter token="java.home" value="${java.home.on.unix}"/> ! ! <!-- <copy file="${src.ejb.conf.dir}/jndi.properties" todir="${build.bin.dir}"/> ! --> </target> + + <!-- =================================================================== --> + <!-- Creates the binary structure --> + <!-- =================================================================== --> + + <target name="main" depends="deploy-server,create-client"> + </target> ! <!-- =================================================================== --> ! <!-- Cleans up the current build --> ! <!-- =================================================================== --> ! ! <target name="clean" depends="init"> ! <delete dir="${build.dir}"/> ! <delete dir="${dist.dir}"/> <delete> <fileset dir="." includes="**/*~" defaultexcludes="no" /> </delete> ! </target> </project> + |
From: <iva...@us...> - 2003-06-14 18:02:20
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/sessionjb In directory sc8-pr-cvs1:/tmp/cvs-serv5752/src/org/asturlinux/frade/prolix/ejb/sessionjb Added Files: ProlixMainBean.java Log Message: Updated build.xml with xdoclet. Added .ant.properties. NOT FUNCTIONAL --- NEW FILE: ProlixMainBean.java --- package org.asturlinux.frade.prolix.ejb.sessionjb; import java.rmi.*; import javax.naming.*; import javax.ejb.*; import java.util.*; /** * Iteration 1: This bean manages communication between JSP <-> interpreter * * * @ejb:bean name="ProlixMain" * type="Stateful" * view-type="remote" * jndi-name="org/asturlinux/frade/prolix/ejb/sessionjb/ProlixMain" * **/ public abstract class ProlixMainBean implements SessionBean { /** * @ejb:interface-method **/ public String getAlumnos() { return "Hola Mundo"; //FIXME } /** * Inicializa el bean * * @ejb:create-method **/ public void ejbCreate() throws CreateException { System.out.println( "ProlixMainBean.ejbCreate()" ); } } |
From: <iva...@us...> - 2003-05-21 10:40:17
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions In directory sc8-pr-cvs1:/tmp/cvs-serv20724/src/org/asturlinux/frade/prolix/interpreter/exceptions Modified Files: CreateException.java LexicalException.java ProgramAlreadyLoadedException.java ProgramNotLoadedException.java QueryNotLoadedException.java SyntaxException.java Log Message: Added copying permission statement to source files Index: CreateException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/CreateException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CreateException.java 20 May 2003 22:14:00 -0000 1.2 --- CreateException.java 21 May 2003 10:40:09 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.exceptions; Index: LexicalException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/LexicalException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LexicalException.java 20 May 2003 22:14:00 -0000 1.2 --- LexicalException.java 21 May 2003 10:40:09 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.exceptions; Index: ProgramAlreadyLoadedException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/ProgramAlreadyLoadedException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ProgramAlreadyLoadedException.java 20 May 2003 22:14:00 -0000 1.2 --- ProgramAlreadyLoadedException.java 21 May 2003 10:40:09 -0000 1.3 *************** *** 1,2 **** --- 1,24 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ + package org.asturlinux.frade.prolix.interpreter.exceptions; Index: ProgramNotLoadedException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/ProgramNotLoadedException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ProgramNotLoadedException.java 20 May 2003 22:14:00 -0000 1.2 --- ProgramNotLoadedException.java 21 May 2003 10:40:09 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.exceptions; Index: QueryNotLoadedException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/QueryNotLoadedException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** QueryNotLoadedException.java 20 May 2003 22:14:00 -0000 1.2 --- QueryNotLoadedException.java 21 May 2003 10:40:09 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.exceptions; Index: SyntaxException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/SyntaxException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SyntaxException.java 20 May 2003 22:14:00 -0000 1.2 --- SyntaxException.java 21 May 2003 10:40:09 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.exceptions; |
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces In directory sc8-pr-cvs1:/tmp/cvs-serv20724/src/org/asturlinux/frade/prolix/interpreter/interfaces Modified Files: PrologContext.java PrologInterpreter.java Substitution.java TreeElement.java Log Message: Added copying permission statement to source files Index: PrologContext.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/PrologContext.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PrologContext.java 20 May 2003 22:14:00 -0000 1.2 --- PrologContext.java 21 May 2003 10:40:09 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.interfaces; Index: PrologInterpreter.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/PrologInterpreter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PrologInterpreter.java 20 May 2003 22:14:00 -0000 1.2 --- PrologInterpreter.java 21 May 2003 10:40:10 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.interfaces; import org.asturlinux.frade.prolix.interpreter.exceptions.*; Index: Substitution.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/Substitution.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Substitution.java 20 May 2003 22:14:00 -0000 1.2 --- Substitution.java 21 May 2003 10:40:10 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.interfaces; import org.asturlinux.frade.prolix.interpreter.exceptions.*; Index: TreeElement.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/TreeElement.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TreeElement.java 20 May 2003 22:14:00 -0000 1.2 --- TreeElement.java 21 May 2003 10:40:10 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /** + * + * Copyright 2003 Ivan Frade + * + * This file is part of Prolix. + * + * Prolix is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Prolix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Prolix; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + **/ package org.asturlinux.frade.prolix.interpreter.interfaces; import org.asturlinux.frade.prolix.interpreter.exceptions.*; |
From: <iva...@us...> - 2003-05-20 23:05:54
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv31822 Added Files: LICENSE Log Message: Added LICENSE --- NEW FILE: LICENSE --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. |
From: <iva...@us...> - 2003-05-20 23:04:59
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv31499 Modified Files: build.xml Log Message: Corrected build.xml Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** build.xml 20 May 2003 22:13:59 -0000 1.2 --- build.xml 20 May 2003 23:04:55 -0000 1.3 *************** *** 41,45 **** <jar jarfile="${dist}/prolix-interpreter-interfaz.jar" basedir="${build}/beans" ! includes="org/asturlinux/frade/prolix/interpreter/**/**"/> </target> --- 41,45 ---- <jar jarfile="${dist}/prolix-interpreter-interfaz.jar" basedir="${build}/beans" ! includes="org/asturlinux/frade/prolix/interpreter/**"/> </target> |
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces In directory sc8-pr-cvs1:/tmp/cvs-serv11615/src/org/asturlinux/frade/prolix/interpreter/interfaces Modified Files: PrologContext.java PrologInterpreter.java Substitution.java TreeElement.java Log Message: Updated packages in files and build.xml Index: PrologContext.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/PrologContext.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PrologContext.java 20 May 2003 21:28:06 -0000 1.1 --- PrologContext.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,5 **** ! package org.asturlinux.frade.prolix.interfaces; ! import org.asturlinux.frade.prolix.exceptions.*; --- 1,5 ---- ! package org.asturlinux.frade.prolix.interpreter.interfaces; ! import org.asturlinux.frade.prolix.interpreter.exceptions.*; Index: PrologInterpreter.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/PrologInterpreter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PrologInterpreter.java 20 May 2003 21:28:06 -0000 1.1 --- PrologInterpreter.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,4 **** ! package org.asturlinux.frade.prolix.interfaces; ! import org.asturlinux.frade.prolix.exceptions.*; public interface PrologInterpreter --- 1,4 ---- ! package org.asturlinux.frade.prolix.interpreter.interfaces; ! import org.asturlinux.frade.prolix.interpreter.exceptions.*; public interface PrologInterpreter Index: Substitution.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/Substitution.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Substitution.java 20 May 2003 21:28:06 -0000 1.1 --- Substitution.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,4 **** ! package org.asturlinux.frade.prolix.interfaces; ! import org.asturlinux.frade.prolix.exceptions.*; public interface Substitution --- 1,4 ---- ! package org.asturlinux.frade.prolix.interpreter.interfaces; ! import org.asturlinux.frade.prolix.interpreter.exceptions.*; public interface Substitution Index: TreeElement.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces/TreeElement.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TreeElement.java 20 May 2003 21:28:06 -0000 1.1 --- TreeElement.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,4 **** ! package org.asturlinux.frade.prolix.interfaces; ! import org.asturlinux.frade.prolix.exceptions.*; public interface TreeElement --- 1,4 ---- ! package org.asturlinux.frade.prolix.interpreter.interfaces; ! import org.asturlinux.frade.prolix.interpreter.exceptions.*; public interface TreeElement |
From: <iva...@us...> - 2003-05-20 22:14:03
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions In directory sc8-pr-cvs1:/tmp/cvs-serv11615/src/org/asturlinux/frade/prolix/interpreter/exceptions Modified Files: CreateException.java LexicalException.java ProgramAlreadyLoadedException.java ProgramNotLoadedException.java QueryNotLoadedException.java SyntaxException.java Log Message: Updated packages in files and build.xml Index: CreateException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/CreateException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CreateException.java 20 May 2003 21:36:33 -0000 1.1 --- CreateException.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,3 **** ! package org.asturlinux.frade.prolix.exceptions; public class CreateException extends Exception --- 1,3 ---- ! package org.asturlinux.frade.prolix.interpreter.exceptions; public class CreateException extends Exception Index: LexicalException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/LexicalException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LexicalException.java 20 May 2003 21:36:33 -0000 1.1 --- LexicalException.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,3 **** ! package org.asturlinux.frade.prolix.exceptions; public class LexicalException extends Exception{ --- 1,3 ---- ! package org.asturlinux.frade.prolix.interpreter.exceptions; public class LexicalException extends Exception{ Index: ProgramAlreadyLoadedException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/ProgramAlreadyLoadedException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ProgramAlreadyLoadedException.java 20 May 2003 21:36:33 -0000 1.1 --- ProgramAlreadyLoadedException.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,3 **** ! package org.asturlinux.frade.prolix.exceptions; public class ProgramAlreadyLoadedException extends Exception --- 1,3 ---- ! package org.asturlinux.frade.prolix.interpreter.exceptions; public class ProgramAlreadyLoadedException extends Exception Index: ProgramNotLoadedException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/ProgramNotLoadedException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ProgramNotLoadedException.java 20 May 2003 21:36:33 -0000 1.1 --- ProgramNotLoadedException.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,3 **** ! package org.asturlinux.frade.prolix.exceptions; public class ProgramNotLoadedException extends Exception --- 1,3 ---- ! package org.asturlinux.frade.prolix.interpreter.exceptions; public class ProgramNotLoadedException extends Exception Index: QueryNotLoadedException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/QueryNotLoadedException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** QueryNotLoadedException.java 20 May 2003 21:36:33 -0000 1.1 --- QueryNotLoadedException.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,3 **** ! package org.asturlinux.frade.prolix.exceptions; public class QueryNotLoadedException extends Exception --- 1,3 ---- ! package org.asturlinux.frade.prolix.interpreter.exceptions; public class QueryNotLoadedException extends Exception Index: SyntaxException.java =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/exceptions/SyntaxException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SyntaxException.java 20 May 2003 21:36:33 -0000 1.1 --- SyntaxException.java 20 May 2003 22:14:00 -0000 1.2 *************** *** 1,3 **** ! package org.asturlinux.frade.prolix.exceptions; public class SyntaxException extends Exception { --- 1,3 ---- ! package org.asturlinux.frade.prolix.interpreter.exceptions; public class SyntaxException extends Exception { |
From: <iva...@us...> - 2003-05-20 22:14:02
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv11615 Modified Files: build.xml Log Message: Updated packages in files and build.xml Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.xml 20 May 2003 14:55:50 -0000 1.1 --- build.xml 20 May 2003 22:13:59 -0000 1.2 *************** *** 41,45 **** <jar jarfile="${dist}/prolix-interpreter-interfaz.jar" basedir="${build}/beans" ! includes="org/asturlinux/frade/prolix/interfaces/**"/> </target> --- 41,45 ---- <jar jarfile="${dist}/prolix-interpreter-interfaz.jar" basedir="${build}/beans" ! includes="org/asturlinux/frade/prolix/interpreter/**/**"/> </target> |
From: <iva...@us...> - 2003-05-20 21:57:58
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/entityjb In directory sc8-pr-cvs1:/tmp/cvs-serv5677/entityjb Added Files: README Log Message: Moved entitiesjb to entityjb dir --- NEW FILE: README --- Entity Beans. |
From: <iva...@us...> - 2003-05-20 21:57:58
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/entitiesjb In directory sc8-pr-cvs1:/tmp/cvs-serv5677/entitiesjb Removed Files: README Log Message: Moved entitiesjb to entityjb dir --- README DELETED --- |
From: <iva...@us...> - 2003-05-20 21:55:24
|
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/entityjb In directory sc8-pr-cvs1:/tmp/cvs-serv4416/entityjb Log Message: Directory /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/ejb/entityjb added to the repository |
Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/interpreter/interfaces In directory sc8-pr-cvs1:/tmp/cvs-serv24971/interpreter/interfaces Added Files: PrologContext.java PrologInterpreter.java Substitution.java TreeElement.java Log Message: Moved interfaces to interpreter/interfaces --- NEW FILE: PrologContext.java --- package org.asturlinux.frade.prolix.interfaces; import org.asturlinux.frade.prolix.exceptions.*; public interface PrologContext { public void load (String programSource) throws SyntaxException, LexicalException, ProgramAlreadyLoadedException; public void consult (String query) throws SyntaxException, LexicalException, ProgramNotLoadedException; public TreeElement step() throws ProgramNotLoadedException, QueryNotLoadedException; } --- NEW FILE: PrologInterpreter.java --- package org.asturlinux.frade.prolix.interfaces; import org.asturlinux.frade.prolix.exceptions.*; public interface PrologInterpreter { public PrologContext createContext () throws CreateException; } --- NEW FILE: Substitution.java --- package org.asturlinux.frade.prolix.interfaces; import org.asturlinux.frade.prolix.exceptions.*; public interface Substitution { public String getOriginalValue(); public String getNewValue(); } --- NEW FILE: TreeElement.java --- package org.asturlinux.frade.prolix.interfaces; import org.asturlinux.frade.prolix.exceptions.*; public interface TreeElement { public boolean isCompletlyExplored(); public boolean isFinal(); public boolean isSolution(); public TreeElement getNextLevelElements(); public TreeElement getParent(); public String getQuery(); public Substitution getSubstitutions(); } |