Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude ServerTasks from bootstrap trigger #3

Closed
andham opened this issue May 31, 2017 · 5 comments
Closed

Exclude ServerTasks from bootstrap trigger #3

andham opened this issue May 31, 2017 · 5 comments

Comments

@andham
Copy link
Contributor

andham commented May 31, 2017

According to answer in the oomph forum, the ServerTasks (eg WebsphereServerTask) should probably not be performed in the installer but only in the installed application. To ensure this the bootstrap trigger should be excluded. Please see
https://www.eclipse.org/forums/index.php?t=msg&th=1086494&goto=1764499&#msg_1764499
for info on using an annotation on EClasses for this.

@andham andham changed the title Excluded ServerTask from bootstrap trigger Exclude ServerTasks from bootstrap trigger May 31, 2017
@andham
Copy link
Contributor Author

andham commented May 31, 2017

I was able to workaround this misconfiguration in the task by adding
excludedTriggers="BOOTSTRAP"
to the declaration in my setup file.
Still running into other issues though, but this got me past the initial problem with the task being executed at bootstrap (see #2).

@koval-jan
Copy link
Member

The BOOTSTRAP triger is removed in latest release

@andham
Copy link
Contributor Author

andham commented May 31, 2017

@koval-jan Shouldn't you remove this trigger from the ServerTask class as well?

@koval-jan
Copy link
Member

You are probably referring to this interface: com.gratex.oomph.task.server/src/com/gratex/oomph/task/server/ServerTask.java

I figured that the file was not used (after several refactors ...)

@andham
Copy link
Contributor Author

andham commented May 31, 2017

@koval-jan Yes, you're right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants