You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/11/03 13:46:47 UTC

[jira] Created: (MAVENPROXY-20) Wrong stylesheet URL

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVENPROXY-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVENPROXY-20
    Summary: Wrong stylesheet URL
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-proxy
 Components: 
             WAR

   Assignee: Ben Walding
   Reporter: Ingmar Stein

    Created: Wed, 3 Nov 2004 7:46 AM
    Updated: Wed, 3 Nov 2004 7:46 AM

Description:
The documentation says:

#Stylesheet - if configured, will override the default stylesheet shipped with maven-proxy - absolute URLs only
#eg.  /maven-proxy/style.css, http://www.example.com/style.css

However, absolute URLs get a retrace prefix...
In header.vtl

    #if ($stylesheet)
      <link type="text/css" rel="stylesheet" href="$retrace/${stylesheet}"/>       
    #else
      <link type="text/css" rel="stylesheet" href="$retrace/servlets/Style"/>       
    #end

should look like this:

    #if ($stylesheet)
      <link type="text/css" rel="stylesheet" href="${stylesheet}"/>       
    #else
      <link type="text/css" rel="stylesheet" href="$retrace/servlets/Style"/>       
    #end


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MAVENPROXY-20) Wrong stylesheet URL

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Ben Walding
       Date: Wed, 3 Nov 2004 8:50 AM

Fixed.  I've rebuilt the distribution as well.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVENPROXY-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVENPROXY-20
    Summary: Wrong stylesheet URL
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-proxy
 Components: 
             WAR

   Assignee: Ben Walding
   Reporter: Ingmar Stein

    Created: Wed, 3 Nov 2004 7:46 AM
    Updated: Wed, 3 Nov 2004 8:50 AM

Description:
The documentation says:

#Stylesheet - if configured, will override the default stylesheet shipped with maven-proxy - absolute URLs only
#eg.  /maven-proxy/style.css, http://www.example.com/style.css

However, absolute URLs get a retrace prefix...
In header.vtl

    #if ($stylesheet)
      <link type="text/css" rel="stylesheet" href="$retrace/${stylesheet}"/>       
    #else
      <link type="text/css" rel="stylesheet" href="$retrace/servlets/Style"/>       
    #end

should look like this:

    #if ($stylesheet)
      <link type="text/css" rel="stylesheet" href="${stylesheet}"/>       
    #else
      <link type="text/css" rel="stylesheet" href="$retrace/servlets/Style"/>       
    #end


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org