Commit 263e0ad8 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Corrected some class names after v1-0-0 reorganisation

parent bf13c009
......@@ -3,8 +3,8 @@
<transmorpher name="church" version="1.0" reloc="church/result" xmlns="http://transmorpher.fluxmedia.fr/1.0">
<defextern name="int" class="fr.fluxmedia.transmorpher.stdlib.integerIterator"/>
<defextern name="fixpoint" class="fr.fluxmedia.transmorpher.stdlib.fixpointIterator"/>
<defextern name="int" class="fr.fluxmedia.transmorpher.stdlib.IntegerIterator"/>
<defextern name="fixpoint" class="fr.fluxmedia.transmorpher.stdlib.FixpointIterator"/>
<main name="churchReduce">
<generate id="generateNumber1" type="readfile" out="idaml1">
......
Manifest-Version: 1.0
Created-By: Jerome.Euzenat@inrialpes.fr
Class-Path: avalon-framework-4.0.jar batik.jar jfor-0.7.1.jar logkit-1.0.jar fop.jar mail.jar transmo.jar Tidy.jar xercesImpl.jar xalan.jar xml-apis.jar gnu-regexp.jar
Main-Class: fr/fluxmedia/transmorpher/Application/transmorph
Main-Class: fr/fluxmedia/transmorpher/application/Transmorph
/**
* $Id: TProcessComposite.java,v 1.1 2002-11-06 14:08:21 serge Exp $
* $Id: TProcessComposite.java,v 1.2 2002-11-07 08:13:26 triolet Exp $
*
* Transmorpher
*
......@@ -218,11 +218,14 @@ public abstract class TProcessComposite extends TProcess_Impl {
throws SAXException,IOException, TMRuntimeException {
// JE: it is certainly time to open stdin and stdout if it is necessary
for (Enumeration e = listOfProcessBasic.elements() ; e.hasMoreElements() ;) {
TProcessBasic process = (TProcessBasic)e.nextElement();
process.setThread(useThread);
if (!(process instanceof TReader))
process.execProcess();
}
Object o = e.nextElement();
if (!(o instanceof TLoop)){
TProcessBasic process = (TProcessBasic)e.nextElement();
process.setThread(useThread);
if (!(process instanceof TReader))
process.execProcess();
}
}
for (Enumeration e = listOfGenerator.elements() ; e.hasMoreElements() ;) {
TReader reader = (TReader)e.nextElement();
//reader.setThread(useThread);
......
/**
* $Id: TProcessFactory.java,v 1.1 2002-11-06 14:08:21 serge Exp $
* $Id: TProcessFactory.java,v 1.2 2002-11-07 08:13:26 triolet Exp $
*
* Transmorpher
*
......@@ -124,18 +124,18 @@ public final class TProcessFactory {
public void initFactory(LinearIndexedStruct externs){
listType = new LinearIndexedStruct();
// Default merger/dispatchers
listType.add("broadcast", (Object)"fr.fluxmedia.transmorpher.stdlib.broadcast");
listType.add("concat", (Object)"fr.fluxmedia.transmorpher.stdlib.concat");
listType.add("wrap", (Object)"fr.fluxmedia.transmorpher.stdlib.wrap");
listType.add("broadcast", (Object)"fr.fluxmedia.transmorpher.stdlib.Broadcast");
listType.add("concat", (Object)"fr.fluxmedia.transmorpher.stdlib.Concat");
listType.add("wrap", (Object)"fr.fluxmedia.transmorpher.stdlib.Wrap");
// Default reader/writers
listType.add("readfile", (Object)"fr.fluxmedia.transmorpher.stdlib.readfile");
listType.add("writefile", (Object)"fr.fluxmedia.transmorpher.stdlib.writefile");
listType.add("readfile", (Object)"fr.fluxmedia.transmorpher.stdlib.ReadFile");
listType.add("writefile", (Object)"fr.fluxmedia.transmorpher.stdlib.WriteFile");
// These two should be replaced by two different classes...
listType.add("standardInput", (Object)"fr.fluxmedia.transmorpher.engine.TReader");
listType.add("standardOutput", (Object)"fr.fluxmedia.transmorpher.stdlib.stdout");
listType.add("standardOutput", (Object)"fr.fluxmedia.transmorpher.stdlib.StdOut");
// Default transformations
listType.add("xslt", (Object)"fr.fluxmedia.transmorpher.stdlib.xslt");
listType.add("tmq", (Object)"fr.fluxmedia.transmorpher.stdlib.tmq");
listType.add("xslt", (Object)"fr.fluxmedia.transmorpher.stdlib.XSLT");
listType.add("tmq", (Object)"fr.fluxmedia.transmorpher.stdlib.TMQuery");
listType.add("if", (Object)"fr.fluxmedia.transmorpher.stdlib.TestingDispatcher");
// appends externs to listType
Enumeration keys = externs.getKeys();
......
/**
* $Id: Ruleset.java,v 1.1 2002-11-06 14:08:21 serge Exp $
* $Id: Ruleset.java,v 1.2 2002-11-07 08:13:26 triolet Exp $
*
* Transmorpher
*
......@@ -101,7 +101,7 @@ public class Ruleset extends TransformationImpl implements Namespaced {
for( int i = 0; i < namespaces.size(); i++ ){
((Namespace)namespaces.get(i)).generateXSLTCode(file);
}
file.writeln(" xmlns:regexp=\"http://fr.fluxmedia.transmorpher.regexp.RegularExpression\">");
file.writeln(" xmlns:regexp=\"http://fr.fluxmedia.transmorpher.stdlib.RegularExpression\">");
file.writeln("");
file.writeln("<!-- ************************************************************");
file.writeln(" Generated by "+Version.NAME+" "+Version.RELEASE);
......
/**
* $Id: RegularExpression.java,v 1.1 2002-11-06 14:08:21 serge Exp $
* $Id: RegularExpression.java,v 1.2 2002-11-07 08:13:26 triolet Exp $
*
* Transmorpher
*
......@@ -28,7 +28,7 @@
* @content : attempt about regular expression in java
*/
package fr.fluxmedia.transmorpher.regexp ;
package fr.fluxmedia.transmorpher.stdlib ;
import java.util.*;
import gnu.regexp.RE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment