Git Product home page Git Product logo

camille's Introduction

Camille

The Camille Editor for Rodin.

Build Status

Installing

In Rodin, go to Help > Install New Software... and select the Camille update site. The update site should be preconfigured in Rodin - if not, add it using the URL https://stups.hhu-hosting.de/rodin/camille/release/.

Building Camille

Building the project requires Java 11 or later (tested with Java 17) and Maven 3.6.3 or later (tested with Maven 3.9). (At runtime, the plugin is still compatible with Java 8.)

$ cd org.eventb.texteditor.parent
$ mvn clean verify 

This will produce a p2 repository (update site) in org.eventb.texteditor.repository/target/repository

We autmatically produce nightly builds that can be installed using the repository located at https://stups.hhu-hosting.de/rodin/camille/develop/.

Contributing/Bugs

Pull requests are very welcome. Suggestions for new extensions and known bugs are tracked on GitHub.

camille's People

Contributors

bendisposto avatar bivab avatar dgelessus avatar ladenberger avatar wysiib avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

weetmuts

camille's Issues

Cannot save new file/or open exiting files (Rodin 3.4)

Problem

I created a new project in a fresh Rodin installation and added a new context to it.
As an example I used the array context from http://wiki.event-b.org/index.php/TextEditor_EBNF.
When I try to safe I get the error message displayed below.
I get the a similar error on opening an exiting context or machine file, created with the rodin editor.

Environment:

  • Rodin 3.4 for linux (rodin-3.4.0.201802230927-6980ca1-linux.gtk.x86_64)
  • OpenJDK 8 (8.u162)
  • Camille nightly (3.2.0.201803161304)
  • no additional plugins

Error message:

Save Failed Couldn't add in target because its parent hasn't been merged yet: MERGING LEFT DELETE org.eclipse.emf.compare.internal.spec.ReferenceChangeSpec{reference=BinaryOperator.left,value=IdentifierExpression@71135794 n,parentMatch=org.eclipse.emf.compare.internal.spec.MatchSpec{left=<null>,right=BelongPredicate@35451ba6 http://emf.eventb.org/models/core/formulas::BelongPredicate::array.axm1._OuTcwDHhEeiosJ6emmGu5g,origin=<null>,#differences=2,#submatches=0},match of value=org.eclipse.emf.compare.internal.spec.MatchSpec{left=<null>,right=IdentifierExpression@71135794 n,origin=<null>,#differences=0,#submatches=0}}

This project looks really nice and I hope someone can help me to get it to run.
If you need additional information I'll be happy to provide them.
Yours,
Benedikt

Camille save destroys transitions in iUML-B state-machines

Saving in Camille tries to ignore (i.e. preserve) iUML-B state-machines (even though they appear to have been deleted because there is no text representation). However, a transition's source/target references have an eOpposite relation with States incoming/outgoing references. Only the incoming/outgoing references are preserved; the source/target references are deleted resulting in an invalid model.

Before saving with Camille:
image

After saving a change in Camille:
image

Looking with Rose editor reveals missing properties source and target:
image

The model can be repaired by deleting and re-writing the incoming/outgoing properties of the states. (which automatically updates the source/target properties since they are eOpposite).

N.b. there are other eOpposite relationships in e.g. Class diagrams etc.

Theories parsing bug

It seems that camille is not able to parse operators (of theory modules) with more than 1 argument.
For example, camille can not parse the seqAppend(s, e) operator:
bildschirmfoto 2014-08-19 um 11 07 21

Error location is not shown

If Rodin finds an error using Rodin editor, the line is shown at the row "location". Using Camille editor, it says "unknown" instead.

Disabling replacement of ASCII symbols

I'd like to disable the replacement of ASCII symbols like |> to the Unicode version . I personally strongly dislike an editor replacing my text.

As a sidenote, while I would be perfecly happy using the ASCII symbols as they are, I think a better approach here would be to use a font like Fira Code.

Camille adds seen contexts and refines machines instead of overwriting

Hallo,

hier ist ein Minimal-Beispiel für den Bug.
Ändert man in der Maschine mac den gesehenen Context von Ctx1 auf Ctx2 tritt der Fehler auf:
bildschirmfoto 2015-02-17 um 12 10 26

Im Struktur-Editor sieht man dann das Problem.
Statt Ctx1 durch Ctx2 zu ersetzen hat Camille Ctx2 einfach hinzugefügt beim Speichern.

Error during mvn clean verify

Error occurs during installing using maven

ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'targetRepository2' from location http://rodin-b-sharp.sourceforge.net/core-updates: No repository found at http://rodin-b-sharp.sourceforge.net/core-updates. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'targetRepository2' from location http://rodin-b-sharp.sourceforge.net/core-updates
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'targetRepository2' from location http://rodin-b-sharp.sourceforge.net/core-updates
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:301)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:269)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:174)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:126)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1)
	at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:82)
	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:215)
	at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:99)
	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	... 11 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.