How to Build jFLAC using NetBeans.
Prerequisites
- You have NetBeans installed.
- You have a Java Development Kit version 1.4 or higher installed.
Steps
- Download
or retrieve the jFLAC source code from CVS
.
- From NetBeans "File" menu, choose "New Project" then choose "Java Project with Existing Sources", and name it as you'd like.
- For existing sources, select the directory with the sources you downloaded or retrieved with CVS."
- Choose build jar file project properties build packaging.
- Build it.
How to build jFLAC using Maven2
Pre-requisites
- You have downloaded and installed Maven2.
- You have a working Java Development Kit version 1.4 or better.
Steps
- Download
or retrieve the jFLAC source code from CVS
.
- Using a shell, run your desired Maven target from the base jFLAC directory (where pom.xml is located)
Maven2: A step-by-step guide to installing
Pre-requisites
- You have a working Java Development Kit version 1.4 or better.
Steps
- Download Maven 2.0.8.zip (Windows) or Maven 2.0.8.tar.gz ('nix) [http://maven.apache.org/start/download.html
)].
- Extract the downloaded zip to your chosen target directory. Resulting in something like:
or
- Create a M2_HOME Environment Variable and set it to the target directory created in the previous step.
'nix: add an entry to a shell startup script, e.g. ~/.bash_profile
Windows: set this as a 'User Variable' in your 'Environment Variables' via the Control Panel.
- Add M2_HOME\bin to your 'Path' Environment Variables similar to above.
'nix: if 'Path' Variable already exists, add ":$M2_HOME/bin" to the end of it.
Windows: 'Path' Variable must be in 'User Variables'. If a Path Variable already exists, add ";%M2_HOME%\bin" to the end of it.
- Open a shell (known as Command Prompt in Windows) and run 'set' or 'env' to check that the Environment Variables are set correctly.
Windows: an easy way to open a Command Prompt is 'Start\Run...', enter 'command' and press 'ok').
- From the shell run 'install_repo.bat YOURHOMEPATH/.maven/repository'.
Windows:
install_repo.bat %HOMEPATH%\.maven\repository
(On some boxes the environment variable is %HOME%, you can check this by running the 'set' command and looking for which entry points to 'C:\Documents and Settings\YOURUSERNAME'
'nix:install_repo.bat ~/.maven/repository
Eclipse CVS Repository Explorer: How to generate the jFLAC project
I'm not using Eclipse, so I don't want to say how to do this. Other developers are building this with Eclipse, so I imagine that if you use Eclipse you won't have any trouble figuring it out. I will add this section as soon as I'm able to.