Opened 9 years ago
Last modified 9 years ago
#49756 new defect
Build failed due to jar file that look likes to be in real an html file — at Initial Version
Reported by: | mauro.mazzoleni@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | |
Port: | commons-cli |
Description
:info:build [javac] error: error reading /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-cli/commons-cli/work/commons-cli-1.1-src/target/lib/junit-3.8.1.jar; error in opening zip file
If I try to unzip with jar, I get an exception:
jar -tvf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-cli/commons-cli/work/commons-cli-1.1-src/target/lib/junit-3.8.1.jar java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:220) at java.util.zip.ZipFile.<init>(ZipFile.java:150) at java.util.zip.ZipFile.<init>(ZipFile.java:121) at sun.tools.jar.Main.list(Main.java:1060) at sun.tools.jar.Main.run(Main.java:291) at sun.tools.jar.Main.main(Main.java:1233)
I tried to open the file with Aquaemacs and it seems to be html: <html> <head> <title>Directory Browsing Disabled</title> <style type="text/css"> html, body {
height: 100%;
} body {
margin: 0; padding: 0; background-color: #fff;
} #top {
position: absolute;
} h1, p {
margin: 0; padding: 0.4em 0.5em;
} #container {
min-height: 100%; margin-bottom: -46px;
}
- html #container {
height: 100%;
} #footer-spacer {
height: 46px;
} #footer {
border-top: 1px solid #AAA; padding-top: 10px; height: 35px; text-align: center;
} </style> </head> <body>
<div id="top"></div> <div id="container"> <p>Browsing for this directory has been disabled.</p> <p><a href="http://search.maven.org/#browse">View</a> this directory's contents on <a href="http://search.maven.org/#browse">http://search.maven.org</a> instead.</p> <div id="footer-spacer"></div>
</div> <div id="footer">
<a href="/terms.html">Terms of Service</a>
</div>
</body> </html>
Change History (2)
Changed 9 years ago by mauro.mazzoleni@…
Changed 9 years ago by mauro.mazzoleni@…
Attachment: | junit-3.8.1.jar added |
---|
Junit.jar is an html file
Log file