Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1434 - in development/main/magic/spells/checkstyle: etc/deliverables/xsls src/main/net/dpml/magic/checkstyle

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1434 - in development/main/magic/spells/checkstyle: etc/deliverables/xsls src/main/net/dpml/magic/checkstyle
  • Date: Mon, 10 Jan 2005 13:03:56 +0100

Author: niclas
Date: Mon Jan 10 13:03:55 2005
New Revision: 1434

Modified:

development/main/magic/spells/checkstyle/etc/deliverables/xsls/checkstyle-frames.xsl

development/main/magic/spells/checkstyle/src/main/net/dpml/magic/checkstyle/CheckstyleTask.java
Log:
Changed checkstyle to work against the pure sources, so I could introduce a
link to the document itself.

Modified:
development/main/magic/spells/checkstyle/etc/deliverables/xsls/checkstyle-frames.xsl
==============================================================================
---
development/main/magic/spells/checkstyle/etc/deliverables/xsls/checkstyle-frames.xsl
(original)
+++
development/main/magic/spells/checkstyle/etc/deliverables/xsls/checkstyle-frames.xsl
Mon Jan 10 13:03:55 2005
@@ -1,6 +1,6 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0"
xmlns:lxslt="http://xml.apache.org/xslt";
- xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
+ xmlns:redirect="http://xml.apache.org/xalan/redirect";
extension-element-prefixes="redirect">

<!--
@@ -64,22 +64,23 @@

<xsl:template match="checkstyle">
<!-- create the index.html -->
- <redirect:write file="{$output.dir}/index.html">
+ <redirect:write select="concat( $output.dir, '/index.html')"
+ >
<xsl:call-template name="index.html"/>
</redirect:write>

<!-- create the stylesheet.css -->
- <redirect:write file="{$output.dir}/stylesheet.css">
+ <redirect:write select="concat( $output.dir, '/stylesheet.css')" >
<xsl:call-template name="stylesheet.css"/>
</redirect:write>

<!-- create the overview-summary.html at the root -->
- <redirect:write file="{$output.dir}/overview-frame.html">
+ <redirect:write select="concat( $output.dir,
'/overview-frame.html')" >
<xsl:apply-templates select="." mode="overview"/>
</redirect:write>

<!-- create the all-classes.html at the root -->
- <redirect:write file="{$output.dir}/allclasses-frame.html">
+ <redirect:write select="concat( $output.dir,
'/allclasses-frame.html')" >
<xsl:apply-templates select="." mode="all.classes"/>
</redirect:write>

@@ -186,6 +187,14 @@
margin-left: 2px;
margin-bottom: 0;
}
+ :link
+ {
+ color:white;
+ }
+ :visited
+ {
+ color:white;
+ }
</xsl:template>

<!--
@@ -328,7 +337,14 @@
</head>
<body>
<xsl:call-template name="pageHeader"/>
- <h3>File <xsl:value-of select="@name"/></h3>
+ <h3>File
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:value-of select="@name"/>
+ </a>
+ </h3>
<table class="log" border="0" cellpadding="5"
cellspacing="2" width="100%">
<tr>
<th>Error Description</th>

Modified:
development/main/magic/spells/checkstyle/src/main/net/dpml/magic/checkstyle/CheckstyleTask.java
==============================================================================
---
development/main/magic/spells/checkstyle/src/main/net/dpml/magic/checkstyle/CheckstyleTask.java
(original)
+++
development/main/magic/spells/checkstyle/src/main/net/dpml/magic/checkstyle/CheckstyleTask.java
Mon Jan 10 13:03:55 2005
@@ -41,7 +41,7 @@
public void init()
{
super.init();
- if( !m_init )
+ if( ! m_init )
{
m_init = true;
m_context = new Context( getProject() );
@@ -76,7 +76,7 @@
private void addTargetToFileset( Definition def )
{
File file = def.getBaseDir();
- File main = new File( file, "target/build/main" );
+ File main = new File( file, "src/main" );
if( main.exists() )
{
FileSet fileset = new FileSet();
@@ -100,7 +100,7 @@
//

ResourceRef[] parts = def.getPartRefs();
- for( int i=0; i<parts.length; i++ )
+ for( int i = 0; i < parts.length; i++ )
{
Resource resource = getIndex().getResource( parts[i] );
if( resource instanceof Definition )
@@ -132,4 +132,4 @@
}


-}
\ No newline at end of file
+}



  • svn commit: r1434 - in development/main/magic/spells/checkstyle: etc/deliverables/xsls src/main/net/dpml/magic/checkstyle, niclas, 01/10/2005

Archive powered by MHonArc 2.6.24.

Top of Page