Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moex
Transmorpher
Commits
3e32a3d1
Commit
3e32a3d1
authored
Jan 22, 2003
by
Fabien Triolet
Browse files
Corrected a bug in the generated java code : parameters can now be passed from
the command line.
parent
0b51e09c
Changes
1
Hide whitespace changes
Inline
Side-by-side
transmorpher/src/fr/fluxmedia/transmorpher/graph/Main.java
View file @
3e32a3d1
/**
* $Id: Main.java,v 1.
3
200
2-11-25 16:09:11
triolet Exp $
* $Id: Main.java,v 1.
4
200
3-01-22 09:34:07
triolet Exp $
*
* Transmorpher
*
...
...
@@ -106,6 +106,7 @@ public class Main extends MainProcess {
String
key
=
(
String
)
e
.
nextElement
();
iFile
.
writeln
(
4
,
"p.setParameter(\""
+
key
+
"\", \""
+(
String
)
param
.
getParameter
(
key
)+
"\");"
);
}
iFile
.
writeln
(
4
,
"p.setParameters(tmParameters);"
);
iFile
.
writeln
(
4
,
"tmCurrentCompositeProcess = (TMain)new TMain(p);"
);
for
(
ListIterator
l
=
getCalls
().
listIterator
();
l
.
hasNext
()
;
){
((
Call
)
l
.
next
()).
generateJavaCode
(
iFile
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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