Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hdoc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Stephane Crozat
hdoc
Commits
71781931
Commit
71781931
authored
Jan 09, 2016
by
Drain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Opale2Optim] Fixed absolute paths bug in get_ressources.ant
parent
eced64ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
opale_to_hdoc/xsl/find_ressources.xsl
opale_to_hdoc/xsl/find_ressources.xsl
+2
-2
No files found.
opale_to_hdoc/xsl/find_ressources.xsl
View file @
71781931
...
...
@@ -7,7 +7,7 @@
xmlns:sp=
"http://www.utc.fr/ics/scenari/v3/primitive"
xmlns:op=
"utc.fr:ics/opale3"
>
<xsl:variable
name=
"ProjectFileName"
select=
"
opale_to_hdoc
"
/>
<xsl:variable
name=
"ProjectFileName"
select=
"
'opale_to_hdoc'
"
/>
<xsl:template
match=
"sc:item"
>
<project
name=
'Opale2Hdoc'
default=
"main"
>
...
...
@@ -20,7 +20,7 @@
<xsl:template
match=
"sp:res[@sc:refUri]"
>
<xsl:variable
name=
"link"
select=
"@sc:refUri"
></xsl:variable>
<xsl:variable
name=
"name"
select=
"tokenize($link, '/')[last()]"
></xsl:variable>
<xsl:variable
name=
"link2"
select=
"
substring-after($link, concat($ProjectFileName, '/'))
"
></xsl:variable>
<xsl:variable
name=
"link2"
select=
"
tokenize($link, concat($ProjectFileName, '/'))[last()]
"
></xsl:variable>
<copy
file=
"{$link2}/{$name}"
todir=
"output/hdoc/re"
/>
</xsl:template>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment