user3484371
user3484371

Reputation: 83

Source control enablement for Java Code in Domino Projects

I am using GIT integrated with Domino designer(version 9.0.1). I have associated a .nsf project to an on-disk project. I have synced this on-disk project with my source control repository. This seems to be the way of doing things. But the on-disk project doesn't have the Java classes and packages I had in my .nsf project under "Local" directory. So how could I possibly sync these files and packages also?

Upvotes: 2

Views: 325

Answers (1)

Knut Herrmann
Knut Herrmann

Reputation: 30960

The "Local" directory doesn't get stored in on-disk project. It is used by Domino designer internally to e.g. create Java classes from XPages. As those classes are build and updated automatically during project build there is no need to save them in on-disk project for source control reasons.

Store your Java classes and packages somewhere else in .nsf. The classic way (compatible with 8.5.x versions) is to put them into Design Code element "Java" folder "Code/Java" or "src" (Java classes), "res" (resources/property files) and "WebContent/Web-INF/bin" (jar files). Since version 9 you can put your jar files into Design Code element "Jars".

Upvotes: 3

Related Questions