ai4r 1.5 → 1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/clusterers/simple_website_clustering.rb +47 -0
- data/lib/ai4r.rb +7 -0
- data/lib/ai4r/classifiers/hyperpipes.rb +118 -0
- data/lib/ai4r/clusterers/average_linkage.rb +22 -23
- data/lib/ai4r/clusterers/centroid_linkage.rb +66 -0
- data/lib/ai4r/clusterers/complete_linkage.rb +17 -12
- data/lib/ai4r/clusterers/diana.rb +139 -0
- data/lib/ai4r/clusterers/median_linkage.rb +61 -0
- data/lib/ai4r/clusterers/single_linkage.rb +57 -42
- data/lib/ai4r/clusterers/ward_linkage.rb +64 -0
- data/lib/ai4r/clusterers/weighted_average_linkage.rb +61 -0
- data/lib/ai4r/data/constants.rb +18 -0
- data/lib/ai4r/data/data_set.rb +5 -3
- data/lib/ai4r/data/proximity.rb +18 -0
- data/test/clusterers/average_linkage_test.rb +14 -11
- data/test/clusterers/bisecting_k_means_test.rb +9 -0
- data/test/clusterers/centroid_linkage_test.rb +50 -0
- data/test/clusterers/complete_linkage_test.rb +14 -5
- data/test/clusterers/diana_test.rb +69 -0
- data/test/clusterers/k_means_test.rb +9 -0
- data/test/clusterers/median_linkage_test.rb +50 -0
- data/test/clusterers/single_linkage_test.rb +15 -6
- data/test/clusterers/ward_linkage_test.rb +50 -0
- data/test/clusterers/weighted_average_linkage_test.rb +50 -0
- data/test/data/data_set_test.rb +14 -0
- data/test/data/proximity_test.rb +10 -0
- metadata +87 -298
- data/site/build/site/en/broken-links.xml +0 -2
- data/site/build/site/en/build/tmp/build-info.xml +0 -5
- data/site/build/site/en/build/tmp/plugins-1.xml +0 -212
- data/site/build/site/en/build/tmp/plugins-2.xml +0 -252
- data/site/build/site/en/build/tmp/projfilters.properties +0 -41
- data/site/build/site/en/downloads.html +0 -200
- data/site/build/site/en/downloads.pdf +0 -151
- data/site/build/site/en/geneticAlgorithms.html +0 -591
- data/site/build/site/en/geneticAlgorithms.pdf +0 -934
- data/site/build/site/en/images/ai4r-logo.png +0 -0
- data/site/build/site/en/images/built-with-forrest-button.png +0 -0
- data/site/build/site/en/images/c.png +0 -0
- data/site/build/site/en/images/c_wbn.png +0 -0
- data/site/build/site/en/images/c_wn.png +0 -0
- data/site/build/site/en/images/ero.gif +0 -0
- data/site/build/site/en/images/europe2.png +0 -0
- data/site/build/site/en/images/europe3.png +0 -0
- data/site/build/site/en/images/fitness.png +0 -0
- data/site/build/site/en/images/genetic_algorithms_example.png +0 -0
- data/site/build/site/en/images/instruction_arrow.png +0 -0
- data/site/build/site/en/images/jadeferret.png +0 -0
- data/site/build/site/en/images/my_email.png +0 -0
- data/site/build/site/en/images/neural_network_example.png +0 -0
- data/site/build/site/en/images/rubyforge.png +0 -0
- data/site/build/site/en/images/s.png +0 -0
- data/site/build/site/en/images/s_wbn.png +0 -0
- data/site/build/site/en/images/s_wn.png +0 -0
- data/site/build/site/en/images/sigmoid.png +0 -0
- data/site/build/site/en/images/t.png +0 -0
- data/site/build/site/en/images/t_wbn.png +0 -0
- data/site/build/site/en/images/t_wn.png +0 -0
- data/site/build/site/en/index.html +0 -390
- data/site/build/site/en/index.pdf +0 -657
- data/site/build/site/en/linkmap.html +0 -261
- data/site/build/site/en/linkmap.pdf +0 -94
- data/site/build/site/en/locationmap.xml +0 -72
- data/site/build/site/en/machineLearning.html +0 -340
- data/site/build/site/en/machineLearning.pdf +0 -337
- data/site/build/site/en/neuralNetworks.html +0 -521
- data/site/build/site/en/neuralNetworks.pdf +0 -671
- data/site/build/site/en/skin/CommonMessages_de.xml +0 -23
- data/site/build/site/en/skin/CommonMessages_en_US.xml +0 -23
- data/site/build/site/en/skin/CommonMessages_es.xml +0 -23
- data/site/build/site/en/skin/CommonMessages_fr.xml +0 -23
- data/site/build/site/en/skin/basic.css +0 -166
- data/site/build/site/en/skin/breadcrumbs-optimized.js +0 -90
- data/site/build/site/en/skin/breadcrumbs.js +0 -237
- data/site/build/site/en/skin/fontsize.js +0 -166
- data/site/build/site/en/skin/getBlank.js +0 -40
- data/site/build/site/en/skin/getMenu.js +0 -45
- data/site/build/site/en/skin/images/README.txt +0 -1
- data/site/build/site/en/skin/images/add.jpg +0 -0
- data/site/build/site/en/skin/images/built-with-forrest-button.png +0 -0
- data/site/build/site/en/skin/images/chapter.gif +0 -0
- data/site/build/site/en/skin/images/chapter_open.gif +0 -0
- data/site/build/site/en/skin/images/current.gif +0 -0
- data/site/build/site/en/skin/images/error.png +0 -0
- data/site/build/site/en/skin/images/external-link.gif +0 -0
- data/site/build/site/en/skin/images/fix.jpg +0 -0
- data/site/build/site/en/skin/images/forrest-credit-logo.png +0 -0
- data/site/build/site/en/skin/images/hack.jpg +0 -0
- data/site/build/site/en/skin/images/header_white_line.gif +0 -0
- data/site/build/site/en/skin/images/info.png +0 -0
- data/site/build/site/en/skin/images/instruction_arrow.png +0 -0
- data/site/build/site/en/skin/images/label.gif +0 -0
- data/site/build/site/en/skin/images/page.gif +0 -0
- data/site/build/site/en/skin/images/pdfdoc.gif +0 -0
- data/site/build/site/en/skin/images/poddoc.png +0 -0
- data/site/build/site/en/skin/images/printer.gif +0 -0
- data/site/build/site/en/skin/images/rc-b-l-15-1body-2menu-3menu.png +0 -0
- data/site/build/site/en/skin/images/rc-b-r-15-1body-2menu-3menu.png +0 -0
- data/site/build/site/en/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png +0 -0
- data/site/build/site/en/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png +0 -0
- data/site/build/site/en/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png +0 -0
- data/site/build/site/en/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png +0 -0
- data/site/build/site/en/skin/images/rc-t-r-15-1body-2menu-3menu.png +0 -0
- data/site/build/site/en/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png +0 -0
- data/site/build/site/en/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png +0 -0
- data/site/build/site/en/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png +0 -0
- data/site/build/site/en/skin/images/remove.jpg +0 -0
- data/site/build/site/en/skin/images/rss.png +0 -0
- data/site/build/site/en/skin/images/spacer.gif +0 -0
- data/site/build/site/en/skin/images/success.png +0 -0
- data/site/build/site/en/skin/images/txtdoc.png +0 -0
- data/site/build/site/en/skin/images/update.jpg +0 -0
- data/site/build/site/en/skin/images/valid-html401.png +0 -0
- data/site/build/site/en/skin/images/vcss.png +0 -0
- data/site/build/site/en/skin/images/warning.png +0 -0
- data/site/build/site/en/skin/images/xmldoc.gif +0 -0
- data/site/build/site/en/skin/menu.js +0 -48
- data/site/build/site/en/skin/note.txt +0 -50
- data/site/build/site/en/skin/print.css +0 -54
- data/site/build/site/en/skin/profile.css +0 -163
- data/site/build/site/en/skin/prototype.js +0 -1257
- data/site/build/site/en/skin/screen.css +0 -587
- data/site/build/site/en/sourceCode.html +0 -244
- data/site/build/site/en/sourceCode.pdf +0 -278
- data/site/build/site/en/svn.html +0 -244
- data/site/build/site/en/svn.pdf +0 -278
- data/site/build/tmp/brokenlinks.xml +0 -2
- data/site/build/tmp/build-info.xml +0 -5
- data/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.data +0 -0
- data/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.index +0 -0
- data/site/build/tmp/input.xmap +0 -32
- data/site/build/tmp/internal.xmap +0 -32
- data/site/build/tmp/locationmap.xml +0 -29
- data/site/build/tmp/output.xmap +0 -38
- data/site/build/tmp/pluginlist2fetchbuild.xml +0 -144
- data/site/build/tmp/plugins-1.xml +0 -201
- data/site/build/tmp/plugins-2.xml +0 -401
- data/site/build/tmp/projfilters.properties +0 -41
- data/site/build/tmp/resources.xmap +0 -32
- data/site/build/webapp/WEB-INF/logs/access.log +0 -0
- data/site/build/webapp/WEB-INF/logs/core.log +0 -775
- data/site/build/webapp/WEB-INF/logs/debug.log +0 -0
- data/site/build/webapp/WEB-INF/logs/error.log +0 -213
- data/site/build/webapp/WEB-INF/logs/flow.log +0 -0
- data/site/build/webapp/WEB-INF/logs/idgen.log +0 -0
- data/site/build/webapp/WEB-INF/logs/linkrewriter.log +0 -0
- data/site/build/webapp/WEB-INF/logs/locationmap.log +0 -0
- data/site/build/webapp/WEB-INF/logs/sitemap.log +0 -0
- data/site/build/webapp/WEB-INF/logs/xmlform.log +0 -0
- data/site/forrest.properties +0 -152
- data/site/forrest.properties.dispatcher.properties +0 -25
- data/site/forrest.properties.xml +0 -29
- data/site/src/documentation/README.txt +0 -7
- data/site/src/documentation/classes/CatalogManager.properties +0 -62
- data/site/src/documentation/content/locationmap.xml +0 -72
- data/site/src/documentation/content/xdocs/downloads.html +0 -9
- data/site/src/documentation/content/xdocs/geneticAlgorithms.xml +0 -294
- data/site/src/documentation/content/xdocs/index.xml +0 -129
- data/site/src/documentation/content/xdocs/machineLearning.xml +0 -131
- data/site/src/documentation/content/xdocs/neuralNetworks.xml +0 -270
- data/site/src/documentation/content/xdocs/site.xml +0 -54
- data/site/src/documentation/content/xdocs/sourceCode.xml +0 -43
- data/site/src/documentation/content/xdocs/tabs.xml +0 -35
- data/site/src/documentation/resources/images/ai4r-logo.png +0 -0
- data/site/src/documentation/resources/images/c.png +0 -0
- data/site/src/documentation/resources/images/c_wbn.png +0 -0
- data/site/src/documentation/resources/images/c_wn.png +0 -0
- data/site/src/documentation/resources/images/ellipse-2.svg +0 -30
- data/site/src/documentation/resources/images/ero.gif +0 -0
- data/site/src/documentation/resources/images/europe2.png +0 -0
- data/site/src/documentation/resources/images/europe3.png +0 -0
- data/site/src/documentation/resources/images/fitness.png +0 -0
- data/site/src/documentation/resources/images/genetic_algorithms_example.png +0 -0
- data/site/src/documentation/resources/images/icon-a.png +0 -0
- data/site/src/documentation/resources/images/icon-b.png +0 -0
- data/site/src/documentation/resources/images/icon.png +0 -0
- data/site/src/documentation/resources/images/jadeferret.png +0 -0
- data/site/src/documentation/resources/images/my_email.png +0 -0
- data/site/src/documentation/resources/images/neural_network_example.png +0 -0
- data/site/src/documentation/resources/images/project-logo.png +0 -0
- data/site/src/documentation/resources/images/rubyforge.png +0 -0
- data/site/src/documentation/resources/images/s.png +0 -0
- data/site/src/documentation/resources/images/s_wbn.png +0 -0
- data/site/src/documentation/resources/images/s_wn.png +0 -0
- data/site/src/documentation/resources/images/sigmoid.png +0 -0
- data/site/src/documentation/resources/images/sub-dir/icon-c.png +0 -0
- data/site/src/documentation/resources/images/t.png +0 -0
- data/site/src/documentation/resources/images/t_wbn.png +0 -0
- data/site/src/documentation/resources/images/t_wn.png +0 -0
- data/site/src/documentation/resources/schema/catalog.xcat +0 -29
- data/site/src/documentation/resources/schema/hello-v10.dtd +0 -51
- data/site/src/documentation/resources/schema/symbols-project-v10.ent +0 -26
- data/site/src/documentation/resources/stylesheets/hello2document.xsl +0 -33
- data/site/src/documentation/sitemap.xmap +0 -66
- data/site/src/documentation/skinconf.xml +0 -418
- data/site/src/documentation/translations/langcode.xml +0 -29
- data/site/src/documentation/translations/languages_de.xml +0 -24
- data/site/src/documentation/translations/languages_en.xml +0 -24
- data/site/src/documentation/translations/languages_es.xml +0 -22
- data/site/src/documentation/translations/languages_fr.xml +0 -24
- data/site/src/documentation/translations/languages_nl.xml +0 -24
- data/site/src/documentation/translations/menu.xml +0 -33
- data/site/src/documentation/translations/menu_af.xml +0 -33
- data/site/src/documentation/translations/menu_de.xml +0 -33
- data/site/src/documentation/translations/menu_es.xml +0 -33
- data/site/src/documentation/translations/menu_fr.xml +0 -33
- data/site/src/documentation/translations/menu_it.xml +0 -33
- data/site/src/documentation/translations/menu_nl.xml +0 -33
- data/site/src/documentation/translations/menu_no.xml +0 -33
- data/site/src/documentation/translations/menu_ru.xml +0 -33
- data/site/src/documentation/translations/menu_sk.xml +0 -33
- data/site/src/documentation/translations/tabs.xml +0 -22
- data/site/src/documentation/translations/tabs_de.xml +0 -22
- data/site/src/documentation/translations/tabs_es.xml +0 -22
- data/site/src/documentation/translations/tabs_fr.xml +0 -22
- data/site/src/documentation/translations/tabs_nl.xml +0 -22
Binary file
|
Binary file
|
data/site/build/tmp/input.xmap
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<!--
|
3
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
-
contributor license agreements. See the NOTICE file distributed with
|
5
|
-
this work for additional information regarding copyright ownership.
|
6
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
-
(the "License"); you may not use this file except in compliance with
|
8
|
-
the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
17
|
-
-->
|
18
|
-
<!-- ============================================================ -->
|
19
|
-
<!-- Plugin Sitemap -->
|
20
|
-
<!-- -->
|
21
|
-
<!-- This sitemap includes all enabled plugins in the generation -->
|
22
|
-
<!-- process. It is mounted from the main Forrest sitemap after -->
|
23
|
-
<!-- any project specific sitemap but before the default Forrest -->
|
24
|
-
<!-- matchers. This enables plugins to override or extend default -->
|
25
|
-
<!-- Forrest behaviour whilst individual projects can override -->
|
26
|
-
<!-- or extend the plugins behaviour. -->
|
27
|
-
<!-- ============================================================ -->
|
28
|
-
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
|
29
|
-
<map:pipelines>
|
30
|
-
<map:pipeline internal-only="false"></map:pipeline>
|
31
|
-
</map:pipelines>
|
32
|
-
</map:sitemap>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<!--
|
3
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
-
contributor license agreements. See the NOTICE file distributed with
|
5
|
-
this work for additional information regarding copyright ownership.
|
6
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
-
(the "License"); you may not use this file except in compliance with
|
8
|
-
the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
17
|
-
-->
|
18
|
-
<!-- ============================================================ -->
|
19
|
-
<!-- Plugin Sitemap -->
|
20
|
-
<!-- -->
|
21
|
-
<!-- This sitemap includes all enabled plugins in the generation -->
|
22
|
-
<!-- process. It is mounted from the main Forrest sitemap after -->
|
23
|
-
<!-- any project specific sitemap but before the default Forrest -->
|
24
|
-
<!-- matchers. This enables plugins to override or extend default -->
|
25
|
-
<!-- Forrest behaviour whilst individual projects can override -->
|
26
|
-
<!-- or extend the plugins behaviour. -->
|
27
|
-
<!-- ============================================================ -->
|
28
|
-
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
|
29
|
-
<map:pipelines>
|
30
|
-
<map:pipeline internal-only="false"></map:pipeline>
|
31
|
-
</map:pipelines>
|
32
|
-
</map:sitemap>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!--
|
3
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
-
contributor license agreements. See the NOTICE file distributed with
|
5
|
-
this work for additional information regarding copyright ownership.
|
6
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
-
(the "License"); you may not use this file except in compliance with
|
8
|
-
the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
17
|
-
-->
|
18
|
-
<locationmap xmlns="http://apache.org/forrest/locationmap/1.0" xmlns:lm="http://apache.org/forrest/locationmap/1.0">
|
19
|
-
<components>
|
20
|
-
<selectors default="exists">
|
21
|
-
<selector name="exists" logger="sitemap.selector.exists" src="org.apache.forrest.sourceexists.SourceExistsSelector"/>
|
22
|
-
</selectors>
|
23
|
-
</components>
|
24
|
-
<locator>
|
25
|
-
<select>
|
26
|
-
<mount src="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.pdf/locationmap.xml"/>
|
27
|
-
</select>
|
28
|
-
</locator>
|
29
|
-
</locationmap>
|
data/site/build/tmp/output.xmap
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!--
|
3
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
-
contributor license agreements. See the NOTICE file distributed with
|
5
|
-
this work for additional information regarding copyright ownership.
|
6
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
-
(the "License"); you may not use this file except in compliance with
|
8
|
-
the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
17
|
-
-->
|
18
|
-
<!-- ============================================================ -->
|
19
|
-
<!-- Plugin Sitemap -->
|
20
|
-
<!-- -->
|
21
|
-
<!-- This sitemap includes all enabled plugins in the generation -->
|
22
|
-
<!-- process. It is mounted from the main Forrest sitemap after -->
|
23
|
-
<!-- any project specific sitemap but before the default Forrest -->
|
24
|
-
<!-- matchers. This enables plugins to override or extend default -->
|
25
|
-
<!-- Forrest behaviour whilst individual projects can override -->
|
26
|
-
<!-- or extend the plugins behaviour. -->
|
27
|
-
<!-- ============================================================ -->
|
28
|
-
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
|
29
|
-
<map:pipelines>
|
30
|
-
<map:pipeline>
|
31
|
-
<map:select type="exists">
|
32
|
-
<map:when test="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.pdf/output.xmap">
|
33
|
-
<map:mount uri-prefix="" src="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.pdf/output.xmap" check-reload="yes" pass-through="true"/>
|
34
|
-
</map:when>
|
35
|
-
</map:select>
|
36
|
-
</map:pipeline>
|
37
|
-
</map:pipelines>
|
38
|
-
</map:sitemap>
|
@@ -1,144 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project default="fetchplugin">
|
3
|
-
<target name="fetchplugin" depends="fetch-local-unversioned-plugin, fetch-remote-unversioned-plugin-version-forrest,fetch-remote-unversioned-plugin-unversion-forrest, final-check"/>
|
4
|
-
<target name="fetch-local-versioned-plugin">
|
5
|
-
<antcallback return="plugin-found" target="get-local">
|
6
|
-
<param name="local-plugin-version" value="-"/>
|
7
|
-
<param name="local-plugin-name" value="org.apache.forrest.plugin.output.pdf"/>
|
8
|
-
</antcallback>
|
9
|
-
</target>
|
10
|
-
<target unless="plugin-found" name="fetch-remote-versioned-plugin-version-forrest">
|
11
|
-
<antcallback return="plugin-found,desired.plugin.zip.present" target="download">
|
12
|
-
<param name="download-plugin-version" value="-"/>
|
13
|
-
<param name="download-plugin-name" value="org.apache.forrest.plugin.output.pdf"/>
|
14
|
-
<param name="download-forrest-version" value="0.8/"/>
|
15
|
-
</antcallback>
|
16
|
-
</target>
|
17
|
-
<target unless="plugin-found" name="fetch-local-unversioned-plugin">
|
18
|
-
<antcallback return="plugin-found" target="get-local">
|
19
|
-
<param value="" name="local-plugin-version"/>
|
20
|
-
<param name="local-plugin-name" value="org.apache.forrest.plugin.output.pdf"/>
|
21
|
-
</antcallback>
|
22
|
-
</target>
|
23
|
-
<target unless="plugin-found" name="fetch-remote-unversioned-plugin-version-forrest">
|
24
|
-
<antcallback return="plugin-found,desired.plugin.zip.present" target="download">
|
25
|
-
<param value="" name="download-plugin-version"/>
|
26
|
-
<param name="download-plugin-name" value="org.apache.forrest.plugin.output.pdf"/>
|
27
|
-
<param name="download-forrest-version" value="0.8/"/>
|
28
|
-
</antcallback>
|
29
|
-
</target>
|
30
|
-
<target unless="plugin-found" name="fetch-remote-unversioned-plugin-unversion-forrest">
|
31
|
-
<antcallback return="plugin-found,desired.plugin.zip.present" target="download">
|
32
|
-
<param value="" name="download-plugin-version"/>
|
33
|
-
<param name="download-plugin-name" value="org.apache.forrest.plugin.output.pdf"/>
|
34
|
-
<param value="" name="download-forrest-version"/>
|
35
|
-
</antcallback>
|
36
|
-
</target>
|
37
|
-
<target name="get-local">
|
38
|
-
<echo>Trying to locally get ${local-plugin-name}${local-plugin-version}</echo>
|
39
|
-
<trycatch property="plugin-found">
|
40
|
-
<try>
|
41
|
-
<for param="plugin-src-dir" list="/usr/local/forrest/plugins,/usr/local/forrest/whiteboard/plugins">
|
42
|
-
<sequential>
|
43
|
-
<echo>Looking in local @{plugin-src-dir}</echo>
|
44
|
-
<if>
|
45
|
-
<available type="dir" property="plugin.src.present" file="@{plugin-src-dir}/${local-plugin-name}${local-plugin-version}"/>
|
46
|
-
<then>
|
47
|
-
<echo message="Found !"/>
|
48
|
-
<ant target="local-deploy" antfile="@{plugin-src-dir}/${local-plugin-name}${local-plugin-version}/build.xml" dir="@{plugin-src-dir}/${local-plugin-name}${local-plugin-version}">
|
49
|
-
<property value="true" name="no.echo.init"/>
|
50
|
-
</ant>
|
51
|
-
<fail/>
|
52
|
-
</then>
|
53
|
-
</if>
|
54
|
-
</sequential>
|
55
|
-
</for>
|
56
|
-
</try>
|
57
|
-
<catch>
|
58
|
-
<echo>Plugin ${local-plugin-name}${local-plugin-version} deployed ! Ready to configure</echo>
|
59
|
-
</catch>
|
60
|
-
</trycatch>
|
61
|
-
</target>
|
62
|
-
<target depends="keep-original-zip,get-from-remote-site,is-downloaded,remove-original-zip" name="download"/>
|
63
|
-
<target if="original.zip.exists" depends="available-original-zip" name="keep-original-zip">
|
64
|
-
<copy preservelastmodified="true" file="/usr/local/forrest/build/plugins/${download-plugin-name}.zip" tofile="/usr/local/forrest/build/plugins/${download-plugin-name}.zip.orig"/>
|
65
|
-
</target>
|
66
|
-
<target name="available-original-zip">
|
67
|
-
<available property="original.zip.exists" file="/usr/local/forrest/build/plugins/${download-plugin-name}.zip"/>
|
68
|
-
</target>
|
69
|
-
<target name="get-from-remote-site">
|
70
|
-
<echo>Tying to download ${download-plugin-name}${download-plugin-version} from the distribution site ...</echo>
|
71
|
-
<if>
|
72
|
-
<not>
|
73
|
-
<equals arg2="" arg1="${download.forrest.version}"/>
|
74
|
-
</not>
|
75
|
-
<then>
|
76
|
-
<echo>Using Forrest version : ${download-forrest-version}</echo>
|
77
|
-
</then>
|
78
|
-
</if>
|
79
|
-
<get ignoreerrors="true" usetimestamp="true" verbose="true" src="http://forrest.apache.org/plugins//${download-forrest-version}${download-plugin-name}${download-plugin-version}.zip" dest="/usr/local/forrest/build/plugins/${download-plugin-name}.zip"/>
|
80
|
-
<available property="desired.plugin.zip.present" file="/usr/local/forrest/build/plugins/${download-plugin-name}.zip"/>
|
81
|
-
<condition property="plugin-found">
|
82
|
-
<and>
|
83
|
-
<isset property="desired.plugin.zip.present"/>
|
84
|
-
<not>
|
85
|
-
<isset property="original.zip.exists"/>
|
86
|
-
</not>
|
87
|
-
</and>
|
88
|
-
</condition>
|
89
|
-
</target>
|
90
|
-
<target if="original.zip.exists" name="is-downloaded">
|
91
|
-
<uptodate property="no-difference-found" srcfile="/usr/local/forrest/build/plugins/${download-plugin-name}.zip" targetfile="/usr/local/forrest/build/plugins/${download-plugin-name}.zip.orig"/>
|
92
|
-
<if>
|
93
|
-
<not>
|
94
|
-
<isset property="no-difference-found"/>
|
95
|
-
</not>
|
96
|
-
<then>
|
97
|
-
<property value="true" name="plugin-found"/>
|
98
|
-
</then>
|
99
|
-
</if>
|
100
|
-
</target>
|
101
|
-
<target if="original.zip.exists" name="remove-original-zip">
|
102
|
-
<delete file="/usr/local/forrest/build/plugins/${download-plugin-name}.zip.orig"/>
|
103
|
-
</target>
|
104
|
-
<target depends="has-been-downloaded,downloaded-message,uptodate-message,not-found-message" name="final-check"/>
|
105
|
-
<target if="desired.plugin.zip.present" name="has-been-downloaded">
|
106
|
-
<condition property="up-to-date">
|
107
|
-
<not>
|
108
|
-
<isset property="plugin-found"/>
|
109
|
-
</not>
|
110
|
-
</condition>
|
111
|
-
<condition property="downloaded">
|
112
|
-
<isset property="plugin-found"/>
|
113
|
-
</condition>
|
114
|
-
</target>
|
115
|
-
<target if="downloaded" name="downloaded-message">
|
116
|
-
<echo>Plugin org.apache.forrest.plugin.output.pdf downloaded ! Ready to install</echo>
|
117
|
-
</target>
|
118
|
-
<target if="up-to-date" name="uptodate-message">
|
119
|
-
<echo>Plugin org.apache.forrest.plugin.output.pdf was up-to-date ! Ready to configure</echo>
|
120
|
-
<property value="true" name="plugin-found"/>
|
121
|
-
</target>
|
122
|
-
<target unless="desired.plugin.zip.present" name="not-found-message">
|
123
|
-
<fail>
|
124
|
-
Unable to download the
|
125
|
-
"org.apache.forrest.plugin.output.pdf" plugin
|
126
|
-
|
127
|
-
or an equivalent unversioned plugin
|
128
|
-
from http://forrest.apache.org/plugins/
|
129
|
-
There are a number of possible causes for this:
|
130
|
-
|
131
|
-
One possible problem is that you do not have write access to
|
132
|
-
FORREST_HOME, in which case ask your system admin to install the
|
133
|
-
required Forrest plugin as described below.
|
134
|
-
|
135
|
-
A further possibility is that Forrest may be unable to connect to
|
136
|
-
the plugin distribution server. Again the solution is to manually
|
137
|
-
install the plugin.
|
138
|
-
|
139
|
-
To manually install a plugin, download the plugin zip file from
|
140
|
-
http://forrest.apache.org/plugins/ and
|
141
|
-
extract it into
|
142
|
-
/usr/local/forrest/build/plugins/org.apache.forrest.plugin.output.pdf</fail>
|
143
|
-
</target>
|
144
|
-
</project>
|
@@ -1,201 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<!--
|
3
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
-
contributor license agreements. See the NOTICE file distributed with
|
5
|
-
this work for additional information regarding copyright ownership.
|
6
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
-
(the "License"); you may not use this file except in compliance with
|
8
|
-
the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
17
|
-
-->
|
18
|
-
<!DOCTYPE plugins [
|
19
|
-
<!ENTITY % links.att 'name CDATA #REQUIRED'>
|
20
|
-
<!ENTITY % link.att 'name CDATA #REQUIRED href CDATA #REQUIRED'>
|
21
|
-
<!ELEMENT plugins (plugin*)>
|
22
|
-
<!ATTLIST plugins type CDATA #REQUIRED>
|
23
|
-
<!ELEMENT plugin (description, forrestVersion)>
|
24
|
-
<!ATTLIST plugin name CDATA #REQUIRED
|
25
|
-
type (input|output|internal) #REQUIRED
|
26
|
-
url CDATA #REQUIRED
|
27
|
-
author CDATA #REQUIRED
|
28
|
-
website CDATA #IMPLIED
|
29
|
-
version CDATA #IMPLIED>
|
30
|
-
<!ELEMENT description (#PCDATA)>
|
31
|
-
<!ELEMENT forrestVersion (#PCDATA)>
|
32
|
-
]>
|
33
|
-
<plugins type="released">
|
34
|
-
<!-- ================================================================== -->
|
35
|
-
<!-- Input Plugins -->
|
36
|
-
<!-- ================================================================== -->
|
37
|
-
<plugin name="org.apache.forrest.plugin.input.dtdx"
|
38
|
-
type="input"
|
39
|
-
author="Apache Forrest Project"
|
40
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.dtdx"
|
41
|
-
url="http://forrest.apache.org/plugins/"
|
42
|
-
version="0.2">
|
43
|
-
<description>
|
44
|
-
Use the NekoDTD tool packaged as a Cocoon Generator to automatically
|
45
|
-
generate some hyperlinked DTD reference documentation.
|
46
|
-
</description>
|
47
|
-
<forrestVersion>0.8</forrestVersion>
|
48
|
-
</plugin>
|
49
|
-
<plugin name="org.apache.forrest.plugin.input.excel"
|
50
|
-
type="input"
|
51
|
-
author="Apache Forrest Project"
|
52
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.excel/"
|
53
|
-
url="http://forrest.apache.org/plugins"
|
54
|
-
version="0.3">
|
55
|
-
<description>
|
56
|
-
Reads (simple) Excel sheets from the Excel "Save As" (Type=XML).
|
57
|
-
</description>
|
58
|
-
<forrestVersion>0.8</forrestVersion>
|
59
|
-
</plugin>
|
60
|
-
<plugin name="org.apache.forrest.plugin.input.feeder"
|
61
|
-
type="input"
|
62
|
-
author="Apache Forrest Project"
|
63
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.feeder"
|
64
|
-
url="http://forrest.apache.org/plugins"
|
65
|
-
version="0.2">
|
66
|
-
<description>
|
67
|
-
Embed syndicated content in a Forrest site.
|
68
|
-
</description>
|
69
|
-
<forrestVersion>0.8</forrestVersion>
|
70
|
-
</plugin>
|
71
|
-
<plugin name="org.apache.forrest.plugin.input.listLocations"
|
72
|
-
type="input"
|
73
|
-
author="Apache Forrest Project"
|
74
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.listLocations"
|
75
|
-
url="http://forrest.apache.org/plugins/"
|
76
|
-
version="0.2">
|
77
|
-
<description>
|
78
|
-
Use lists of locations maintained in a simple xml format and transform
|
79
|
-
them to documents.
|
80
|
-
</description>
|
81
|
-
<forrestVersion>0.8</forrestVersion>
|
82
|
-
</plugin>
|
83
|
-
<plugin name="org.apache.forrest.plugin.input.OpenOffice.org"
|
84
|
-
type="input"
|
85
|
-
author="Apache Forrest Project"
|
86
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.OpenOffice.org"
|
87
|
-
url="http://forrest.apache.org/plugins"
|
88
|
-
version="0.2">
|
89
|
-
<description>
|
90
|
-
Use various OpenOffice.org document formats as input sources.
|
91
|
-
</description>
|
92
|
-
<forrestVersion>0.8</forrestVersion>
|
93
|
-
</plugin>
|
94
|
-
<plugin name="org.apache.forrest.plugin.input.PhotoGallery"
|
95
|
-
type="input"
|
96
|
-
author="Apache Forrest Project"
|
97
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.PhotoGallery"
|
98
|
-
url="http://forrest.apache.org/plugins"
|
99
|
-
version="0.3">
|
100
|
-
<description>
|
101
|
-
Create a photo Gallery by simply dropping your photos into a directory.
|
102
|
-
</description>
|
103
|
-
<forrestVersion>0.8</forrestVersion>
|
104
|
-
</plugin>
|
105
|
-
<plugin name="org.rblasch.forrest.plugin.input.pod"
|
106
|
-
type="input"
|
107
|
-
author="Ronald Blaschke"
|
108
|
-
website="http://www.rblasch.org/projects/pod-input/"
|
109
|
-
url="http://www.rblasch.org/projects/pod-input"
|
110
|
-
version="0.1">
|
111
|
-
<description>
|
112
|
-
Embed Pod (Plain Old Documentation) documents in a Forrest site.
|
113
|
-
</description>
|
114
|
-
<forrestVersion>0.7</forrestVersion>
|
115
|
-
</plugin>
|
116
|
-
<plugin name="org.apache.forrest.plugin.input.projectInfo"
|
117
|
-
type="input"
|
118
|
-
author="Apache Forrest Project"
|
119
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.projectInfo"
|
120
|
-
url="http://forrest.apache.org/plugins/"
|
121
|
-
version="0.2">
|
122
|
-
<description>
|
123
|
-
Generates project info such as changelog and todo list.
|
124
|
-
</description>
|
125
|
-
<forrestVersion>0.8</forrestVersion>
|
126
|
-
</plugin>
|
127
|
-
<plugin name="org.apache.forrest.plugin.input.simplifiedDocbook"
|
128
|
-
type="input"
|
129
|
-
author="Apache Forrest Project"
|
130
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.simplifiedDocbook"
|
131
|
-
url="http://forrest.apache.org/plugins/"
|
132
|
-
version="0.2">
|
133
|
-
<description>
|
134
|
-
Enable Simplified Docbook to be used as input.
|
135
|
-
</description>
|
136
|
-
<forrestVersion>0.8</forrestVersion>
|
137
|
-
</plugin>
|
138
|
-
<plugin name="org.apache.forrest.plugin.input.wiki"
|
139
|
-
type="input"
|
140
|
-
author="Apache Forrest Project"
|
141
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.wiki"
|
142
|
-
url="http://forrest.apache.org/plugins/"
|
143
|
-
version="0.2">
|
144
|
-
<description>
|
145
|
-
Embed various wiki documents in a Forrest site.
|
146
|
-
</description>
|
147
|
-
<forrestVersion>0.8</forrestVersion>
|
148
|
-
</plugin>
|
149
|
-
<!-- ================================================================== -->
|
150
|
-
<!-- Output Plugins -->
|
151
|
-
<!-- ================================================================== -->
|
152
|
-
<plugin name="org.apache.forrest.plugin.output.pdf"
|
153
|
-
type="output"
|
154
|
-
author="Apache Forrest Project"
|
155
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.pdf"
|
156
|
-
url="http://forrest.apache.org/plugins/"
|
157
|
-
version="0.2">
|
158
|
-
<description>
|
159
|
-
Enable Forrest documents to be output in PDF format.
|
160
|
-
</description>
|
161
|
-
<forrestVersion>0.8</forrestVersion>
|
162
|
-
</plugin>
|
163
|
-
<plugin name="org.apache.forrest.plugin.output.POD"
|
164
|
-
type="output"
|
165
|
-
author="Apache Forrest Project"
|
166
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.POD"
|
167
|
-
url="http://forrest.apache.org/plugins/"
|
168
|
-
version="0.2">
|
169
|
-
<description>
|
170
|
-
Enable Forrest documents to be output in Plain Old Documentation (POD)
|
171
|
-
format.
|
172
|
-
</description>
|
173
|
-
<forrestVersion>0.8</forrestVersion>
|
174
|
-
</plugin>
|
175
|
-
<plugin name="org.apache.forrest.plugin.output.Text"
|
176
|
-
type="output"
|
177
|
-
author="Apache Forrest Project"
|
178
|
-
website="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Text"
|
179
|
-
url="http://forrest.apache.org/plugins/"
|
180
|
-
version="0.2">
|
181
|
-
<description>
|
182
|
-
Enable Forrest documents to be output in Text format.
|
183
|
-
</description>
|
184
|
-
<forrestVersion>0.8</forrestVersion>
|
185
|
-
</plugin>
|
186
|
-
<plugin name="s5"
|
187
|
-
type="output"
|
188
|
-
author="Ross Gardler"
|
189
|
-
website="http://forrest.apache.org/~rgardler/testingGround/forrestPlugins/s5"
|
190
|
-
url="http://www.apache.org/~rgardler/testingGround/forrestPlugins/"
|
191
|
-
version="0.1">
|
192
|
-
<description>
|
193
|
-
Create S5: A Simple Standards-Based Slide Show System presentations from
|
194
|
-
xdocs.
|
195
|
-
</description>
|
196
|
-
<forrestVersion>0.7</forrestVersion>
|
197
|
-
</plugin>
|
198
|
-
<!-- ================================================================== -->
|
199
|
-
<!-- Internal Plugins -->
|
200
|
-
<!-- ================================================================== -->
|
201
|
-
</plugins>
|