[Gephi-plugins] [gephi-dev] Gephi Plugins easier to develop

T B phreakocious at gmail.com
Mon Feb 6 23:10:32 CET 2012


Mathieu,

Wondering if there's been any progress on mavenizing Gephi?  I'm hoping to
wrap up my blueprints/gremlin integration.

Thanks!

On Tue, Jan 24, 2012 at 11:32 AM, Mathieu Bastian <mathieu.bastian at gephi.org
> wrote:

> Hi André,
>
> I'm glad the new environment works well for you. I'm really happy it works
> fine with Eclipse. Could you create a small wiki page with a step by step
> tutorial?
>
> Thanks for your suggestions. It's an important point and I had some
> difficulties to attach Javadoc/Sources with Netbeans so far. I tired
> several things but nothing seemed to work. I still need to try attaching
> the sources directly in the Gephi JARs. That might work.
>
> Mathieu
>
>
> On Mon, Jan 23, 2012 at 6:50 PM, André Panisson <panisson at gmail.com>wrote:
>
>> Hello Mathieu,
>>
>> I'm really appreciating the new plugin development process, it is now much
>> faster and easier to implement plugins.
>> It is more IDE-agnostic, and I was able to build, run and even debug my
>> plugins using Eclipse! :)
>> The progress is big, but I have some suggestions that might improve it.
>> For example, using the previous development process, it was a bit easier
>> to
>> navigate the source code using ctrl+click, find and see javadocs for all
>> Gephi classes, and it was also easier to debug the application.
>> Do you have any tips on how to easily navigate/debug the Gephi sources
>> using the new process? Is it possible, for example, when
>> navigating/debugging a netbeans project, add a reference to the source
>> code
>> of another project? I was able to do it using Eclipse, but I have no clue
>> about how to do it using Netbeans.
>>
>> Thanks,
>> André
>>
>> On Tue, Jan 10, 2012 at 7:52 AM, Mathieu Bastian
>> <mathieu.bastian at gephi.org>wrote:
>>
>> > Hi all,
>> >
>> > We are making progress in simplifying even more Gephi plugin development
>> > these days. We are making updates to the 'gephi-plugins' repository to
>> > address these issues:
>> >
>> > 1. Long building time
>> > 2. Building with ant only (no Netbeans)
>> > 3. Package NBMs into ZIP distributions
>> >
>> > 1. You are no longer obliged to compile and build Gephi plugins within
>> the
>> > main Gephi source code. If you go to the repository (
>> > https://github.com/gephi/gephi-plugins) and browse the 'platform/gephi'
>> > you'll see that this is similar to what is installed in your computer
>> > (C:\Program Files\Gephi....) and contains all necessary JARs Gephi
>> needs.
>> > So when you code plug-ins, you can test them within a complete Gephi in
>> > seconds.
>> >
>> > Try it out bu downloading the repository and 'ant run' or 'Run' in
>> > Netbeans.
>> >
>> > 2. You are no longer obliged to have Netbeans installed on your
>> computer to
>> > develop and build plug-ins. Because the Netbeans Platform is included in
>> > the repository (in the harness folder) it doesn't need Netbeans anymore.
>> > Development in Netbeans remains the same and everything works as before.
>> >
>> > 3. When you code plugins you are encouraged to split features in several
>> > modules like Gephi does. Therefore, you'll have several modules in your
>> > project, each of them with a different name and dependencies. When you
>> want
>> > to release your plug-in you need to create a NBM file for each of your
>> > module and create yourself a ZIP file of all NBMs to be able to upload
>> on
>> > Gephi.org.
>> >
>> > This process is now automated. Right click on your module > Package As >
>> > NBMs to create all NBMs plus a zip file containing all NBMs. The zip
>> file
>> > is located at /build/plugin-release.zip. You can also run 'ant nbms'
>> from
>> > the command line to do the same thing. You can then upload the file on
>> the
>> > website.
>> >
>> > ***So how to create a plugin this way?****
>> >
>> > - Fork and clone the gephi-plugins repository (
>> > https://github.com/gephi/gephi-plugins):
>> > $ git clone git at github.com:username/gephi-plugins.git
>> >
>> > - Open Netbeans and open the project. Netbeans recognizes the project as
>> > module suite.
>> >
>> > - Right click on the project and Run to test if Gephi runs fine.
>> >
>> > - Add new modules to your project...
>> >
>> > ***So how to convert my existing project?****
>> >
>> > - Fork and clone the gephi-plugins repository (
>> > https://github.com/gephi/gephi-plugins):
>> > $ git clone git at github.com:username/gephi-plugins.git
>> >
>> > - Copy-paste all your module folders into the new repository.
>> >
>> > - Go to Netbeans, right click on 'Modules' > 'Add Existing' and add all
>> > your folders.
>> >
>> > - Right click on the project and Run to test if Gephi runs fine.
>> >
>> > Please let me know if you have any trouble/questions. We will continue
>> to
>> > make improvements on the development process soon.
>> >
>> > Mathieu
>> > _______________________________________________
>> > gephi-dev mailing list
>> > gephi-dev at lists.gephi.org
>> > http://gephi.org/mailman/listinfo/gephi-dev
>> >
>>
>>
>>
>> --
>>
>> André Panisson, Ph.D. Studentpanisson at di.unito.it
>>
>> Dipartimento di Informatica - Universita' di Torino
>> Corso Svizzera,  185
>> 10149, Torino, Italy
>>
>> tel. (++39.)011.6706833
>> fax. (++39.)011.751603http://www.di.unito.it/~panisson
>> _______________________________________________
>> gephi-dev mailing list
>> gephi-dev at lists.gephi.org
>> http://gephi.org/mailman/listinfo/gephi-dev
>>
>
>
> _______________________________________________
> gephi-plugins mailing list
> gephi-plugins at lists.gephi.org
> http://gephi.org/mailman/listinfo/gephi-plugins
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gephi.org/pipermail/gephi-plugins/attachments/20120206/b793d6d1/attachment.html>


More information about the gephi-plugins mailing list