Compiling jar library

386 views
Skip to first unread message

David Young

unread,
May 17, 2012, 5:37:00 PM5/17/12
to andro...@googlegroups.com
I have a (non-Android) jar library project that I incorporate into an Android project, and I have been able to build the Android project on AIDE. Is it possible to compile the files of the library project and export it as a jar library through AIDE?

Thanks,
David

Android IDE

unread,
May 18, 2012, 4:27:52 AM5/18/12
to andro...@googlegroups.com
Hi,

currently not. AIDE will compile the classes to bin/classes2 but not
build a jar. You could try to pack that directory with a zip capable
App.


Dennis
> --
> AIDE - Android Java IDE mailing list
> andro...@googlegroups.com
> http://groups.google.com/group/android-ide?hl=en



--
AIDE Team
Twitter - @AndroidIDE
G+ - http://bit.ly/HVbYkO

David Young

unread,
May 19, 2012, 4:10:18 AM5/19/12
to andro...@googlegroups.com
Thanks. For a non-Android library project, what is the best way to have AIDE compile the files? I didn't see a way to open the project from within AIDE. Should I create a new project from within AIDE and then add the library project class files to compile them?

Thanks again for your help.

David

patrick jones

unread,
Apr 15, 2014, 9:18:22 AM4/15/14
to andro...@googlegroups.com, ide4a...@googlemail.com
Is this still the case? I would like to be able to build libraries with AIDE.

patrick jones

unread,
Apr 16, 2014, 9:08:18 PM4/16/14
to andro...@googlegroups.com

I was asking about this question


Is it possible to compile the files of the library project and export it as a jar library through AIDE?

--
---
You received this message because you are subscribed to a topic in the Google Groups "AIDE - Android Java IDE" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-ide/HahuMCnTmVI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-ide...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jean-Jacques MONOT

unread,
Apr 25, 2015, 7:09:21 AM4/25/15
to andro...@googlegroups.com
+1
I have the same question.....

M. Ziggy

unread,
May 1, 2015, 3:25:58 PM5/1/15
to andro...@googlegroups.com
Yes, it is still the case... IMO, it should be an option under Java Applications, Create Library Jar. I'd also like to see as Create Project types an 'Import ADT/Eclipse Git Repo' and 'Import Studio Git Repo' as either APK or Jar based Apps or Libs, that takes a Project name and directory and then clones a repo into that created directory, similar to how the sample Apps are cloned into AppProjects. When you browse to a non-project git repo dir, an Import as Project entry should be on the Git... menu, with similar options. By default I'd expect this to create an AIDE <App, Lib, Java, Jar> Import branch as part of the process, to isolate changes the IDE may make to files, from either upstream master, local master, the current branch, or a specific tag or branch if you want to be fancy :-D.

Not trivial, I realize, but would enhance the ability to use the IDE with portals like GitHub.

Separate issue, speaking of tags, why isn't there a Create Tag option on the Git... menu, or From Tag... list when switching branches? For 'last known stable' reversions I'd think this an important feature, sometimes.
Reply all
Reply to author
Forward
0 new messages