Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anders Nilsson
OwlCompiler
Commits
ac5cebd6
Commit
ac5cebd6
authored
Jun 19, 2014
by
Anders Nilsson
Browse files
Small bugfixes
parent
1b7f8f43
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
ac5cebd6
...
...
@@ -5,3 +5,4 @@ GenCompiler.class
Parser.class
GenCompiler.ja
GenCompiler.jar
OntologyCompiler.jar
Rewrites.jrag
View file @
ac5cebd6
...
...
@@ -30,13 +30,16 @@ aspect MiscUtilities {
syn lazy String Attribute.trim() {
String s = getValue().getSTRING_LITERAL();
s.replaceAll("
&iml;
","");
s =
s.replaceAll("
-
","
_
");
if (s.indexOf('"') == 0) {
s = s.substring(1,s.length()-1).trim();
}
if (s.indexOf('#') > -1) {
s = s.substring(s.indexOf('#')+1,s.length()).trim();
}
if (s.indexOf(';') > -1) {
s = s.substring(s.indexOf(';')+1,s.length()).trim();
}
return s.trim();
}
...
...
build.xml
View file @
ac5cebd6
...
...
@@ -117,7 +117,7 @@
</target>
<target
name=
"jar"
depends=
"build"
>
<jar
destfile=
"
Gen
Compiler.jar"
basedir=
"."
includes=
"**/*.class"
excludes=
"test/**"
>
<jar
destfile=
"
Ontology
Compiler.jar"
basedir=
"."
includes=
"**/*.class"
excludes=
"test/**"
>
<manifest>
<attribute
name=
"Main-Class"
value=
"GenCompiler"
/>
</manifest>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment