At any time, all the code in SVN should be compilable and should pass all the unit tests. There is no guarantee that it will be full featured - this is a work in progress.
Sonatype OSS repository hosts CSSParser snapshot, which is manually updated by the team once in a while. To use that, you can include the below in your POM:
<project> ... <repositories> <repository> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> <releases> <enabled>false</enabled> </releases> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <layout>default</layout> </repository> </repositories> </project>
Another way to get the latest code is through SVN. Create a directory for CSSParser (for instance c:\cssparser or ~/cssparsr). Change to that directory and execute the following commands.
svn co http://svn.code.sf.net/p/cssparser/code/trunk/cssparser/ .
The preferred way to build HtmlUnit is with maven 3
This will do an incremental compile of all the code.
mvn clean compile
This will do a clean compile of all the code.
Usually, you need to get the JARs for your IDE. You can do that by something like:
Eclipse: right click on the project -> Configure -> Convert to Maven Project
This will create appropriate IDE project.
All the tests are based on JUnit.
This will force a recompile of the java classes if needed.