Starting with the following file structure:
doc/ lib/ src/%java-like structure% test/%java-like structure% build.xml
I want to create a new Netbeans project (inside this structure) using an existing
- assembly file
- sources
- libraries
- other files
Using the Netbeans tutorial to create a project from an existing source, I can import the sources and test files, but there are problems:
- You must select a name for the assembly file when you try it with an existing assembly file. Netbeans Blocks
- After creating a project, Netbeans does not find the library packages in
.lib/
, whether it is in the folder in the Properties / Libraries section or not.
As suggested here , I want to create a project from the git repository, but the proposed solution does not work for me (git does not want to clone into a non-empty directory ...), and I doubt that this will help with the library problem, etc.
EDIT 1
Somehow it works to create a new Netbeans project, then add libraries to it and import the library packages. But this does not work when creating a project from existing sources (then Netbeans does not find packages)!
EDIT 2
It seems even more complicated: it also does not work when I create a new project, change the source folder to the directory where the sources are (from which I want to create the project), and add the libraries, But use the libraries in the new project using new sources.
source share