Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Intent/FAQ

< Intent
Revision as of 06:45, 31 December 2012 by Alex.lagarde.obeo.fr (Talk | contribs) (Technical Questions)

Can't find the answer you're looking for? Try the Intent Forum and get involved!

Technical Questions

Any relevant question about Intent use

Dependencies issues when installing Intent

As explained in the Installation Guide, the easiest way to install Intent is to start from a Juno or Indigo Modeling.

When I create an Intent project, it is empty

Are you in the Project Explorer perspective? For more tips, check out the Getting Started tutorial.

How can I export documentation programatically?

If you do not want to depend from UI, you can use the IntentHTMLExporter. Here is an example of how to export an IntentDocument stored in a CDO-based Intent Repository.

// Step 1: connect to the Intent Repository
Repository repository = IntentRepositoryManager.INSTANCE.getRepository("cdo://localhost:2036/intent-server");

// Step 2: create a repository adapter to get the IntentDocument
RepositoryAdapter repositoryAdapter = repository.createRepositoryAdapter();
repositoryAdapter.openReadOnlyContext();
IntentDocument elementToOpen = new IntentDocumentQuery(repositoryAdapter).getOrCreateIntentDocument();

// Step 3: export the IntentDocument using the IntentHTMLExporter
new IntentHTMLExporter().exportIntentDocumentation(elementToOpen, "D:/exportFolderLocation", "My Intent documentation", BasicMonitor.toMonitor(new NullProgressMonitor()));

// Step 4: close connection
repositoryAdapter.closeContext()

General Questions

Any relevant question about Intent scope, architecture, etc.

Does Intent allow to synchronize Java code?

It has the *ability* to do so (see newsgroup post), but default Java code integration is not yet integrated. This will come soon...

Back to the top