Workbench build

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Workbench build

seyfullahd
Hi dear friends,

How can I build to workbench executable file for Windows, using my local customized Carrot2 code?
Actually, I want to see the visualized clustering results of my customized Lingo clustering algorithm.

Thanks in advance.

Seyfullah.
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

Dawid Weiss-2
1. Fetch this (give it 15 minutes, please, it's uploading):
http://download.carrot2.org/resources/rcp.zip
2. unpack the ZIP archive.
3. alter your Carrot2 checkout's local.properties file (copy it over
from local.properties.example) and point at the RCP by specifying the
following property:

target.platform=c:/your/path-to-rcp/3.7.1

4. build from command-line:

ant workbench.dist

This will build all binary distributions.

There is a lot of complexity involved if you've added some plugins
etc. This falls under Eclipse Rich Client Platform -- I cannot guide
you into this, it'd take too long. Get a book about the RCP or
something if you want to do more extensive changes.

Dawid


On Fri, Jun 14, 2013 at 9:31 PM, seyfullahd <[hidden email]> wrote:

> Hi dear friends,
>
> How can I build to workbench executable file for Windows, using my local
> customized Carrot2 code?
> Actually, I want to see the visualized clustering results of my customized
> Lingo clustering algorithm.
>
> Thanks in advance.
>
> Seyfullah.
>
>
>
> --
> View this message in context: http://carrot2-users-and-developers-forum.607571.n2.nabble.com/Workbench-build-tp7578110.html
> Sent from the Carrot2 Users and Developers Forum mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Carrot2-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/carrot2-developers
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

seyfullahd
Thanks Dawid :)

I will try it when uploading finished.
I am using additional jars, I hope I can do it without additinal learning :)
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

Dawid Weiss-2
> I am using additional jars, I hope I can do it without additinal learning :)

The easiest way would be if you add those JARs to one of the existing
projects in Carrot2 (like the lingo algorithm component or something).
You will have to use the PDE plugin or modify the project's manifest
file directly. Look at JARs are included in, for example,
com.google.guava, in particular the following files will have a key
role:

- .classpath
- build.properties
- META-INF/MANIFEST.MF

PDE is a nighmare to get right and running, unfortunately. And be
prepared for very cryptic messages if you build the Workbench and
something is missing...

Dawid

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

Dawid Weiss-2
You can also put up your project on github -- if you do, it's simpler
for me to patch/ review it there than to explain what to fix...

Dawid

On Fri, Jun 14, 2013 at 9:59 PM, Dawid Weiss
<[hidden email]> wrote:

>> I am using additional jars, I hope I can do it without additinal learning :)
>
> The easiest way would be if you add those JARs to one of the existing
> projects in Carrot2 (like the lingo algorithm component or something).
> You will have to use the PDE plugin or modify the project's manifest
> file directly. Look at JARs are included in, for example,
> com.google.guava, in particular the following files will have a key
> role:
>
> - .classpath
> - build.properties
> - META-INF/MANIFEST.MF
>
> PDE is a nighmare to get right and running, unfortunately. And be
> prepared for very cryptic messages if you build the Workbench and
> something is missing...
>
> Dawid

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

seyfullahd
> You can also put up your project on github -- if you do, it's simpler
for me to patch/ review it there than to explain what to fix...
 
I would love to and I will.
But, I am experimenting this work for my master thesis, and I am afraid to push the code to a public repository for now. If I face a problem building the workbench, I can directly share the related projects with you via mail like something if you don't mind.
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

seyfullahd
And thank you very much for helping, for helping really soon at all the time :)
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

seyfullahd
At last I could do it :)
I cannot tell how happy that it makes me feel :)

Thanks again for your guide.
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

Dawid Weiss-2
In reply to this post by seyfullahd
> But, I am experimenting this work for my master thesis, and I am afraid to
> push the code to a public repository for now.

There is nothing to be afraid of. If you want to keep your research
results private (and your university allows for this) then sure --
you'd have a reason not to work in public. But if you want to make it
public in the end anyway I wouldn't be afraid to publish the project
as soon as possible. If anybody rips off your work you'll have an
evidence in the git log that you were the first person to come up with
whatever it is you're doing :)

Dawid

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

seyfullahd
You convinced and encouraged me to do it :) I will publish it as soon as possible when I complete the base approach code. My appointment with my advisors this week will shape the roadmap sharper :) Coming soon :)
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

Dawid Weiss-2
If I may add another hint -- you should consult before you publish the
code with your thesis supervisor. I doubt he or she will mind it...
but asking for permission is probably sensible here.

Dawid

On Sun, Jun 16, 2013 at 8:52 PM, seyfullahd <[hidden email]> wrote:

> You convinced and encouraged me to do it :) I will publish it as soon as
> possible when I complete the base approach code. My appointment with my
> advisors this week will shape the roadmap sharper :) Coming soon :)
>
>
>
> --
> View this message in context: http://carrot2-users-and-developers-forum.607571.n2.nabble.com/Workbench-build-tp7578110p7578120.html
> Sent from the Carrot2 Users and Developers Forum mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Carrot2-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/carrot2-developers
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

seyfullahd
Hi Dawid,

I did not talk about this issue with my supervisor yet. I will inform you when I do.

Actually, I want to ask a new question under this topic.
"ant workbench.dist"  command generates all the distribution files, but I only need the 64 bit windows version. Is there an ant target generates only it. If so, I can generate what I need very quickly.

Thanks in advance,

Seyfullah
Reply | Threaded
Open this post in threaded view
|

Re: Workbench build

Dawid Weiss-2
> "ant workbench.dist"  command generates all the distribution files, but I
> only need the 64 bit windows version. Is there an ant target generates only
> it. If so, I can generate what I need very quickly.

ant workbench but you'll need to configure your target platform in
local.properties (see local.properties.template for appropriate
configuration section and uncomment/edit).

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers