LaTeX in Eclipse

Bookmark on del.icio.us
Posted on January, 31 at 1:53 pm

To a fast LaTeX document generation just install the plugin :

http://texlipse.sourceforge.net

Fast and easy.

Posted in alma common software, eclipse, java | No Comments »

Open Architecture Ware 5 EMF - Mini Intro Tutorial

Bookmark on del.icio.us
Posted on January, 19 at 6:25 am

Currently, i’m in the OSF@ALMA project and i will be here until March/2010, so my task here is migrate and implement a Alma Common Software Code Generator using Open Architecture Ware 5 (oWA5), so there’s a few things and hacks that you have to understand:

For old users of oWA, i mean, oWA 4.x.x, now oWA is under the eclipse umbrella and is part of Eclipse Modeling Framework EMF, from the version 5, oWA means MWE (EMFT) + Xpand (M2T ) +Xtext (TMF).

  • First of all, download a ready-to-use Eclipse here.
  • Install the last version of Antlr in Eclipse for Xtext and run the Workflow, Eclipse url Antlr install http://download.itemis.com/updates/ (this is in eclipse, Install new software…etc..etc..).
  • Some issues about project wizard creation in Xpand in oAW 5, missing classes and bad Workflow file definition, solved in bugzilla 283942.
  • Update the MANIFEST file, adding the oWA 5 libs defined under EMF and enable the project specific settings in Xtend/Xpand (project properties) UML2 Profiles and EMF Metamodels, UML2 have to be the first in the list.
With the things above, create a wizard project, in this case i use UML models exported from MagicDraw, this UML models are under the XMI 2.0 standard and they will be your metamodels, or just use the example wizard.
If your are new at this, run the workflow file created, right lick -> run-as ->MWE Workflow, the project have to generate some Java code from the UML models.
I will recored a screencast and how to modify the workflow for custom uses.

Posted in java | No Comments »

Alma Common Software & Scientific Linux 5.3

Bookmark on del.icio.us
Posted on December, 5 at 7:50 pm

How to install Alma Common Software on Scientific Linux 5.3 and many more topics about Alma Common Software in the ACS-UCN Google Group, feel free to sign in !.

Google Groups
Subscribe to ACS-UCN
Email:
Visit this group

Posted in Linux, alma common software | 2 Comments »

JET - Code Generation for Java - Eclipse

Bookmark on del.icio.us
Posted on November, 29 at 11:49 pm

When you are working in certain project that use a certain framework and for create a module (i.e.) you have to create several class files, and each class file has serveral atrributes and methods, it’s very annoying, so, why not create a liitle program to generate the code under our methods and attributes ?, ok, now you will say… how i do that ?, simple, with Java in this case you can do it, theres a library called JTM Java Emitter Templates, it’s a tool from Eclipse Modeling Framework EMF, and create our codes under templates files, so, it’s very easy and very helpful to generate custom code, even further you can create a Java App that use JET with a databse engine, to get our code under maintenance, how to this ? check this link above :

http://www.eclipse.org/articles/Article-JET/jet_tutorial1.html

Posted in Stuff, java | No Comments »

Custom App Icon to Desktop App in Netbeans

Bookmark on del.icio.us
Posted on November, 22 at 2:28 pm

Add custom icon app in your desktop java app in netbeans afte the initComponents( ) method :

1
2
3
4
5
6
7
8
9
10
11
12
try {
    URL url = 
    ClassLoader.getSystemResource(
    "net/alexonrails/java/fcg/gui/resources/icon.png");
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image img = kit.createImage(url);
    this.getFrame().setIconImage(img);
} catch (Exception ex) {
    Logger.getLogger(
    Code_fast_genrator_swingView.class.getName()).log(Level.SEVERE, null, 
    ex);
}

Posted in java | 3 Comments »

Upload files to rails from flex usign paperclip

Bookmark on del.icio.us
Posted on November, 21 at 10:47 am

I made a tiny but nice tutorial how to upload files from flex to paperclip.

Try it.

Agile development, great gui’s.

Download tutorial, source code…

Posted in AIR, AS3, Adobe, Flash, Flex, Ruby On Rails | 2 Comments »

Doing now ?

Bookmark on del.icio.us
Posted on November, 8 at 9:17 pm

Now i’m in Valparaiso-Chile, waiting for the ACS Workshop at UTFSM, and programming cameron.disc.ucn.cl under blazeDs.

In all my travel i’m going upload shoots of many city spots, and events.

Follow me on twitter.

Posted in Personal | 1 Comment »

Bookmark on del.icio.us
Posted on October, 31 at 3:48 am
http://acsworkshop.inf.utfsm.cl/css/Img/PEQUEbanner2.gif

9 to 13 November, ALMA-UTFSM Group organize the Alma Common Software Workshop, of course i will be there.

More info about it: http://acsworkshop.inf.utfsm.cl/

Posted in Personal | No Comments »

Ruby on Rails => ActiveRecord::Validations

Bookmark on del.icio.us
Posted on October, 19 at 4:40 am

http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html

Posted in Ruby, Ruby On Rails | No Comments »

Resolving alien.ssl.berkeley.edu….

Bookmark on del.icio.us
Posted on October, 7 at 7:04 pm
Resolving alien.ssl.berkeley.edu... 128.32.18.176
Connecting to alien.ssl.berkeley.edu[128.32.18.176]:21... connected.
Logging in as atejeda...
Login correct.
Connected...

Posted in Uncategorized | No Comments »