Comments (7)
I think this is mentioned in section "15.3.2 External Java Library". Would it suffice to add a forward reference to this section?
from documentation.
Ah yes. It applies to 15.1, 15.2 and 15.3, I think. Perhaps it could be moved to before these three?
from documentation.
That's probably a good idea. So you are suggesting that we move the part of section 15.3.2 that starts with "In order to use the VDM Types the Java implementation must have the Overture java library.." to before section 15.1? We can put it in a new section "15.0" called "Configuring the Java build path" or something like that. What do you think?
from documentation.
Yeah something like that would have helped me, since I obviously was too impatient to read ahead :-)
from documentation.
Ken, presumably you get a very particular class-not-found error? It might be good to mention that in the documentation too, as in "If you see this error... then you've forgotten to add the Overture.jar to the classpath"?
from documentation.
Yes that would be useful. For the example in 15.1, I get the following:
sensor.java:2: error: package org.overture.interpreter.runtime does not exist
import org.overture.interpreter.runtime.ValueException;
^
sensor.java:3: error: package org.overture.interpreter.values does not exist
import org.overture.interpreter.values.IntegerValue;
^
sensor.java:4: error: package org.overture.interpreter.values does not exist
import org.overture.interpreter.values.Value;
^
sensor.java:8: error: cannot find symbol
public Value getValue(Value id) throws ValueException
^
symbol: class Value
location: class sensor
sensor.java:8: error: cannot find symbol
public Value getValue(Value id) throws ValueException
^
symbol: class Value
location: class sensor
sensor.java:8: error: cannot find symbol
public Value getValue(Value id) throws ValueException
^
symbol: class ValueException
location: class sensor
sensor.java:11: error: cannot find symbol
return new IntegerValue(result);
^
symbol: class IntegerValue
location: class sensor
7 errors
from documentation.
Okay that's done. Chapter 15 now includes a new section "15.1 Configuring the Java build path"
I did not add the error messages though. Feel free to tweak it all you want. I'm closing this issue for now.
from documentation.
Related Issues (20)
- Manual updates for post 2.1.6 release HOT 10
- Quick Overview map operators inconsistent with VDM language manual HOT 1
- Missing Measure in ToStringInt function
- Corrections/Improvements to Syntax Definition in LRM HOT 29
- The graph-edSL VDMSL has type errors HOT 2
- Remote Control No/Unclear VDM_SL example HOT 1
- LRM: grammar for sequence comprehensions is wrong HOT 5
- VCParser-masterSL has parse errors HOT 6
- Conway Game of Life Example not working HOT 11
- User Guide needs to be updated for native path lookups
- Add let/def exp/stmt semantics to the manual.
- Add chapter 12 and UML translation rules to the VS Code guide
- References undefined in language manual PDF HOT 4
- mutex(opA) not defined in language manual HOT 25
- Update OvertureIDEUserGuide to remove proof status column HOT 1
- CarNav* RT examples need to be updated HOT 6
- concrete syntax of class membership expressions HOT 1
- operator precedence of "reverse" HOT 5
- union and munion pattern HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documentation.