Files
i2p.scripts/enableAliases/nbproject/project.xml
dream 7a7e6925dd EnableAliases servlet. The damn jetty keeps setting its behavior of checking
aliases to true (which means I can't use symlinks ever (which is stupid)) and 
they make sure you can't configure that at all (yes I tried setting the System 
property) so I decided to make an easy pluggable way to enable aliases, in the
form of a rather simple servlet that does one thing, set the checking of 
aliases to false, which is another way of saying allow aliases to work, since 
instead of checking it just rejects aliases universally. Call it a security 
risk if you like, but I see nothing wrong with it as long as I avoid certain 
operating $y$tems that can't stick to a consistent file naming standard.

Netbeans sucks at webapps, so I kind of manually hacked build.xml to produce
a .war file, but I tested it and it works for me.
2010-08-10 21:19:51 +00:00

19 lines
674 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>enableAliases</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
<definitions>./lib/nblibraries.properties</definitions>
</libraries>
</configuration>
</project>