Page 1 of 1

NOT able to compile Code of Android Branch

PostPosted: Sat Jan 19, 2013 6:50 pm
by ermanishks
HI,
I have downloaded the source code from https://github.com/plutext/docx4j/tree/android for android branch.
when i import the code in to eclipse it made two directory as java and diffx. but pptx4j and xlsx4j classes are not showing in the package explorer.Hence it is generating a compile time error where code is importing org.pptx4j or org.xlsx4j.

how do i resolve this ?

PS i have uploaded the snapshot of the Eclipse package explorer and the Error in the some of the files.

Re: NOT able to compile Code of Android Branch

PostPosted: Sat Jan 19, 2013 7:24 pm
by jason
I'm not sure what you downloaded. Was it https://github.com/plutext/docx4j/archive/android.zip

If so, check your build path.

https://github.com/plutext/docx4j/tree/ ... org/pptx4j does exist; you should see it in android.zip

Re: NOT able to compile Code of Android Branch

PostPosted: Sat Jan 19, 2013 7:44 pm
by ermanishks
i have downloaded from the same zip file and it has all the java files but it is not showing in the eclipse explorer.
I have simply created project in eclipse using build.xml file https://github.com/plutext/docx4j/blob/ ... /build.xml (present in the zip file.)
I have not configured any build Path manually.
i have uploaded snapshot of the build path .

Re: NOT able to compile Code of Android Branch

PostPosted: Sun Jan 20, 2013 7:20 am
by jason
go to the "Source" tab, and fix the entries.