[ http:
//jira.codehaus.org/browse/MSITE-269?page=com.atlassian.jira
.plugin.system.issuetabpanels:all-tabpanel ]
Cameron Jones updated MSITE-269:
--------------------------------
Attachment: MSITE-269.zip
Yeah but the problem is that i don't want the urls to be
relative. I have the following environments which i want to
link to in the site:
build - http://localhost/build
staging - http://localhost/staging
prod - http://localhost/prod
And i want to deploy my site under:
http://localhost/p
roject/test/site
I want the environment links to be static as they aren't
related to the site itself and are there only for navigation
but instead they are rewritten to:
http://local
host/project/test/site/build
http://loc
alhost/project/test/site/staging
http://localh
ost/project/test/site/prod
I've included a test project which displays this.
> Urls rewritten when they contain the project urls'
hostname
>
-----------------------------------------------------------
>
> Key: MSITE-269
> URL: http://jira
.codehaus.org/browse/MSITE-269
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Reporter: Cameron Jones
> Assignee: Dennis Lundberg
> Attachments: MSITE-269.zip, pom.xml, site.xml
>
>
> Urls in the site.xml file are being rewritten if they
contain the hostname of the project url. For example:
> pom.xml:
> <url>http://208.75.85.243
</url>
> ...
> <site>
> <id>test.site</id>
> <url>file:///srv/www/test/site</url>
> </site>
> ...
> site.xml:
> <item name="About" href="http://208.75.8
5.243/index.html" />
> Results in the following link for the About page which
is incorrect and includes the deployment location instead of
the url:
> http://208.
75.85.243/test/site/index.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: h
ttp://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
|