microsoft / TSS.MSR

The TPM Software Stack from Microsoft Research
Other
428 stars 161 forks source link

Move TSSMain into package samples #182

Open holgerfriedrich opened 11 months ago

holgerfriedrich commented 11 months ago

TSS.Java 1.0.0 packages from mvn repository cannot be used together with OSGI projects, as OSGI forbids classes without a package specified. TSSMain.java does not specify a package and is included in the mvn package.

This leads to the compile error in OSGI projects: The default package '.' is not permitted by the Import-Package syntax.

The workaround is repackaging or unpacking and removing the TSSMain during build.

This PR just moves the TSSMain.java file into the samples package. Could you please include this PR and release?