Comments (9)
+1
from fabric8.
once a fabric's created, dev:watch * works a treat; its more for fabric creation really we need this
from fabric8.
dev:watch is something that generally works even without creating fabric, isn't that enough?
from fabric8.
@iocanel thanks!
I just tried it; there's a bug I'm working on in fabric-core; tried rebuilding it, stopped the fabric container; deleted data directory, started it up, did *dev:watch *" - it doesn't recognise I've rebuilt it.
It seems ordering is important; you have to stop, clear out and restart the fabric container then do 'dev:watch *" before doing any other builds for fabric-core? Unless its just some glitch here locally?
I'd prefer a dev mode which was a little less clumsy really; as right now I'm in a constant loop of
- hack code
- try create a fabric / child containers
and if feels a bit clumsy right now. I'll try persevere with dev:watch * though; and try get in the habit of restarting & dev:watch * first before building anything.
from fabric8.
hmm - dev:watch * did spot a recompile this time of fabric-core, but not fabric-api; "dev:watch *" does seem a little unreliable unless you are doing a build after you've typed "dev:watch *"
from fabric8.
ah - dev:watch * doesn't seem to help at all for creating child containers? even when the root container correctly recognises a rebuilt fabric-core, the old one is used in the child container
from fabric8.
wonder if there's a way to enable dev:watch * to be enabled by default in the local build of fabric; so it works on startup of both a root container and children?
from fabric8.
dev:watch command is something that only works on the local container.
The closest alternative we currently have that can propagate changes cluster-wide is fabric:profile-refresh (a command that will trigger the fabric-agent to all containers using this profile, resulting in the update of recent SNAPSHOT dependencies from the local maven repo).
Maybe we could work on combining the two in such a way that whenever we use dev:watch inside fabric, instead of updating the local bundles, we bump the profile to trigger the fabric-agent like profile-refresh does).
NOTE: Regardless of how we finally implement it, we should always be aware of the fact that some utility classes are not imported/exported but embeeded to the jars as private packages. In those cases just building the jar that hosts the utility classes will not help, untill we also build the jars that embeed those (example: ZooKeeperUtils).
from fabric8.
BTW we have fabric:watch * now too - which works across containers. Not sure it helps when you need to reload fabric-core though
from fabric8.
Related Issues (20)
- kubernetes cluster 1.9.7-gke.1 issues in keycloak
- fabric8 ui : ls: cannot open directory /var/lib/nginx/: Permission denied HOT 1
- update the homepage to describe that the fabric8 platform is mothballed HOT 6
- Can't deploy on Google GKE due to invalid accessmode HOT 1
- org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: servlet of type: org.apache.camel.spi.RestConsumerFactory
- Null pointer exception while deploying ClusterRoleBinding using io/fabric8 kubernetes api. HOT 3
- FabricDiscoveryAgent makes use of system properties for Zookeeper.url and zookeeper.password
- fabric8-maven-plugin generates livenessProbe and readinessProbe for initcontainers
- Update gofabric8 notice HOT 1
- ObjectMapper customization
- Gettting Failed to authenticate with proxy
- how does helm goal work?
- docker/compose-demo fails with start: java.lang.Integer cannot be cast to java.lang.String
- Jenkins build failed to fetch sources from existing git repository
- Too hard to install fabric8
- gofabric8 start failed HOT 3
- Today , i install fabric8 by two ways HOT 3
- Allow @sha256 digest for tags in FROM HOT 1
- Too hard to install fabric8 ...It's too difficult to install fabric8 HOT 5
- the fabric8 failed to access resources /k8s/api/v1/proxy/...
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 fabric8.