http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/sample/webapp-js-repo/webapp/.classpath ---------------------------------------------------------------------- diff --git a/doc/src/sample/webapp-js-repo/webapp/.classpath b/doc/src/sample/webapp-js-repo/webapp/.classpath new file mode 100644 index 0000000..2ec4452 --- /dev/null +++ b/doc/src/sample/webapp-js-repo/webapp/.classpath @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=ivyde-sample-webapp-js-repo&ivyXmlPath=ivy.xml&confs=runtime%2Ccompile&ivySettingsPath=%24%7Bworkspace_loc%3Aivyde-sample-webapp-js-repo%2Fivysettings.xml%7D&loadSettingsOnDemand=false&propertyFiles="/> + <classpathentry kind="output" path="bin"/> +</classpath>
http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/sample/webapp-js-repo/webapp/.project ---------------------------------------------------------------------- diff --git a/doc/src/sample/webapp-js-repo/webapp/.project b/doc/src/sample/webapp-js-repo/webapp/.project new file mode 100644 index 0000000..890cdeb --- /dev/null +++ b/doc/src/sample/webapp-js-repo/webapp/.project @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<projectDescription> + <name>ivyde-sample-webapp-js-repo</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.apache.ivyde.eclipse.ivynature</nature> + </natures> +</projectDescription> http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/sample/webapp-js-repo/webapp/.settings/org.apache.ivyde.eclipse.prefs ---------------------------------------------------------------------- diff --git a/doc/src/sample/webapp-js-repo/webapp/.settings/org.apache.ivyde.eclipse.prefs b/doc/src/sample/webapp-js-repo/webapp/.settings/org.apache.ivyde.eclipse.prefs new file mode 100644 index 0000000..fa35932 --- /dev/null +++ b/doc/src/sample/webapp-js-repo/webapp/.settings/org.apache.ivyde.eclipse.prefs @@ -0,0 +1,21 @@ +# *************************************************************** +# * Licensed to the Apache Software Foundation (ASF) under one +# * or more contributor license agreements. See the NOTICE file +# * distributed with this work for additional information +# * regarding copyright ownership. The ASF licenses this file +# * to you under the Apache License, Version 2.0 (the +# * "License"); you may not use this file except in compliance +# * with the License. You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, +# * software distributed under the License is distributed on an +# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# * KIND, either express or implied. See the License for the +# * specific language governing permissions and limitations +# * under the License. +# *************************************************************** +#Sun Feb 05 19:00:43 CET 2012 +eclipse.preferences.version=1 +org.apache.ivyde.eclipse.standaloneretrieve=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><setuplist/> http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/sample/webapp-js-repo/webapp/ivy.xml ---------------------------------------------------------------------- diff --git a/doc/src/sample/webapp-js-repo/webapp/ivy.xml b/doc/src/sample/webapp-js-repo/webapp/ivy.xml new file mode 100644 index 0000000..3b36c20 --- /dev/null +++ b/doc/src/sample/webapp-js-repo/webapp/ivy.xml @@ -0,0 +1,35 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<ivy-module version="1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> + <info organisation="org.apache.ivyde.sample" module="webapp-js-repo" /> + <configurations> + <conf name="runtime" /> + <conf name="compile" /> + <conf name="js" /> + </configurations> + <dependencies> + <!-- Java dependencies --> + <dependency org="org.eclipse.jetty" name="jetty-server" rev="7.6.0.v20120127" conf="compile,runtime->default" /> + + <!-- Javascript dependencies --> + <dependency org="com.jquery" name="jquery-default-value" rev="1.0" conf="js->default" /> + </dependencies> +</ivy-module> http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/sample/webapp-js-repo/webapp/ivysettings.xml ---------------------------------------------------------------------- diff --git a/doc/src/sample/webapp-js-repo/webapp/ivysettings.xml b/doc/src/sample/webapp-js-repo/webapp/ivysettings.xml new file mode 100644 index 0000000..d3801da --- /dev/null +++ b/doc/src/sample/webapp-js-repo/webapp/ivysettings.xml @@ -0,0 +1,36 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<ivysettings> + <settings defaultResolver="chain" /> + + <resolvers> + <ibiblio name="maven-central" root="http://repo1.maven.org/maven2/" m2compatible="true" checksums="" /> + + <filesystem name="local-js"> + <ivy pattern="${ivy.settings.dir}/../repo/[organisation]/[module]/[revision]/ivy.xml" /> + <artifact pattern="${ivy.settings.dir}/../repo/[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]" /> + </filesystem> + + <chain name="chain" returnFirst="true"> + <resolver ref="local-js" /> + <resolver ref="maven-central" /> + </chain> + </resolvers> + +</ivysettings> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/HTTPServer.java ---------------------------------------------------------------------- diff --git a/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/HTTPServer.java b/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/HTTPServer.java new file mode 100644 index 0000000..4dbc2cb --- /dev/null +++ b/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/HTTPServer.java @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ +package org.apache.ivyde.sample.webappjsrepo; + +import java.net.InetSocketAddress; + +import org.eclipse.jetty.server.Server; +import org.eclipse.jetty.server.handler.ResourceHandler; +import org.eclipse.jetty.util.resource.Resource; + +public class HTTPServer { + + public static void main(String[] args) throws Exception { + InetSocketAddress bindAdress = new InetSocketAddress("localhost", 8888); + Server server = new Server(bindAdress); + ResourceHandler resourceHandler = new ResourceHandler(); + resourceHandler.setBaseResource(Resource.newClassPathResource("/org/apache/ivyde/sample/webappjsrepo/")); + server.setHandler(resourceHandler); + server.start(); + server.join(); + } +} http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/index.html ---------------------------------------------------------------------- diff --git a/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/index.html b/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/index.html new file mode 100644 index 0000000..6fac9d0 --- /dev/null +++ b/doc/src/sample/webapp-js-repo/webapp/src/org/apache/ivyde/sample/webappjsrepo/index.html @@ -0,0 +1,44 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<html> +<head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script> +<script type="text/javascript" src="/js/jquery-default-value-1.0.js"></script> +<style type="text/css"> +input.defaultValue { + color: #888; + font-style: italic; +} +</style> +</head> +<body> + <script type="text/javascript"> + jQuery(document).ready(function() { + jQuery("#defaultValue").defaultvalue("IvyDE rocks !"); + }); + </script> + <div> + <form> + Input: <input type="text" id="defaultValue" value="" /> + <input type="submit" value="OK" /> + </form> + </div> +</body> +</html> http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/settingseditor.adoc ---------------------------------------------------------------------- diff --git a/doc/src/settingseditor.adoc b/doc/src/settingseditor.adoc new file mode 100644 index 0000000..02cbebb --- /dev/null +++ b/doc/src/settingseditor.adoc @@ -0,0 +1,42 @@ +//// + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +//// + +IvyDE provides an editor of ivysettings.xml files. It provides completion on all tag and attribute names. + +image::images/settings.jpg[] + +Completion comes with contextual help. The completion popup is displayed through the CTRL + SPACE shortcut. + +== Available completions: + +=== XML structure + +Allows you to quickly to insert valid tags in the right place. If the tag can have nested childrenm, both notations, simple tag and open tag, are proposed. + +image::images/settings_completion_struct.jpg[] + +=== Tag attributes + +When your cursor is placed inside a tag bracket, the completion shows available attributes for the enclosing tag. + +image::images/settings_completion_att.jpg[] + +=== Change colors + +You can change the color used by the editor in the link:preferences.html#xmleditor[global preferences page]. http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/ant.css ---------------------------------------------------------------------- diff --git a/doc/src/style/ant.css b/doc/src/style/ant.css new file mode 100644 index 0000000..3c25d3b --- /dev/null +++ b/doc/src/style/ant.css @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +table.ant { + border-collapse:collapse; + width:90%; + margin:auto; + margin-top: 10px; +} +.ant thead { + background-color:#DEE4CD; + border:1px solid #7A9437; +} +.ant tbody { + background-color:#FFFFFF; + border:1px solid #7A9437; +} + +.ant th { + font-family:monospace; + border:1px solid #7A9437; + padding:5px; +} + +.ant td { + border:1px dotted #7A9437; + padding:5px; +} + +th.ant-att { + width:15%; +} +th.ant-desc { + width:50%; +} http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/color.css ---------------------------------------------------------------------- diff --git a/doc/src/style/color.css b/doc/src/style/color.css new file mode 100644 index 0000000..abf1443 --- /dev/null +++ b/doc/src/style/color.css @@ -0,0 +1,147 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +body { + background-color: #147; +} + +#body { + color: #000; + background-color: #fff; +} +h1, h2, h3, h4, h5, h6 { + color: #369; +} +h1 { + color: #fff; + background-color: #369; +} +.title { + color: #369; + background-color: #fff; + background: none; +} +a:link { + color: #369; +} +a:visited { + color: #369; +} +a:hover, a:active { + color: #369; +} +blockquote { + color: #696969; +} +pre { + background-color: #eee; + border: 1px solid #ddd; +} +.form-item label { + color: #369; +} +.item-list .title { + color: #369; +} + +/* +** Page layout blocks / IDs +*/ +#header { + background-color: #ffffff; + /* border: 3px solid #69c; */ +} + +#top-menu { + background-color:#369; + border-top: 3px solid #69c; + border-bottom: 3px solid #69c; +} + +#search .form-text, #search .form-submit { + border: 1px solid #369; +} +#search .form-submit { + background-color: #69c; +} + +.block h2 { + color: #000; + background-color: #eee; +} + +.block .content { + background-color: #fff; + border: 1px solid #eee; +} +/* +.block h2 { + color: #000; +} +*/ + +#navcontainer { + background-color:#369; +} + +#nav { + background-color:#369; +} + +#nav ul { + background-color:#369; + border-top: 1px solid #369; + border-right: 1px solid #369; + border-bottom: 1px solid #369; + border-left: 0.75em solid #369; +} + +#nav li a { + color: #fff; +} + +#nav .title { + color: #fff; + /* + background: #61752c; + */ + background: #369; + border-top: 0; + border-right: 0; + border-bottom: 1px solid #369; + border-left: 0; +} + +#nav li li a { + background: #fff; + color: #369; + border-top: 0; + border-right: 0; + border-bottom: 1px solid #369; + border-left: 0; +} + +#nav a:hover, +#nav a:active { + background: #69c; +} + + +#forum tr.dark { + background: #e0edfb; +} http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/ivy-ref.css ---------------------------------------------------------------------- diff --git a/doc/src/style/ivy-ref.css b/doc/src/style/ivy-ref.css new file mode 100644 index 0000000..ae0fdea --- /dev/null +++ b/doc/src/style/ivy-ref.css @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +table.ivy-attributes { + border-collapse:collapse; + width:90%; + margin:auto; + margin-top: 10px; +} +.ivy-attributes thead { + background-color:#DEE4CD; + border:1px solid #7A9437; +} +.ivy-attributes tbody { + background-color:#FFFFFF; + border:1px solid #7A9437; +} + +.ivy-attributes th { + font-family:monospace; + border:1px solid #7A9437; + padding:5px; +} + +.ivy-attributes td { + border:1px dotted #7A9437; + padding:5px; +} + +th.ivy-att { + width:15%; +} +th.ivy-att-desc { + width:50%; +} + +table.ivy-children { +/* border:3px solid #6495ed; */ + border-collapse:collapse; + width:90%; + margin:auto; + margin-top: 10px; +} +.ivy-children thead { + background-color:#DEE4CD; + border:1px solid #7A9437; +} +.ivy-children tbody { + background-color:#FFFFFF; + border:1px solid #7A9437; +} + +.ivy-children th { + font-family:monospace; + border:1px solid #7A9437; + padding:5px; +} + +.ivy-children td { + border:1px dotted #7A9437; + padding:5px; +} + +th.ivy-chld { + width:15%; +} +th.ivy-chld-desc { + width:50%; +} http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/nav.css ---------------------------------------------------------------------- diff --git a/doc/src/style/nav.css b/doc/src/style/nav.css new file mode 100644 index 0000000..f1fa59b --- /dev/null +++ b/doc/src/style/nav.css @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#navcontainer { + color: white; + margin-left: 20px; +} + +#navcontainer a { + color: white; + text-decoration: none; +} http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/print-style.css ---------------------------------------------------------------------- diff --git a/doc/src/style/print-style.css b/doc/src/style/print-style.css new file mode 100644 index 0000000..14821f2 --- /dev/null +++ b/doc/src/style/print-style.css @@ -0,0 +1,301 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +@import "color.css"; +@import "nav.css"; +@import "xmlverbatim.css"; +@import "ant.css"; +@import "ivy-ref.css"; +@import "shell.css"; + +#body { + display: table; + padding: 0; +} +#body { + padding-top: 5px; + padding-bottom: 5px; +} + +/* +** HTML elements +*/ +body { + margin: 0; + padding: 0; + bgcolor: #ffffff; +} +body, p, td, li, ul, ol { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: small; +} +h1, h2, h3, h4, h5, h6, .toc-title { + font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, Verdana, sans-serif; +} +.toc-title { + margin: 15px; + padding: 10px; + font-size: 2em; + text-align: center; + border: solid 2px; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + -moz-border-radius-bottomright: 5px; + -moz-border-radius-bottomleft: 5px; +} +h1 { +/* + margin-left: 15px; + margin-right: 15px; + */ + padding-left: 10px; + font-size: 1.6em; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + -moz-border-radius-bottomright: 5px; + -moz-border-radius-bottomleft: 5px; +} +h2 { + font-size: 1.4em; +} +h3 { + font-size: 1.2em; +} +h4 { + font-size: 1.1em; +} +tr.dark td, tr.light td { + padding: 0.3em; +} +a:link { + text-decoration: none; + font-weight: bold; +} +a:visited { + text-decoration: none; + font-weight: bold; +} +a:hover, a:active { + font-weight: bold; + text-decoration: underline; +} +p { + margin: 0 0 1.3em 0; + padding: 0; +} +blockquote { + padding: 0 15px 0 15px; + margin: 15px 50px 15px 50px; + text-align: left; + font-size: 1.2em; + line-height: 1.3em; + font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, Verdana, sans-serif; +} +pre { + padding: 0.75em 1.5em; + font-size: 1em; + overflow: auto; +} +.form-item { + margin-top: 1em; +} +.item-list .title { + font-size: 0.85em; +} +.hide { + display: none +} + +/* +** Page layout blocks / IDs +*/ +#home img { + padding: 5px 20px 10px 10px; +} +.product img { + padding: 5px 20px 10px 10px; +} + +#top-menu tr { + padding: 0; + margin: 0; +} + +#top-menu td { + padding: 0; + margin: 0; +} + +#search { + padding: 0 1em 0 1em; + margin: 0; +} +#search .form-text, #search .form-submit { + padding: 0; + margin: 0; + font-size: 0.85em; +} +#search .form-text { + width: 8em; + padding: 0; + margin: 0; +} + +#sidebar-left, #sidebar-right { + width: 200px; + /* padding in px not ex because IE messes up 100% width tables otherwise */ + padding: 15px 5px 75px 10px; + vertical-align: top; +} +#sidebar-left li, #sidebar-right li { + font-size: 1em; +} +.block h2 { + margin: 5px 0px 0px 0px; + padding: 1px 5px 1px 30px; + font-size: 1.2em; + font-weight: 700; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; +} + +.block .content { + -moz-border-radius-bottomright: 5px; + -moz-border-radius-bottomleft: 5px; + margin-bottom: 10px; +} + +#main { + padding-left: 10px; + padding-right: 10px; + padding-bottom: 10px; + background: transparent url(../images/background.png) center center no-repeat; +} + +.content { + padding-top: 10px; +} + +#forum { + margin: 15px 0 15px 0; +} +#forum table { + width: 100%; +} +#forum table tr th { + text-align: center; + font-size: 0.75em; +} +#forum table tr th a { + text-decoration: underline; +} +#forum table tr th img { + margin: 0; +} +#forum td { + padding: 0.5em 0.5em 0.5em 0.5em; +} +#forum td.container a { + padding: 20px 0 20px 35px; +} +#forum td.statistics, #forum td.settings, #forum td.pager { + height: 1.5em; +} +#forum td .links { + padding-top: 0.7em; + font-size: 0.9em; +} +.block-forum h3 { + margin-bottom: .5em; +} + +#footer-menu td { + padding-top: 3px; +} + +.footer { + text-align: center; + margin-top: 3pt; + margin-bottom: 3pt; + font-size: 85%; +} + +.comparison td, .comparison th { + text-align: center; +} + +.comment { + -moz-border-radius: 5px; + border: 1px solid #abc; + padding: .5em; + margin-bottom: 1em; +} +.comment .title { + font-size: 1em; + padding: 10px 0px 12px 19px; + background: transparent url(icon-comment.png) left center no-repeat; +} +.comment .new { + font-weight: bold; + font-size: 1em; + margin-left: 2px; + color: red; +} +.comment .picture { + border: 1px solid #fff; + float: right; + margin: 10px; +} +.submitted { + color: #999; + font-size: 0.79em; +} +.since { + font-weight: 700; + font-style: italic; +} + +.postit { + margin:10px; + padding:10px; + -moz-border-radius:10px; + float:right; + width:400px; +} + +table.home { + text-align:center; + color:#6e9244; + font-family:verdana, "Lucida Grande", arial, helvetica, sans-serif; +} +tr.homeitems { + font-size:large; +} +tr.homeitems td { + padding: 0 0.5cm 0 0.5cm; +} +tr.homeitems a:link, a:visited { + color: #6e9244; + text-decoration: none; +} +tr.homeitems a:hover { + text-decoration: underline; + background: none !important; +} +.home img { border-width:0; } + http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/shell.css ---------------------------------------------------------------------- diff --git a/doc/src/style/shell.css b/doc/src/style/shell.css new file mode 100644 index 0000000..891e134 --- /dev/null +++ b/doc/src/style/shell.css @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* the class shell is used when a copy of the content of a shell or DOS window is made */ +.shell {background-color: black; color: white; border: medium gray solid;} +.shell pre {background-color: black; border: none; font-size: small;} http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/style.css ---------------------------------------------------------------------- diff --git a/doc/src/style/style.css b/doc/src/style/style.css new file mode 100644 index 0000000..c0f1e0b --- /dev/null +++ b/doc/src/style/style.css @@ -0,0 +1,346 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + + +@import "color.css"; +@import "nav.css"; +@import "xmlverbatim.css"; +@import "ant.css"; +@import "ivy-ref.css"; +@import "shell.css"; +@import "tree.css"; + +/* +** HTML elements +*/ +body { + margin: 0; + padding: 0; + bgcolor: #ffffff; +} +#body { + display: table; + margin: 8px auto; + padding: 0; + width: 98%; +} +body, p, td, li, ul, ol { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: small; +} +h1, h2, h3, h4, h5, h6 { + font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, Verdana, sans-serif; +} +h1 { +/* + margin-left: 15px; + margin-right: 15px; + */ + padding-left: 10px; + font-size: 1.6em; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + -moz-border-radius-bottomright: 5px; + -moz-border-radius-bottomleft: 5px; +} +h2 { + font-size: 1.4em; +} +h3 { + font-size: 1.2em; +} +h4 { + font-size: 1.1em; + margin-bottom: 3px; +} +tr.dark td, tr.light td { + padding: 0.3em; +} +a:link { + text-decoration: none; + font-weight: bold; +} +a:visited { + text-decoration: none; + font-weight: bold; +} +a:hover, a:active { + font-weight: bold; + text-decoration: underline; +} +p { + margin: 0 0 1.3em 0; + padding: 0; +} +li p { + margin: 0px; +} +blockquote { + padding: 0 15px 0 15px; + margin: 15px 50px 15px 50px; + text-align: left; + font-size: 1.2em; + line-height: 1.3em; + font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, Verdana, sans-serif; +} +pre { + padding: 0.75em 1.5em; + font-size: 1em; +} +.form-item { + margin-top: 1em; +} +.item-list .title { + font-size: 0.85em; +} +.hide { + display: none +} + +/* +** Page layout blocks / IDs +*/ +#body { + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + -moz-border-radius-bottomright: 5px; + -moz-border-radius-bottomleft: 5px; + padding-top: 5px; + padding-bottom: 5px; +} +#home img { + padding: 5px 20px 10px 10px; +} +.product img { + padding: 5px 20px 10px 10px; +} + +#top-menu tr { + padding: 0; + margin: 0; +} + +#top-menu td { + padding: 0; + margin: 0; +} + +#search { + padding: 0 1em 0 1em; + margin: 0; +} +#search .form-text, #search .form-submit { + padding: 0; + margin: 0; + font-size: 0.85em; +} +#search .form-text { + width: 8em; + padding: 0; + margin: 0; +} + +#sidebar-left, #sidebar-right { + width: 260px; + /* padding in px not ex because IE messes up 100% width tables otherwise */ + padding: 15px 5px 75px 10px; + vertical-align: top; +} +#sidebar-left li, #sidebar-right li { + font-size: 1em; +} +.sidebar-title { + margin: 5px 0px 0px 0px; + padding: 1px 5px 1px 30px; + font-size: 1.2em; + font-weight: 700; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + color: #000; + background-color: #eee; + font-family: "Trebuchet MS", Geneva, Arial, Helvetica, SunSans-Regular, Verdana, sans-serif; +} + +.block h2 { + margin: 5px 0px 0px 0px; + padding: 1px 5px 1px 30px; + font-size: 1.2em; + font-weight: 700; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; +} + +.block .content { + -moz-border-radius-bottomright: 5px; + -moz-border-radius-bottomleft: 5px; + margin-bottom: 10px; +} + +#main { + padding-left: 10px; + padding-right: 10px; + padding-bottom: 10px; + background: transparent url(../images/background.png) center center no-repeat; +} + +.content { + padding-top: 0px; +} + +#forum { + margin: 15px 0 15px 0; +} +#forum table { + width: 100%; +} +#forum table tr th { + text-align: center; + font-size: 0.75em; +} +#forum table tr th a { + text-decoration: underline; +} +#forum table tr th img { + margin: 0; +} +#forum td { + padding: 0.5em 0.5em 0.5em 0.5em; +} +#forum td.container a { + padding: 20px 0 20px 35px; +} +#forum td.statistics, #forum td.settings, #forum td.pager { + height: 1.5em; +} +#forum td .links { + padding-top: 0.7em; + font-size: 0.9em; +} +.block-forum h3 { + margin-bottom: .5em; +} + +#footer-menu td { + padding-top: 3px; +} + +.footer { + text-align: center; + margin-top: 3pt; + margin-bottom: 3pt; + font-size: 85%; +} + +.comparison td, .comparison th { + text-align: center; +} + +.comment { + -moz-border-radius: 5px; + border: 1px solid #abc; + padding: .5em; + margin-bottom: 1em; +} +.comment .title { + font-size: 1em; + padding: 10px 0px 12px 19px; + background: transparent url(icon-comment.png) left center no-repeat; +} +.comment .new { + font-weight: bold; + font-size: 1em; + margin-left: 2px; + color: red; +} +.comment .picture { + border: 1px solid #fff; + float: right; + margin: 10px; +} +.submitted { + color: #999; + font-size: 0.79em; +} +.since { + font-weight: 700; + font-style: italic; +} + +.postit { + margin:10px; + padding:10px; + -moz-border-radius:10px; + float:right; + width:400px; +} + +table.home { + text-align:center; + color:#369; + font-family:verdana, "Lucida Grande", arial, helvetica, sans-serif; +} +tr.homeitems { + font-size:large; +} +tr.homeitems td { + padding: 0 0.5cm 0 0.5cm; +} +tr.homeitems a:link, a:visited { + color: #369; + text-decoration: none; +} +tr.homeitems a:hover { + text-decoration: underline; + background: none !important; +} +.home img { border-width:0; } + + +table.tableblock { + border-collapse:collapse; + width:90%; + margin:auto; + margin-top: 10px; + margin-bottom: 10px; +} + +table.tableblock thead { + background-color:#DEE4CD; + border:1px solid #7A9437; +} + +table.tableblock th { + font-family:monospace; + border:1px solid #7A9437; + padding:5px; +} + +table.tableblock tbody { + background-color:#FFFFFF; + border:1px solid #7A9437; +} + +table.tableblock td { + border:1px dotted #7A9437; + padding:5px; +} + +table.tableblock td p:last-child { + margin: 0px; +} + http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/style/tree.css ---------------------------------------------------------------------- diff --git a/doc/src/style/tree.css b/doc/src/style/tree.css new file mode 100644 index 0000000..a9dce80 --- /dev/null +++ b/doc/src/style/tree.css @@ -0,0 +1,53 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + + +#treemenu { +padding-left: 10px; +} + +.treeview ul{ +margin: 0; +padding: 0; +} + +.treeview li{ +background: white url(../images/bullet.gif) no-repeat left center; +list-style-type: none; +padding-left: 22px; +margin-bottom: 3px; +} + +.treeview li.submenu{ +background: white url(../images/closed.gif) no-repeat left 1px; +cursor: hand !important; +cursor: pointer !important; +} + +.treeview li.collapsable, .treeview li.open { +background: white url(../images/open.gif) no-repeat left 1px; +} + + +.treeview ul.closed { +display: none; +} + +.treeview .submenu ul li{ +cursor: default; +} http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/src/toc.json ---------------------------------------------------------------------- diff --git a/doc/src/toc.json b/doc/src/toc.json new file mode 100644 index 0000000..f1d47b6 --- /dev/null +++ b/doc/src/toc.json @@ -0,0 +1,229 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +*/ +{ + "children": [ + { + "id":"index", + "title":"Documentation (${version})", + "children": [ + { + "id":"release-notes", + "title":"Release Notes", + "children": [ + + ] + }, + { + "title":"License", + "url":"http://www.apache.org/licenses/", + "children": [ + + ] + }, + { + "id":"compatibility", + "title":"Compatibility", + "children": [ + + ] + }, + { + "id":"install", + "title":"Installation", + "children": [ + + ] + }, + { + "id":"cp_container", + "title":"Classpath Container", + "children": [ + { + "id":"cpc/create", + "title":"Create a container", + "children": [ + + ] + }, + { + "id":"cpc/edit", + "title":"Edit the classpath", + "children": [ + + ] + }, + { + "id":"cpc/resolve", + "title":"Launching resolve", + "children": [ + + ] + }, + { + "id":"cpc/retrieve", + "title":"Retrieve dependencies", + "children": [ + + ] + }, + { + "id":"cpc/jarmapping", + "title":"Jar mapping", + "children": [ + + ] + }, + { + "id":"cpc/cleancache", + "title":"Clean the caches", + "children": [ + + ] + }, + { + "id":"cpc/workspace", + "title":"Resolve in workspace", + "children": [ + + ] + }, + { + "id":"cpc/launch", + "title":"Launch configuration", + "children": [ + + ] + }, + { + "id":"cpc/maven", + "title":"Use with maven poms", + "children": [ + + ] + }, + { + "id":"cpc/wtp", + "title":"WTP integration", + "children": [ + + ] + } + ] + }, + { + "id":"non-java", + "title":"Non-Java dependencies", + "children": [ + + ] + }, + { + "id":"ivyeditor", + "title":"Ivy file editor", + "children": [ + + ] + }, + { + "id":"settingseditor", + "title":"Ivy settings editor", + "children": [ + + ] + }, + { + "id":"preferences", + "title":"Eclipse global preferences", + "children": [ + + ] + }, + { + "id":"eclipsevar", + "title":"Eclipse variables", + "children": [ + + ] + }, + { + "id":"console", + "title":"Ivy Console", + "children": [ + + ] + }, + { + "id":"ant", + "title":"Eclipse's Ant integration", + "children": [ + + ] + }, + { + "id":"revdepexplorer", + "title":"Reverse Dependency Explorer", + "children": [ + + ] + }, + { + "id":"resolve-visualizer", + "title":"Resolve Visualizer", + "children": [ + + ] + }, + { + "id":"dev", + "title":"Developer doc", + "children": [ + { + "id":"dev/build", + "title":"Building", + "children": [ + + ] + }, + { + "id":"dev/release", + "title":"Releasing", + "children": [ + + ] + }, + { + "id":"dev/updatesite", + "title":"Updatesite", + "children": [ + + ] + }, + { + "id":"dev/dev-env-setup", + "title":"Development Environment Setup", + "children": [ + + ] + } + ] + } + ] + } + ] +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/templates/IvyDocHelpers.rb ---------------------------------------------------------------------- diff --git a/doc/templates/IvyDocHelpers.rb b/doc/templates/IvyDocHelpers.rb new file mode 100644 index 0000000..038f7f3 --- /dev/null +++ b/doc/templates/IvyDocHelpers.rb @@ -0,0 +1,193 @@ +# *************************************************************** +# * Licensed to the Apache Software Foundation (ASF) under one +# * or more contributor license agreements. See the NOTICE file +# * distributed with this work for additional information +# * regarding copyright ownership. The ASF licenses this file +# * to you under the Apache License, Version 2.0 (the +# * "License"); you may not use this file except in compliance +# * with the License. You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, +# * software distributed under the License is distributed on an +# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# * KIND, either express or implied. See the License for the +# * specific language governing permissions and limitations +# * under the License. +# *************************************************************** + +# Add custom functions to this module that you want to use in your Slim +# templates. Within the template you must namespace the function +# (unless someone can show me how to include them in the evaluation context). +# You can change the namespace to whatever you want. + +require 'json' + +module IvyDocHelpers + + class Page + attr_accessor :id, :title, :url, :allChildIds, :children, :parent + + def initialize() + @id = "" + @title = "" + @url = nil + @allChildIds = [] + @children = [] + @parent = nil + end + + def link(printpage) + l = '' + if self.url + if self.url.start_with?('http') + url = self.url + else + url = printpage.relativeRoot + self.url + end + l += '<a href="' + url + '"' + if self.id == printpage.id + l += ' class="current"' + end + l += '>' + self.title + '</a>' + else + l += self.title + end + return l + end + + def relativeRoot() + p = '' + (self.id.split("/").length-1).times do |e| + p += '../' + end + return p + end + + def breadCrumb() + b = '<span class="breadCrumb">' + b += breadCrumbStep(self) + b += '</span>' + return b + end + + def breadCrumbStep(page) + b = ' ' + if page.parent && page.parent.parent + b += breadCrumbStep(page.parent) + b += ' > ' + end + b += page.link(page) + return b + end + + def rootpage() + if self.parent + return self.parent.rootpage() + else + return self + end + end + + def menu() + return innermenu(rootpage()) + end + + def innermenu(page) + m = '<ul id="treemenu" class="treeview">' + "\n" + page.children.each do |p| + m += '<li id="xooki-' + (p.id || "undefined") + '"' + if p.children.length > 0 + m += ' class="submenu"' + end + m += '>' + m += p.link(self) + if p.children.length > 0 + m += '<ul class="' + if p.allChildIds.include? self.id + m += 'open' + else + m += 'closed' + end + m += '">' + m += innermenu(p) + m += '</ul>' + end + m += "</li>\n" + end + m += "</ul>\n" + return m + end + + end + + def self.page(basedir, docfile, version) + rootpage = loadPages(basedir, version) + pageId = docfile[basedir.length+1..docfile.rindex(/\./)-1] + p = findPage(rootpage, pageId) + if !p + p = Page.new + end + return p + end + + def self.loadPages(basedir, version) + rootpage = Page.new + toc = JSON.parse(IO.read(basedir + "/toc.json")) + toc['children'].each do |child| + rootpage.children << loadPage(basedir, rootpage, child, "", version) + end + return rootpage + end + + def self.loadPage(basedir, parent, node, path, version) + p = Page.new + p.title = node['title'] + p.title.sub! '${version}', version + p.parent = parent + if node.has_key?("importRoot") + p.id = path + node['importRoot'] + '/' + node['importNode'] + p.url = p.id + ".html" + toc = JSON.parse(IO.read(basedir + '/' + node['importRoot'] + "/toc.json")) + toc['children'].each do |child| + p.children << loadPage(basedir, node, child, path + node['importRoot'] + '/', version) + end + else + p.id = node['id'] + if !(node.has_key?("isAbstract")) + if node.has_key?("url") + p.url = node['url'] + else + p.url = path + node['id'] + ".html" + end + end + if node.has_key?("children") + node['children'].each do |child| + p.children << loadPage(basedir, p, child, path, version) + end + end + end + p.children.each { |cp| p.allChildIds += cp.allChildIds } + if p.id + p.allChildIds << p.id + end + return p + end + + def self.findPage(parent, pageId) + parent.children.each do |p| + if p.id == pageId + return p + end + if p.children.length > 0 + found = findPage(p, pageId) + if found + return found + end + end + end + return nil + end + +end http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/templates/articles/document.html.slim ---------------------------------------------------------------------- diff --git a/doc/templates/articles/document.html.slim b/doc/templates/articles/document.html.slim new file mode 100644 index 0000000..b5d7131 --- /dev/null +++ b/doc/templates/articles/document.html.slim @@ -0,0 +1,91 @@ +doctype transitional +/! +/! Licensed to the Apache Software Foundation (ASF) under one +/! or more contributor license agreements. See the NOTICE file +/! distributed with this work for additional information +/! regarding copyright ownership. The ASF licenses this file +/! to you under the Apache License, Version 2.0 (the +/! "License"); you may not use this file except in compliance +/! with the License. You may obtain a copy of the License at +/! +/! http://www.apache.org/licenses/LICENSE-2.0 +/! +/! Unless required by applicable law or agreed to in writing, +/! software distributed under the License is distributed on an +/! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +/! KIND, either express or implied. See the License for the +/! specific language governing permissions and limitations +/! under the License. +- page = IvyDocHelpers.page(attr("basedir"), attr("docfile"), attr("version")) +html lang=(attr :lang, 'en' unless attr? :nolang) + head + meta http-equiv="Content-Type" content="text/html; charset=utf-8" + meta name='generator' content="Asciidoctor #{attr 'asciidoctor-version'}" + title=page.title + " | Apache IvyDE™ Documentation" + link rel="stylesheet" type="text/css" href="#{page.relativeRoot}style/style.css" + script src="#{page.relativeRoot}js/jquery.pack.js" type="text/javascript" + script src="#{page.relativeRoot}js/jquery.treeview.js" type="text/javascript" + javascript: + $(document).ready(function(){$("#treemenu").Treeview({speed: "fast",store: true});}); + body + div id="body" + table id="header" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%" + tr + td id="home" width="30%" + a href="http://ant.apache.org/" title="Apache Ant" + img src="#{page.relativeRoot}images/ant-project-logo.svg" alt="Apache Ant" border="0" height="80px"/ + td class="product" width="70%" align="right" valign="middle" + img src="#{page.relativeRoot}images/logo.png" alt="ivy" border="0"/ + table id="top-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%" + tr + td + div id="navcontainer" + a<> href="http://www.apache.org/" Apache™ + | > + a<> href="http://ant.apache.org/" Apache Ant™ + | > + a<> href="http://ant.apache.org/ivy/" Apache Ivy™ + | > + a<> href="http://ant.apache.org/ivy/ivyde/" Apache IvyDE™ + | > + = page.breadCrumb + table id="content" border="0" cellpadding="0" cellspacing="0" width="100%" + tr + td id="sidebar-left" + div class="block block-book" id="block-book-0" + div class="sidebar-title" Apache IvyDE™ + div class="content" + = page.menu() + center + iframe src="http://www.apache.org/ads/buttonbar.html" style="border-width:0;" frameborder="0" scrolling="no" width="135" height="265" + td valign="top" + div id="main" + h1 = page.title + #content=content + table id="footer-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%" + tr + td align="center" valign="middle" + div class="primary-links" + | :: + a href="index.html" Home + | :: + a href="editor.html" Editor + | :: + a href="cp_container.html" Classpath Container + | :: + a href="maven.html" Use with maven poms + | :: + div id="footer-message" class="footer" + hr/ + i + | Copyright © 2017 The Apache Software Foundation, Licensed under the + a href="http://www.apache.org/licenses/" Apache License, Version 2.0 + | . + br/ + i + | Apache IvyDE, Apache Ivy, Apache Ant, IvyDE, Ivy, Ant, Apache, the Apache Ivy logo, the Apache Ant logo and the Apache feather logo are trademarks of The Apache Software Foundation. + br/ + i + | Eclipse and the Eclipse logo are trademarks of Eclipse Foundation, Inc. + i + | All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/templates/articles/helpers.rb ---------------------------------------------------------------------- diff --git a/doc/templates/articles/helpers.rb b/doc/templates/articles/helpers.rb new file mode 100644 index 0000000..5879945 --- /dev/null +++ b/doc/templates/articles/helpers.rb @@ -0,0 +1,20 @@ +# *************************************************************** +# * Licensed to the Apache Software Foundation (ASF) under one +# * or more contributor license agreements. See the NOTICE file +# * distributed with this work for additional information +# * regarding copyright ownership. The ASF licenses this file +# * to you under the Apache License, Version 2.0 (the +# * "License"); you may not use this file except in compliance +# * with the License. You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, +# * software distributed under the License is distributed on an +# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# * KIND, either express or implied. See the License for the +# * specific language governing permissions and limitations +# * under the License. +# *************************************************************** + +require_relative '../IvyDocHelpers.rb' http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/templates/book/document.html.slim ---------------------------------------------------------------------- diff --git a/doc/templates/book/document.html.slim b/doc/templates/book/document.html.slim new file mode 100644 index 0000000..126676e --- /dev/null +++ b/doc/templates/book/document.html.slim @@ -0,0 +1,53 @@ +doctype transitional +/! +/! Licensed to the Apache Software Foundation (ASF) under one +/! or more contributor license agreements. See the NOTICE file +/! distributed with this work for additional information +/! regarding copyright ownership. The ASF licenses this file +/! to you under the Apache License, Version 2.0 (the +/! "License"); you may not use this file except in compliance +/! with the License. You may obtain a copy of the License at +/! +/! http://www.apache.org/licenses/LICENSE-2.0 +/! +/! Unless required by applicable law or agreed to in writing, +/! software distributed under the License is distributed on an +/! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +/! KIND, either express or implied. See the License for the +/! specific language governing permissions and limitations +/! under the License. +html lang=(attr :lang, 'en' unless attr? :nolang) + head + meta http-equiv="Content-Type" content="text/html; charset=utf-8" + meta name='generator' content="Asciidoctor #{attr 'asciidoctor-version'}" + title="Apache Ivy™ Documentation #{attr 'version'}" + link rel="stylesheet" type="text/css" href="./style/style.css" + link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css" + script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" type="text/javascript" + javascript: + hljs.initHighlightingOnLoad(); + body id="book" + div id="body" + table id="header" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%" + tr + td id="home" width="30%" + a href="http://ant.apache.org/" title="Apache Ant" + img src="./images/ant-project-logo.svg" alt="Apache Ant" border="0" height="80px"/ + td class="product" width="70%" align="right" valign="middle" + img src="./images/logo.png" alt="ivy" border="0"/ + div id="title" + | Documentation (#{attr 'version'}) + div id="main" + #content=content + div id="footer-message" class="footer" + hr/ + i + | Copyright © 2017 The Apache Software Foundation, Licensed under the + a href="http://www.apache.org/licenses/" Apache License, Version 2.0 + | . + br/ + i + | Apache Ivy, Apache Ant, Ivy, Ant, Apache, the Apache Ivy logo, the Apache Ant logo and the Apache feather logo are trademarks of The Apache Software Foundation. + br/ + i + | All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/templates/eclipse/document.html.slim ---------------------------------------------------------------------- diff --git a/doc/templates/eclipse/document.html.slim b/doc/templates/eclipse/document.html.slim new file mode 100644 index 0000000..f64412f --- /dev/null +++ b/doc/templates/eclipse/document.html.slim @@ -0,0 +1,45 @@ +doctype transitional +/! +/! Licensed to the Apache Software Foundation (ASF) under one +/! or more contributor license agreements. See the NOTICE file +/! distributed with this work for additional information +/! regarding copyright ownership. The ASF licenses this file +/! to you under the Apache License, Version 2.0 (the +/! "License"); you may not use this file except in compliance +/! with the License. You may obtain a copy of the License at +/! +/! http://www.apache.org/licenses/LICENSE-2.0 +/! +/! Unless required by applicable law or agreed to in writing, +/! software distributed under the License is distributed on an +/! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +/! KIND, either express or implied. See the License for the +/! specific language governing permissions and limitations +/! under the License. +- page = IvyDocHelpers.page(attr("basedir"), attr("docfile"), attr("version")) +html lang=(attr :lang, 'en' unless attr? :nolang) + head + meta http-equiv="Content-Type" content="text/html; charset=utf-8" + meta name='generator' content="Asciidoctor #{attr 'asciidoctor-version'}" + title=page.title + " | Apache IvyDE™ Documentation" + link rel="stylesheet" type="text/css" href="#{page.relativeRoot}style/style.css" + style type="text/css" + | body { background-color: #ffffff; } + body + div id="main" + h1 = page.title + #content=content + div id="footer-message" class="footer" + hr/ + i + | Copyright © 2017 The Apache Software Foundation, Licensed under the + a href="http://www.apache.org/licenses/" Apache License, Version 2.0 + | . + br/ + i + | Apache IvyDE, Apache Ivy, Apache Ant, IvyDE, Ivy, Ant, Apache, the Apache Ivy logo, the Apache Ant logo and the Apache feather logo are trademarks of The Apache Software Foundation. + br/ + i + | Eclipse and the Eclipse logo are trademarks of Eclipse Foundation, Inc. + i + | All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/808c8f27/doc/templates/eclipse/helpers.rb ---------------------------------------------------------------------- diff --git a/doc/templates/eclipse/helpers.rb b/doc/templates/eclipse/helpers.rb new file mode 100644 index 0000000..5879945 --- /dev/null +++ b/doc/templates/eclipse/helpers.rb @@ -0,0 +1,20 @@ +# *************************************************************** +# * Licensed to the Apache Software Foundation (ASF) under one +# * or more contributor license agreements. See the NOTICE file +# * distributed with this work for additional information +# * regarding copyright ownership. The ASF licenses this file +# * to you under the Apache License, Version 2.0 (the +# * "License"); you may not use this file except in compliance +# * with the License. You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, +# * software distributed under the License is distributed on an +# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# * KIND, either express or implied. See the License for the +# * specific language governing permissions and limitations +# * under the License. +# *************************************************************** + +require_relative '../IvyDocHelpers.rb'
