share-extras / media-viewers

Enhanced document previews for a range of different document and media types, plus a dashlet allowing any content item to be displayed on a site dashboard.
Apache License 2.0
29 stars 23 forks source link

Unbale to build source #41

Open MarcelloModica opened 10 years ago

MarcelloModica commented 10 years ago

I download the source zip archive. try inside eclipse to build with ant the file project.xml. Try via command line too. Without success....this is the error:

C:\Users\MARCELLO MODICA\git\media-viewers>c:\apache-ant-1.9.3\bin\ant -f projec t.xml dist-jar Buildfile: C:\Users\MARCELLO MODICA\git\media-viewers\project.xml

check-buildfile:

clean:

BUILD FAILED C:\Users\MARCELLO MODICA\git\media-viewers\build.xml:144: Please use project.xml to build this project

Total time: 0 seconds

wabson commented 10 years ago

What version of Ant are you using?

MarcelloModica commented 10 years ago

I try with ECLIPSE integrated Ant version ant with download 1.9.3.Can you help me. I see other users have buold it only with maven, without ant. Did yoy will post a maven project version?

wabson commented 10 years ago

I think I found the problem on line 132 of build.xml. Can you try changing this line from

                <not><matches string="${ant.file}" pattern="/project.xml$" /></not>

to

                <not><matches string="${ant.file}" pattern="[/\\]project.xml$" /></not>

This should ensure that the match occurs correctly on Windows platforms.

MarcelloModica commented 10 years ago

I will try soon. Do you have others test to be done???