FaqAntBuildSysclasspath

My script works fine from the command line, after I set my CLASSPATH, but I cannot compile inside NetBeans. Why?

NetBeans will ignore your CLASSPATH if the Ant script sets build.sysclasspath to ignore or uses ignoreantruntime="true" on <javac>. (Ignoring the classpath is always wise, and build scripts created by the IDE for standard project types set it.) This means that if you want to include some library in the classpath to <javac>, you should create a <classpath> element which lists it.


Applies to: NetBeans 4.0 and later

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo