[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-dev
Subject:    linux and redirect
From:       Andreas Voss <andreas () avix ! rhein-neckar ! de>
Date:       1999-12-20 0:45:56
[Download RAW message or body]

attached I send you the changes I had to make to compile xalan under
linux. Also there is a small fix for the redirect extension, which
produced empty output files in case <redirect:open> and <redirect:close>
were not called explicitely. The patch is against current CVS.

FYI: in the distribution 0_19_1 the Makefile and src/makex* files have to
be converted from DOS to UNIX format before linux make accepts them. 

Best Regards,
Andreas


["diff.txt" (TEXT/PLAIN)]

Index: docs/Makefile
===================================================================
RCS file: /home/cvspublic/xml-xalan/docs/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	1999/12/17 20:52:44	1.11
+++ Makefile	1999/12/19 23:10:27
@@ -18,7 +18,8 @@
 JITFLAG          := -Djava.compiler=NONE
 XSLTPROCESSOR    = $(APACHE_PKG).xslt.Process
 STYLEBOOK        := Stylebook
-JAVADOC122       :=$(PATHSEP)jdk122$(PATHSEP)bin$(PATHSEP)javadoc
+#JAVADOC122       :=$(PATHSEP)jdk122$(PATHSEP)bin$(PATHSEP)javadoc
+JAVADOC122       :=$(JDK12BIN)$(PATHSEP)javadoc
 
 DOCPREBUILT_LAST = docprebuilt.last
 STYLEBOOK_LAST = stylebook.last
@@ -97,4 +98,4 @@
 	$(RM) $(DOCS_TARGET)/images/*.*
 	$(RM) $(DOCS_TARGET)/apidocs/*.*
 
-# End Of File
\ No newline at end of file
+# End Of File
Index: src/makexpath4j
===================================================================
RCS file: /home/cvspublic/xml-xalan/src/makexpath4j,v
retrieving revision 1.11
diff -u -r1.11 makexpath4j
--- makexpath4j	1999/12/13 08:22:54	1.11
+++ makexpath4j	1999/12/19 23:10:29
@@ -142,7 +142,7 @@
 
 OBJS = $(SRCS:%.java=classes/%.class)
 
-all: sincelast sincelast2 makesubdirs
+all: sincelast sincelast2
 
 # Note double-colon targets are treated specially
 clean::
@@ -158,4 +158,4 @@
 sincexpath2.last: $(SRCS2)
 	-mkdir $(CLASSESDIR)
 	$(JAVAC) $(JAVACFLAGS) -classpath "$(EXTRA_CLASSPATH)" $?
-	touch sincexpath2.last
\ No newline at end of file
+	touch sincexpath2.last
Index: src/makexslt4j
===================================================================
RCS file: /home/cvspublic/xml-xalan/src/makexslt4j,v
retrieving revision 1.5
diff -u -r1.5 makexslt4j
--- makexslt4j	1999/12/16 11:19:18	1.5
+++ makexslt4j	1999/12/19 23:10:29
@@ -112,7 +112,7 @@
     
 OBJS = $($(subst /,\\,$(SRCS)):%.java=classes/%.class)
 
-all: sincelast makesubdirs
+all: sincelast
 
 clean::
 	$(RM) $(CLASS_DIR)/$(XSLT4JDIR)/*.class \
Index: src/org/apache/xalan/xslt/extensions/Redirect.java
===================================================================
RCS file: /home/cvspublic/xml-xalan/src/org/apache/xalan/xslt/extensions/Redirect.java,v
retrieving revision 1.4
diff -u -r1.4 Redirect.java
--- Redirect.java	1999/12/16 09:06:06	1.4
+++ Redirect.java	1999/12/19 23:10:33
@@ -200,6 +200,7 @@
       OutputStream ostream = (OutputStream)m_outputStreams.get(fileName);
       if(null != ostream)
       {
+        formatter.endDocument();
         ostream.close();
         m_outputStreams.remove(fileName);
         m_formatterListeners.remove(fileName);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic