You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by tc...@apache.org on 2004/06/04 02:12:31 UTC
cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl page2swf.xsl
tcurdt 2004/06/03 17:12:31
Modified: . blocks.properties gump.xml status.xml
lib jars.xml
src/webapp/samples/hello-world samples.xml sitemap.xmap
Added: src/webapp/samples/hello-world/style/swf hello.fla hello.swf
Removed: legal spark.fpl.license.txt spark.opl.license.txt
src/blocks/swf/conf swf.xmap swf.xsamples
src/blocks/swf/java/org/apache/cocoon/generation
SWFGenerator.java
src/blocks/swf/java/org/apache/cocoon/serialization
SWFSerializer.java
src/blocks/swf/lib spark-0.2.jar
src/blocks/swf/samples samples.xml sitemap.xmap
src/webapp/samples/hello-world/style/xsl page2swf.xsl
Log:
removed the deprecated swf block and added a simple flash example in the hello world section
Revision Changes Path
1.78 +1 -2 cocoon-2.1/blocks.properties
Index: blocks.properties
===================================================================
RCS file: /home/cvs/cocoon-2.1/blocks.properties,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- blocks.properties 13 May 2004 12:35:29 -0000 1.77
+++ blocks.properties 4 Jun 2004 00:12:30 -0000 1.78
@@ -81,7 +81,6 @@
#-----[dependency]: "session-fw" depends on "xsp".
#-----[dependency]: "session-fw" is needed by "authentication-fw", "portal", "portal-fw".
#include.block.session-fw=false
-#include.block.swf=false
#-----[dependency]: "velocity" is needed by "petstore", "scratchpad".
#include.block.velocity=false
#include.block.web3=false
@@ -101,7 +100,7 @@
# stable.
#-----[dependency]: "apples" depends on "forms" (for samples).
-#include.block.apples=false
+include.block.apples=false
#-----[dependency]: "asciiart" is needed by "mail".
#include.block.asciiart=false
#include.block.axis=false
1.158 +1 -20 cocoon-2.1/gump.xml
Index: gump.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/gump.xml,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -r1.157 -r1.158
--- gump.xml 26 May 2004 11:23:47 -0000 1.157
+++ gump.xml 4 Jun 2004 00:12:30 -0000 1.158
@@ -204,25 +204,6 @@
<nag from="Gump" to="dev@cocoon.apache.org"/>
</project>
- <project name="cocoon-block-swf" status="deprecated">
- <package>org.apache.cocoon</package>
-
- <ant target="gump-block">
- <property name="block-name" value="swf"/>
- <property name="version" value="@@DATE@@"/>
- </ant>
-
- <depend project="cocoon" inherit="all"/>
- <depend project="spark"/>
-
- <work nested="tools/anttasks"/>
- <home nested="build/cocoon-@@DATE@@"/>
-
- <jar name="blocks/swf-block.jar"/>
-
- <nag from="Gump" to="dev@cocoon.apache.org"/>
- </project>
-
<project name="cocoon-block-jfor" status="stable">
<package>org.apache.cocoon</package>
1.347 +7 -3 cocoon-2.1/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/status.xml,v
retrieving revision 1.346
retrieving revision 1.347
diff -u -r1.346 -r1.347
--- status.xml 3 Jun 2004 13:01:53 -0000 1.346
+++ status.xml 4 Jun 2004 00:12:30 -0000 1.347
@@ -205,11 +205,15 @@
<changes>
<release version="@version@" date="@date@">
+ <action dev="TC" type="remove">
+ Removed the deprecated SWF block and added
+ a flash sample in the hello world section.
+ </action>
<action dev="TC" type="fix">
- Serializers: Fixed the namespace handling.
+ Fixed the namespace handling of the new XMLSerializer.
</action>
<action dev="TC" type="add">
- Serializers: Added support for indentation to the new XML Serializer.
+ Added support for indentation to the new XMLSerializer.
</action>
<action dev="CZ" type="update">
Remove deprecated methods from SimpleCharStream, Notifier,
1.220 +1 -12 cocoon-2.1/lib/jars.xml
Index: jars.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/lib/jars.xml,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -r1.219 -r1.220
--- jars.xml 28 May 2004 12:45:00 -0000 1.219
+++ jars.xml 4 Jun 2004 00:12:30 -0000 1.220
@@ -713,17 +713,6 @@
</file>
<file>
- <title>Spark</title>
- <description>
- Spark is a Java library that converts data in Macromedias SWF ("Flash")
- data format to XML conforming to a specialized DTD and vice versa
- </description>
- <used-by>SWF Serializer (swf block)</used-by>
- <lib>swf/lib/spark-0.2.jar</lib>
- <homepage>http://www.tivano.de/software/spark/</homepage>
- </file>
-
- <file>
<title>Chaperon Text Parser</title>
<description>
The chaperon project is parser which could parse text files, and convert
1.16 +6 -1 cocoon-2.1/src/webapp/samples/hello-world/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/hello-world/samples.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- samples.xml 5 Apr 2004 12:34:23 -0000 1.15
+++ samples.xml 4 Jun 2004 00:12:30 -0000 1.16
@@ -59,6 +59,11 @@
from your content. Here is an example that renders to SVG (Scalable Vector
Graphics). (You need an SVG plugin, or an SVG-capable browser to see this.)
</sample>
+ <sample name="SWF" href="hello.swf">
+ Flash is everywhere. In fact many people have the plugin installed.
+ Let Cocoon configure your flash movie. A little action script and you set.
+ See this sample how it works.
+ </sample>
<sample name="Plain Text" href="hello.txt">
Sometimes you don't need to be very fancy, so here is a plain text
version of your content.
1.15 +5 -1 cocoon-2.1/src/webapp/samples/hello-world/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/hello-world/sitemap.xmap,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- sitemap.xmap 6 Mar 2004 02:26:07 -0000 1.14
+++ sitemap.xmap 4 Jun 2004 00:12:30 -0000 1.15
@@ -95,6 +95,10 @@
<map:serialize type="svgxml"/>
</map:match>
+ <map:match pattern="hello.swf">
+ <map:read src="style/swf/hello.swf"/>
+ </map:match>
+
<map:match pattern="hello.wrl">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2vrml.xsl"/>
1.1 cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.fla
<<Binary file>>
1.1 cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.swf
<<Binary file>>
Re: cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl page2swf.xsl
Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 4 juin 04, à 07:59, Joerg Heinicke a écrit :
...
>> 1.1
>> cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.fla
>> <<Binary file>>
>> 1.1
>> cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.swf
>> <<Binary file>>
>
> Are they really binary?
fla and swf are definitely binary files, aren't they?
-Bertrand
Re: cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl
page2swf.xsl
Posted by Joerg Heinicke <jo...@gmx.de>.
On 04.06.2004 10:59, Torsten Curdt wrote:
>> Hmm, but then it has not much to do with Cocoon ...
>
> Well, people are interested in using Cocoon with
> with flash. So we show them how to use it with
> flash. Anything wrong with that?!
No, it only has nothing to do with Cocoon's capabilities.
> Especially since we agreed on removing the swf
> block with this replacement I don't understand
> your concerns.
No, it's absolutely ok. Don't know if I voted, at least I was and am
also pro the removal due to missing maturity and community. It's only
some sadness about having nothing for flash. And due to binary flash
files we can not claim flash capabilities.
Joerg
Re: cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl
page2swf.xsl
Posted by Torsten Curdt <tc...@vafer.org>.
>>> Are they really binary?
>>
>>
>> They are! Thanks for the cross check!
>
>
> Hmm, but then it has not much to do with Cocoon ...
?
Well, people are interested in using Cocoon with
with flash. So we show them how to use it with
flash. Anything wrong with that?!
Especially since we agreed on removing the swf
block with this replacement I don't understand
your concerns.
cheers
--
Torsten
Re: cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl
page2swf.xsl
Posted by Joerg Heinicke <jo...@gmx.de>.
On 04.06.2004 09:29, Torsten Curdt wrote:
>>> 1.1
>>> cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.fla
>>> <<Binary file>>
>>> 1.1
>>> cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.swf
>>> <<Binary file>>
>>
>> Are they really binary?
>
> They are! Thanks for the cross check!
Hmm, but then it has not much to do with Cocoon ...
Joerg
Re: cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl
page2swf.xsl
Posted by Torsten Curdt <tc...@vafer.org>.
>> #-----[dependency]: "apples" depends on "forms" (for samples).
>> -#include.block.apples=false
>> +include.block.apples=false
>> #-----[dependency]: "asciiart" is needed by "mail".
ups! ...that wasn't intended
*torsten rushing away fixing it*
> Apples should not be excluded by default.
>> 1.1
>> cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.fla
>> <<Binary file>>
>> 1.1
>> cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.swf
>> <<Binary file>>
>
>
> Are they really binary?
They are! Thanks for the cross check!
cheers
--
Torsten
Re: cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl
page2swf.xsl
Posted by Joerg Heinicke <jo...@gmx.de>.
On 04.06.2004 02:12, tcurdt@apache.org wrote:
> Log:
> removed the deprecated swf block and added a simple flash example in the hello world section
Just want to point on some errors:
> Index: blocks.properties
> #-----[dependency]: "apples" depends on "forms" (for samples).
> -#include.block.apples=false
> +include.block.apples=false
> #-----[dependency]: "asciiart" is needed by "mail".
Apples should not be excluded by default.
> Index: status.xml
> <action dev="TC" type="fix">
> - Serializers: Fixed the namespace handling.
> + Fixed the namespace handling of the new XMLSerializer.
> </action>
> <action dev="TC" type="add">
> - Serializers: Added support for indentation to the new XML Serializer.
> + Added support for indentation to the new XMLSerializer.
> </action>
You overwrote Vadim's changes.
> 1.1 cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.fla
>
> <<Binary file>>
>
>
> 1.1 cocoon-2.1/src/webapp/samples/hello-world/style/swf/hello.swf
>
> <<Binary file>>
Are they really binary?
Joerg