Don't assume that you can skip the package/unzip steps if you're just changing a config file. You need to re-package and unzip again.
what is the best way to package Iago so that it can be run with different config files, without recompiling, in order to create a neatly test suite for several Java services?
--
---
You received this message because you are subscribed to the Google Groups "Iago Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iago-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Since the iago launcher generates configuration files ...
the concern is that if we change one of the generated files, we may later overwrite that if the change isn't perfectly reflected in the launcher config
Thanks WamBamBoozle! A few clarifying questions:Since the iago launcher generates configuration files ...So what I'm hearing is that the generated files mentioned in that link are actually dependent on the configs in place at compile/package-time.
- Are parrot-feeder.scala and parrot-server.scala the "generated configuration files" you're referring to?
- Is it only launcher.scala, or also the other (e.g. web.scala) potential launcher configs that affect the output files?
- What specific portions/fields of launcher.scala (or other launcher config files) determine the output files? It seems that minor changes don't affect the runs, even if sourcing an outside scala file that wasn't present at compile-time. Trying to understand the relationships here, though I would understand if you told me to go read the source (I'm a Java developer, so I'm trying to avoid parsing a lot of Scala for now to understand the innards).
the concern is that if we change one of the generated files, we may later overwrite that if the change isn't perfectly reflected in the launcher config
Is the concern only for the generated files being overwritten, or will Iago fail to start a run if certain changes are made to the launcher config .scala file without recompiling?
Would there be a good way, in your opinion, to extend Iago through a pom file so that it can still assemble properly, without exposing all of Iago's internals? What I have in mind is similar to what jwstric2 did with https://github.com/jwstric2/iago-javahttpprocessor, but without depending on the "service-292" artifact, which doesn't seem intended for extension as a long-term solution.
As long as the only thing you change is the launcher config everything is beautiful. Re-run the launcher to your hearts content. Every time you do, you re-generate the other files.