Skip to content

Commit

Permalink
Initial import.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 17, 2011
0 parents commit 5e6f641
Show file tree
Hide file tree
Showing 36 changed files with 3,214 additions and 0 deletions.
29 changes: 29 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
src.dir=${basedir}/src
resources.dir=${basedir}/resources
build.dir=${basedir}/build
dist.dir=${build.dir}/dist
compile.target=${build.dir}/bin

ivy.project.dir = ${basedir}
ivy.lib.dir = ${basedir}/lib
ivy.build.artifacts.dir = ${build.dir}/artifacts
ivy.distrib.dir = ${build.dir}/distrib

ivy.resolver.default.check.modified = false
ivy.default.always.check.exact.revision = true

ivy.configurations = *
ivy.resolve.default.type.filter = *
ivy.status = integration
ivy.dep.file = ivy.xml
ivy.settings.file = ivysettings.xml

ivy.retrieve.pattern = ${ivy.lib.dir}/[artifact]-[revision].[ext]
ivy.deliver.ivy.pattern = ${ivy.distrib.dir}/[type]s/[artifact]-[revision].[ext]
ivy.publish.src.artifacts.pattern = ${ivy.distrib.dir}/[type]s/[artifact]-[revision].[ext]

ivy.report.output.pattern = [organisation]-[module]-[conf].[ext]

ivy.buildlist.ivyfilepath = ivy.xml

ivy.checksums=sha1,md5
58 changes: 58 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" ?>
<project name="IvyFacade" xmlns:ivy="antlib:org.apache.ivy.ant">
<echo message="${ant.home}"/>
<property file="build.properties"/>

<path id="libraries">
<fileset dir="${ivy.lib.dir}">
<include name="**/*.jar"/>
</fileset>
</path>

<target name="resolve">
<ivy:configure/>
<ivy:resolve file="${ivy.dep.file}" conf="${ivy.configurations}"/>
<ivy:retrieve pattern="${ivy.retrieve.pattern}" conf="${ivy.configurations}"/>
</target>

<target name="clean">
<delete dir="${ivy.lib.dir}" failonerror="false" />
<delete dir="${build.dir}" failonerror="false"/>
<mkdir dir="${ivy.lib.dir}" />
<mkdir dir="${build.dir}"/>
<mkdir dir="${compile.target}"/>
<mkdir dir="${dist.dir}" />
</target>

<target name="compile" depends="clean,resolve">
<javac classpathref="libraries"
srcdir="${src.dir}:${resources.dir}"
destdir="${compile.target}"
fork="true"
includeantruntime="false"
source="1.6"/>
<copydir src="${resources.dir}" dest="${compile.target}" />
</target>

<target name="dist" depends="compile">
<buildnumber file="ivyfacade.number" />

<jar destfile="${dist.dir}/IvyFacade-1.0.${build.number}.jar">
<manifest>
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
<attribute name="Rsrc-Main-Class" value="com.procippus.ivy.HtmlBuilder"/>
<attribute name="Class-Path" value="."/>
<attribute name="Rsrc-Class-Path" value="./ xom-1.2.6.jar"/>
</manifest>
<zipfileset src="${ivy.lib.dir}/jar-in-jar-loader-1.3.0.zip"/>
<fileset dir="${compile.target}"/>
<zipfileset dir="${ivy.lib.dir}" includes="xom-1.2.6.jar"/>
</jar>

<jar destfile="${dist.dir}/IvyFacade-1.0.${build.number}-sources.jar">
<fileset dir="${resources.dir}" />
<fileset dir="${src.dir}" />
</jar>
</target>

</project>
12 changes: 12 additions & 0 deletions ivy.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" ?>
<ivy-module version="2.0">
<info organisation="com.procippus" module="IvyFacade"/>
<publications>
<artifact name="IvyHTMLBuilder" />
</publications>
<dependencies>
<dependency org="nu" name="xom" rev="1.2.6" />
<dependency org="org.apache" name="ant" rev="1.8.2" />
<dependency org="org.eclipse" name="jdt.internal.jarinjarloader" rev="1.3.0" />
</dependencies>
</ivy-module>
3 changes: 3 additions & 0 deletions ivyfacade.number
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Build Number for ANT. Do not edit!
#Mon Jan 17 16:40:13 CST 2011
build.number=6
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
572 changes: 572 additions & 0 deletions resources/assets/css/cupertino/jquery-ui-1.8.6.custom.css

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions resources/assets/js/jquery-1.4.2.min.js

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions resources/assets/js/jquery-ui-1.8.6.custom.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions resources/license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2011 Procippus, LLC

Licensed 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.
107 changes: 107 additions & 0 deletions resources/support/common.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2011 Procippus, LLC
Licensed 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.
-->
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" />

<xsl:param name="timestamp" />

<xsl:template name="header">
<xsl:text>
<script type="text/javascript" src="/assets/js/jquery-1.4.2.min.js">
<xsl:comment>js include</xsl:comment>
</script>
<script type="text/javascript" src="/assets/js/jquery-ui-1.8.6.custom.min.js">
<xsl:comment>js include</xsl:comment>
</script>
<link type="text/css" href="/assets/css/cupertino/jquery-ui-1.8.6.custom.css" rel="stylesheet" />
<style type="text/css">
body{ font: 72.5% "Trebuchet MS", sans-serif; margin-left: 50px; margin-right: 50px; margin-top:
10px; }
li { margin-bottom: 3px; }

