sblanc's video?
by Max Rydahl Andersen
I was watching https://vimeo.com/65672198 which unfortunately is very lowres so can't see the details.
In here it looks like there is a config.yml file of some sort - is this a new kind of configuration we got ?
Is it related to forge preference model in any way ? it currently does not look like that...but can't tell -
sblanc, could you upload a higher res video ? :)
/max
11 years, 6 months
Re: [forge-dev] forge classloading
by Lincoln Baxter
Hey Bill,
Eek. This looks like a rough one. We don't have the cleanest classpath isolation (and permission) in Forge 1 :/
In order to get this to work, it might require debugging, and a good amount of tinkering in the core container modules configurations.
George or I can work on this with you.
(copying forge-dev)
----- Original Message -----
From: "William DeCoste" <wdecoste(a)redhat.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Sent: Wednesday, May 8, 2013 11:48:05 AM
Subject: forge classloading
Hi Lincoln
Ran into an interesting classloading problem when trying to upgrade to
the latest openshift-java-client. Exception is below. The new client
uses javax.xml.bind.DatatypeConverter which is part of the JDK. But
Forge is blowing up trying to find this class in modules. Any ideas?
Thanks -Bill
[forge-openshift-demo] forge-openshift-demo $ rhc setup --app forgedemo
***INFO*** Loaded OpenShift configuration from
/home/bdecoste/.openshift/express.conf
***INFO*** Using RHLOGIN:bdecoste32f@gmail.com for
https://ec2-54-224-225-19.compute-1.amazonaws.com
? Enter your Red Hat Openshift password: ******
log4j:WARN No appenders could be found for logger
(com.openshift.internal.client.RestService).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
javax.enterprise.event.ObserverException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at
org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
at
org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
at
org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
at
org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at
org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at
org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at
org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628)
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75)
at
com.redhat.openshift.forge.OpenShiftPlugin.setup(OpenShiftPlugin.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
at
org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
at
org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at
org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:789)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:812)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at
org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at
org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at
org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at
org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at
org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at
org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at
org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at
org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at com.openshift.client.utils.Base64Coder.encode(Base64Coder.java:42)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.setAuthorisation(UrlConnectionHttpClient.java:300)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createConnection(UrlConnectionHttpClient.java:253)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:99)
at
com.openshift.internal.client.RestService.request(RestService.java:144)
at
com.openshift.internal.client.RestService.request(RestService.java:98)
at
com.openshift.internal.client.RestService.request(RestService.java:91)
at
com.openshift.internal.client.RestService.request(RestService.java:72)
at
com.openshift.internal.client.AbstractOpenShiftConnectionFactory.getConnection(AbstractOpenShiftConnectionFactory.java:34)
at
com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:134)
at
com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:103)
at
com.redhat.openshift.core.OpenShiftServiceFactory.create(OpenShiftServiceFactory.java:17)
at
com.redhat.openshift.forge.OpenShiftFacet.internalInstall(OpenShiftFacet.java:101)
at
com.redhat.openshift.forge.OpenShiftFacet.install(OpenShiftFacet.java:81)
at
org.jboss.forge.project.BaseProject.performInstallation(BaseProject.java:240)
at
org.jboss.forge.project.BaseProject.installFacet(BaseProject.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at
org.jboss.weld.proxies.Project$-1946286523$Proxy$_$$_WeldClientProxy.installFacet(Project$-1946286523$Proxy$_$$_WeldClientProxy.java)
at
org.jboss.forge.shell.project.FacetInstallationHandler.performInstallation(FacetInstallationHandler.java:105)
at
org.jboss.forge.shell.project.FacetInstallationHandler.install(FacetInstallationHandler.java:81)
at
org.jboss.forge.shell.project.FacetInstallationHandler.installRequest(FacetInstallationHandler.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at
org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at
org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at
org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
... 43 more
Caused by: java.lang.ClassNotFoundException:
javax.xml.bind.DatatypeConverter from [Module
"com.redhat.openshift.forge-openshift-plugin.dependencies:1.0.6.Final-df164dee-c6e5-4ad4-a61d-a5f5ae16aa32"
from local module loader @1f9805f (roots:
/home/bdecoste/OpenShift/forge-distribution-1.2.1.Final/modules,/home/bdecoste/.forge/plugins,/home/bdecoste/workspaces/OpenShift/forge)]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
... 80 more
--
Bill DeCoste
Principal Software Engineer, Red Hat
978-204-0920
wdecoste(a)redhat.com
11 years, 6 months
Test Failure in Addons Tests
by Lincoln Baxter, III
I believe this is due to the fact that we need to inform Maven that it must
build the parent pom and sub-modules when doing a building request.
MavenFacetImpl.java#309 accepts some additional parameters, including one
call that accepts a List<PomFile> that may allow us to get a more accurate
building result.
Unfortunately I think that this means we will need to implement the project
building cache a little earlier than I expected.
For now, let's just get it working without caching - it will be slow, but
we can see how it goes and try to find performance optimizations.
I'll work on this later tonight or tomorrow.
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
11 years, 6 months
Aesh: Warning: The encoding 'UTF-8' is not supported by the Java runtime.
by Lincoln Baxter, III
Looks like our good friend UTF-8 warning is back :(
[forge]$ install-an-addon --name facets --groupId org.jboss.forge --version
2.0.0-SNAPSHOT
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Addon org.jboss.forge:facets,2.0.0-SNAPSHOT was installed succesfully.
[forge]$ install-an-addon --name facets --groupId org.jboss.forge --version
2.0.0-SNAPSHOT
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Addon org.jboss.forge:facets,2.0.0-SNAPSHOT was installed succesfully.
[forge]$
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
11 years, 6 months
Forge Meeting minutes - 2013-05-08
by ggastald@redhat.com
==============
#forge Meeting
==============
Meeting started by gastaldi at 14:59:00 UTC. The full logs are available
at
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2013/forge.20...
.
Meeting summary
---------------
* Agenda (gastaldi, 14:59:12)
* Forge 2 Status (gastaldi, 14:59:26)
* Forge 1.2.4.Final to be released (gastaldi, 15:00:10)
* Android and Apache Cordova integration (gastaldi, 15:01:33)
* Scaffold-X team status (gastaldi, 15:02:10)
* Forge 2 Status (gastaldi, 15:02:22)
* Forge 1.2.4.Final to be released - New Features (gastaldi, 15:11:15)
* ACTION: gastaldi will with check lincolnthree about the next Forge
version (gastaldi, 15:17:20)
* ACTION: gastaldi will check with Koen and Max about the inclusion of
the next Forge version in the upcoming beta1 release of JBT since
Burr wants the html5/angular scaffolding to be showcased (gastaldi,
15:19:29)
* ACTION: gastaldi will create a new repository for the angular
scaffold-x plugin (gastaldi, 15:24:55)
* ACTION: vineetreynolds will make a 1.0 release of the existing html5
plugin and update the YAML file (gastaldi, 15:25:29)
* Android and Apache Cordova integration (gastaldi, 15:26:14)
* ACTION: vineetreynolds will raise a feature request for supporting
APK packaging type in Forge 1 (gastaldi, 15:32:36)
* Scaffold-x team status (gastaldi, 15:33:01)
* ACTION: Document any steps to fix the REST resources generated by
the rest plugin (vineetreynolds, 15:37:41)
Meeting ended at 15:46:27 UTC.
Action Items
------------
* gastaldi will with check lincolnthree about the next Forge version
* gastaldi will check with Koen and Max about the inclusion of the next
Forge version in the upcoming beta1 release of JBT since Burr wants
the html5/angular scaffolding to be showcased
* gastaldi will create a new repository for the angular scaffold-x
plugin
* vineetreynolds will make a 1.0 release of the existing html5 plugin
and update the YAML file
* vineetreynolds will raise a feature request for supporting APK
packaging type in Forge 1
* Document any steps to fix the REST resources generated by the rest
plugin
Action Items, by person
-----------------------
* gastaldi
* gastaldi will with check lincolnthree about the next Forge version
* gastaldi will check with Koen and Max about the inclusion of the
next Forge version in the upcoming beta1 release of JBT since Burr
wants the html5/angular scaffolding to be showcased
* gastaldi will create a new repository for the angular scaffold-x
plugin
* lincolnthree
* gastaldi will with check lincolnthree about the next Forge version
* vineetreynolds
* vineetreynolds will make a 1.0 release of the existing html5 plugin
and update the YAML file
* vineetreynolds will raise a feature request for supporting APK
packaging type in Forge 1
* **UNASSIGNED**
* Document any steps to fix the REST resources generated by the rest
plugin
People Present (lines said)
---------------------------
* gastaldi (83)
* vineetreynolds (72)
* jbott (3)
* jbossbot (2)
* lincolnthree (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
--
11 years, 6 months
LINCOLN BAXTER : twitter contact guy
by Laxmi Narayan NIT DGP
*
hi JBOSS community , i am a student developer and i saw your ideas in GSOC
due to being period off i could not make some proposal actually due to lack
of knowledge about how jboss is developed and works . so i want to pick up
some project ( small will be better )
to start with you.
ref : LINCOLN BAXTER , we talk on twitter and thanks for all of his
replies
Laxmi Narayan Patel
*
*
MCA NIT Durgapur (Pre final year)
*
*
mob:- 8345847473
*
11 years, 6 months
Re: [forge-dev] testshellconfiguration
by Lincoln Baxter
Hey Stale,
Thanks much! I got things working I think. But take a look at AeshAddonTest. I have implemented a naive wait system so that the test can assert on output, but this isn't idea.
One idea I had was: you could pass some input, and provide a callback that waits for the shell to return a status code for the given command, but I don't think this would be very robust.
I know you had some ideas about how to do shell testing well, so perhaps you can look at what I've done and comment.
Also, it looks like Console never returns the result (there is no way to verify the result) of "readConsoleOutput()" in ConsoleCallback.
Thoughts about this would also be appreciated!
Thanks Stale :) We can sit together on this Monday,
Lincoln
----- Original Message -----
From: "Ståle W. Pedersen" <spederse(a)redhat.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Sent: Friday, May 3, 2013 2:37:31 PM
Subject: testshellconfiguration
hi, i didnt see you on irc and im about to call it a weekend. i tried
your latest changes and from what i can see the TestShellConfiguration
isnt picked up in the AeshAddonTest. i havent managed to see why, but a
sign is that the terminalsettings are not reset when you run the test
with maven. - the terminal will not display any chars until you press
enter.
i think ill have more time on monday to look at f2
have a nice weekend!
ståle
11 years, 6 months