zengxiange / android-vnc-viewer

Automatically exported from code.google.com/p/android-vnc-viewer
0 stars 0 forks source link

Unable to build androidVNC from R178 #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checkout the latest sources from the Antlersoft branch
svn checkout 
http://android-vnc-viewer.googlecode.com/svn/branches/antlersoft/androidVNC
2. Attempt to build with either Eclipse or IntelliJ and it fails
3. It appears that there are several missing files

Please note that I was able to successfully checkout and build previous sources 
from the Antlersoft branch.

I would like to become a contributor to the androidVNC project and I really 
need to work with the current codebase.

Thanks!
Tom

Original issue reported on code.google.com by TomRolan...@gmail.com on 29 Jul 2010 at 5:52

GoogleCodeExporter commented 9 years ago
I'll look into it.

Original comment by googlec...@antlersoft.com on 29 Jul 2010 at 8:05

GoogleCodeExporter commented 9 years ago
Please check in the correct source code, would like to build, has multiple 
missing files of incorrect version.

Original comment by vag...@gmail.com on 31 Jul 2010 at 12:45

GoogleCodeExporter commented 9 years ago
All the files are there-- I just built from the given checkout.

You do need to make sure the sqlitegen plugin is part of your Eclipse, as in: 
the source code is designed to build in the Eclipse ADT environment with the 
addition of the SQLiteGen plugin (which is also free and open source): 
http://code.google.com/p/sqlitegen

The latest version does require the Android SDK 2.2, which previous versions 
did not.  Maybe that is what you are missing.

Original comment by googlec...@antlersoft.com on 2 Aug 2010 at 4:14

GoogleCodeExporter commented 9 years ago
Issue 162 has been merged into this issue.

Original comment by googlec...@antlersoft.com on 2 Aug 2010 at 4:16

GoogleCodeExporter commented 9 years ago
If sqlitegen doesn't solve the problem, please add the Java error messages to 
this report.

Original comment by googlec...@antlersoft.com on 2 Aug 2010 at 4:57

GoogleCodeExporter commented 9 years ago
Yes, thanks!  Adding the sqlitegen plugin to Eclipse solved my problem.  I was 
missing the generated files.

My preferred IDE is IntelliJ, however I couldn't find a sqlitegen plugin for 
IntelliJ.  My work around is to checkout the SVN sources for androidVNC, build 
it with Eclipse and then create an IntelliJ project using existing sources at 
that same folder.

I might suggest that you include the files generated by the sqlitegen plugin as 
part of your SVN checkin.  While they aren't necessary, given the sqlitegen 
plugin, there would be no harm in including them and androidVNC could be built 
without using the plugin.

Thanks again for the help!
Tom

Original comment by TomRolan...@gmail.com on 3 Aug 2010 at 11:13