.content { margin-left: 5px; margin-right: 5px; }
.title { font-size: 1.6em; margin-bottom: 5px; }
.subtitle { font-size: 1.2em; margin-bottom: 3px; color: #999;}
.header { height: 45px; margin-bottom: 5px;}
.header .title { font-size: 2em; color: #999; }
.footerWrapper { margin-top: 20px; }
.footer { margin-bottom: 5px; font-size: 8pt;}
.footer a { color: #333; }
.disclaimer { color: #999; font-size: 8pt; font-style: italic; }
.bread-crumbs { font-size: 10pt; color: #666;
margin-bottom: 15px; border-bottom: 1px solid #ccc;}
.bread-crumbs a { font-size: 10pt; color: #666; }
.description { margin-top: 5px; margin-bottom: 15px; }
</style>
<script type="text/javascript">
$(function(){
// Dialog
$('#license').dialog({
autoOpen: false,
width: 600,
height: 260,
buttons: {
"Ok": function() {
$(this).dialog("close");
}
}
});

// Dialog Link
$('#license_link').click(function(){
$('#license').dialog('open');
return false;
});

});
</script>
</xsl:text>
</xsl:template>

<xsl:template name="banner">
<div class="header ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" style="height: 60px;">
<div class="title" style="margin-top: 7px; margin-left: 5px;">Ivy Facade</div>
<div class="subtitle" style="margin-top: -3px; margin-left: 40px;">Visualize your dependencies</div>
</div>
</xsl:template>

<xsl:template name="footer">
<xsl:text disable-output-escaping="yes">
<div class="footerWrapper">
<div class="footer ui-tabs ui-widget ui-widget-content ui-corner-all">
<a href="#" id="license_link"><span class="ui-icon ui-icon-newwin" style="float: left;"><xsl:comment>icon</xsl:comment></span>Ivy Facade By: Procippus, LLC.</a>
</div>
<div class="disclaimer">**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. All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
</div>
<div id="license">
<div>Copyright 2011 <a href="http://www.procippus.com" target="blank">Procippus, LLC</a></div>
<div>Licensed 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</div>
<blockquote>
<a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>
</blockquote>
<div>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.</div>
</div>
<br/>
<div style="text-align: right; margin-top: 5px;" class="disclaimer">Last updated: <xsl:value-of select="$timestamp" /></div>
</xsl:text>
</xsl:template>

</xsl:stylesheet>
83 changes: 83 additions & 0 deletions resources/support/directory.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2011 Procippus, LLC
Licensed 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.
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" indent="yes"/>
<xsl:import href="common.xsl" />

<xsl:param name="FULL_PATH" />
<xsl:param name="ORG" />
<xsl:param name="MOD" />
<xsl:param name="REV" />

<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Ivy Facade - <xsl:value-of select="$ORG" /> <xsl:if test="$MOD"> / <xsl:value-of select="$MOD" /> </xsl:if> </title>
<xsl:call-template name="header" />
</head>
<body>
<xsl:call-template name="banner" />
<div class="bread-crumbs">
<xsl:choose>
<xsl:when test="$ORG and not($MOD)">
<a href="../">Home</a> /
</xsl:when>
<xsl:when test="$ORG and $MOD">
<a href="../../">Home</a> /
</xsl:when>
<xsl:otherwise>
Home
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="not($ORG)"></xsl:when>
<xsl:otherwise>
<a href="../"><xsl:value-of select="$ORG" /></a>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$MOD">
/ <xsl:value-of select="$MOD" />
</xsl:if>
</div>
<div class="content">
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<xsl:choose>
<xsl:when test="$ORG and not($MOD)">
Modules:
</xsl:when>
<xsl:when test="$ORG and $MOD">
Revisions:
</xsl:when>
<xsl:otherwise>
Packages:
</xsl:otherwise>
</xsl:choose>
</div>
<ul>
<xsl:for-each select="//directories/directory">
<xsl:param name="dirName" select="@name" />
<li>
<a href="{$dirName}">
<xsl:value-of select="@name" />
</a>
</li>
</xsl:for-each>
</ul>
</div>
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template>
</xsl:stylesheet>
61 changes: 61 additions & 0 deletions resources/support/home.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2011 Procippus, LLC
Licensed 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.
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" indent="yes"/>

<xsl:import href="common.xsl" />

<xsl:param name="FULL_PATH" />
<xsl:param name="ORG" />
<xsl:param name="MOD" />
<xsl:param name="REV" />

<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Ivy Facade - Ivy Root</title>
<xsl:call-template name="header" />
</head>
<body>
<xsl:call-template name="banner" />
<div class="bread-crumbs">Home</div>
<div class="content">
<div id="ivysettings" style="margin-bottom: 10px;">
Welcome, this is an IVY repository. Apache Ivy(tm) is a popular dependency manager focusing on flexibility and simplicity.
Find out more about its unique enterprise features, what people say about it, and how it can improve your build system!
<br/><br/>
<a href="http://ant.apache.org/ivy/index.html" target="_blank">Apache IVY</a>
<br/><br/>
In order to use this Ivy repository, you may use the <a href="ivysettings.xml">Ivy settings</a> file.<br/>
</div>

<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">Organizations:</div>

<ul>
<xsl:for-each select="//directories/directory">
<xsl:param name="dirName" select="@name" />
<li>
<a href="{$dirName}">
<xsl:value-of select="@name" />
</a>
</li>
</xsl:for-each>
</ul>
</div>
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Loading

0 comments on commit 5e6f641

Please sign in to comment.