Include Sapphire in JBT 4.40.0.Beta1 target platform?
by Nick Boldt
Hi all,
Here is a proposal for a new 4.40.0.Beta1-SNAPSHOT target platform:
https://github.com/jbosstools/jbosstools-target-platforms/pull/40
It consists in the following changes:
* JBIDE-16665 Add Sapphire to Luna M6-based Target Platform
Please review this PR and yell if there is anything shocking. You can
use the following stuff to try to build build the TP locally and try out
against your component:
Build target-platform:
$ cd jbosstools-target-platforms
$ git fetch nickboldt 4.40.x
$ git checkout FETCH_HEAD
$ cd jbosstools/multiple
$ mvn clean install -P \!multiple2repo
Try with just built target-platform:
$ cd /path/to/your/component
$ mvn clean verify -Dtpc.version=4.40.0.Beta1-SNAPSHOT -Pmultiple.target
Cheers,
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com
10 years, 10 months
ACTION REQUIRED: Does your project contain new uncategorized features since JBT 4.1.0 / JBDS 7.x?
by Nick Boldt
If you have added new features in your master branch, you need to let me
know what they are, so that:
a) they can be properly categorized and aggregated
b) they can be added to the Eclipse Marketplace entry (coming for Beta1)
c) they can be added to the install test job [1], which drives the
creation of the aggregate
---
PLEASE NOTE: if you have new features which are simply *children of
existing features*, like org.jboss.tools.archives.scanner.feature is
included in org.jboss.ide.eclipse.archives.feature, then just make sure
that the parent (containing) feature includes (not depends on, but
INCLUDES) the child [2] and you should be fine. Nothing more to do here.
THEREFORE, if you DO have *new features*, I need to know 4 things:
i) feature name, eg., org.jboss.tools.archives.scanner.feature
ii) category/ies in which should it be included, eg., CoreTools
("Abridged JBoss Tools") or AdditionalTools (everything else).
You can also put a feature into a secondary category to provide extra
"branding", eg., CloudTools, MavenTools, MobileTools. You can see them
here [3], [4], [5].
iii) Should it be included in the Hibernate Tools, Web Tools (JBoss AS
server adapter install site), or Core Tests (test features only) site
too? See [6], [7], [8].
If so, please specify the category/ies in which to include it. A PR
would be ideal, eg., against this file [9].
iv) Should it be included in the Eclipse Marketplace default install?
Normally this done simply by adding it to the CoreTools category.
---
[1]
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-composite...
[2]
https://github.com/jbosstools/jbosstools-server/blob/master/archives/feat...
[3] http://download.jboss.org/jbosstools/updates/nightly/core/master/
[4]
http://download.jboss.org/jbosstools/updates/nightly/core/master/site.pro...
[5]
https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregat...
[6] http://download.jboss.org/jbosstools/updates/nightly/coretests/master/
[7] http://download.jboss.org/jbosstools/updates/nightly/webtools/master/
[8]
http://download.jboss.org/jbosstools/updates/nightly/hibernatetools/master/
[9]
https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregat...
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com
10 years, 10 months
Re: [jbosstools-dev] Tern Console per project + stop button
by Victor Rubezhny
On 03/17/2014 05:07 PM, Angelo zerr wrote:
> Hi Victor,
>
> Just for your information, I have changed the Tern console. Now you
> cannot open it at hand.
> It opens automaticly a tern console per project as soon as tern server
> is called.
>
I hope there still a preference that allows to enable/disable the trace
output to Tern Console.
> And now you have a stop button to stop the tern server of the project.
> It can be useful when you develop a tern plugin to restart the server.
>
> Hope you will like it this new feature.
Yeah, that really helps. Thanks!
> Regards Angelo
10 years, 10 months
ACTION REQUIRED: Please review Target Platform 4.40.0.Beta1-SNAPSHOT (before JBT 4.2.0.Beta1 code freeze)
by Nick Boldt
JBoss Tools Target Platform 4.40.0.Beta1-SNAPSHOT has been created and
is ready for review.
Please take some time before *Wednesday, March 19* to build your master
branch component(s) with this new TP.
If you encounter any issues, please post comments here:
https://issues.jboss.org/browse/JBIDE-16738
Changes
=======
* Luna M6, WTP 3.6M6, birt 4.4.0.v20140311, Jetty 8.1.14 -
https://issues.jboss.org/browse/JBIDE-16738
* egit, mylyn, m2e, m2e-wtp, mavenarchiver are now coming from Luna
instead of separate sites (easier to maintain)
* new sapphire features - https://issues.jboss.org/browse/JBIDE-16665
* Built w/ Tycho 0.20.0
* Other changes: https://issues.jboss.org/browse/JBIDE-16739
Commit details:
https://github.com/jbosstools/jbosstools-target-platforms/commits/4.40.x
Usage
=====
JBoss Tools 4.2.0.Beta1 will be built against the forthcoming target
platform 4.40.0.Beta1.
Master branch jobs in Jenkins are already building against
4.40.0.Beta1-SNAPSHOT.
Stable branch jobs (those with a "4.2.luna" suffix), will be re-enabled
after the *Beta1 code freeze on Thursday, March 20*, and will be set to
use 4.40.0.Beta1.
Parent pom 4.2.0.Beta1-SNAPSHOT on master has been updated to use TP
4.40.0.Beta1-SNAPSHOT.
Download
========
Zip:
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.4...
Update site:
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.4...
Testing/Development
===================
This should be used by default if you're using the latest SNAPSHOT of
parent pom on master, so a simple "mvn clean verify" should be enough to
build against this new target platform.
For other cases, you can try it out and use it directly like this:
$ mvn clean verify -Dtpc.version=4.40.0.Beta1-SNAPSHOT
For other usage and help (using in IDE, building a mirror locally, using
a zip...), please read
https://github.com/jbosstools/jbosstools-devdoc/blob/master/building/targ...
What's next?
============
No later than *Wednesday, March 19* the 4.40.Beta1-SNAPSHOT target
platform will be released into Nexus as 4.40.Beta1, and the github repo
will be tagged:
https://github.com/jbosstools/jbosstools-target-platforms/releases
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com
10 years, 10 months
Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
by Thiago Araki
Hello Van,
With your suggestion I was finally able to connect to my runtime server from Dev Studio.
Continuing with my POC for Petrobras, I was able to crate a JDBC-ODBC connection to my excel file, and even query data from sql-scrapbook (see screenshot below):
But in the next step, which is "Create source model for JDBC data source", I am not able to complete, since there is no table available to be selected (see screenshot sequence below).
In the error log that there is the following warning:
Unexpected exception while calling sun.jdbc.odbc.JdbcOdbcDatabaseMetadata.getProcedures() and processing results on DatabaseNew Generic JDBC
java.sql.SQLException [Microsoft][ODBC Driver Manager] The Driver does not offer support for this function.
I do not have any preference in the approach to integrate the Excel data source (via Dev Studio or creating the vdb.xml file and mannually deploying it). But in both approaches I am facing much more difficulties than with other data sources (web services, flat files and databases).
Thanks,
Thiago
----- Original Message -----
From: "Van Halbert" <vhalbert(a)redhat.com>
To: "Thiago Araki" <taraki(a)redhat.com>
Sent: Thursday, March 13, 2014 9:56:26 PM
Subject: Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
If you're still looking at options, can you try this:
- at command line, run: hostname (to see what its using)
- when you start DV server (standalone.bat), pass it -b hostname
- in JBDS when configuring server, use hostname
Van
----- Original Message -----
From: "Thiago Araki" <taraki(a)redhat.com>
To: "Rob Cernich" <rcernich(a)redhat.com>
Cc: "Robert Stryker" <rstryker(a)redhat.com>, "Max Rydahl Andersen" <max.andersen(a)redhat.com>, sme-dataservicesplatform(a)redhat.com, "jbosstools-dev" <jbosstools-dev(a)lists.jboss.org>, "Ramesh Reddy" <rareddy(a)redhat.com>, "Van Halbert" <vhalbert(a)redhat.com>
Sent: Thursday, March 13, 2014 1:33:57 PM
Subject: Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
Hello all.
All ports match, and from Dev Studio I am able to enter in "Teiid Instance" configuration window and "Test Administration Connection" and "Test JDBC Connection" with success. I am using the same configurations which I am used to with my linux instances, and they work fine all the time.
I tried Van Halbert approach (described in http://teiid.blogspot.com/2013/06/expose-excel-data-as-odata-feed-using.html ), without success:
1. Using the VDB below (copied from the blog), I got the following error: Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.1: Element 'property' must have no character or element information item [children], because the type's content type is empty.
<vdb name= "odbc" version= "1" >
<property name= "UseConnectorMetadata" value= "true" >
<model name= "excel" >
<source connection-jndi-name= "java:/odbcDS" name= "connector" translator-name= "jdbc-simple" >
</model>
</property></vdb>
2. I changed the VDB to the format shown below, and I got the following error: VDB odbc.1 model "excel" metadata failed to load. Reason:TEIID11010 java.sql.SqlException: [Microsoft][ODBC Driver Manager] The driver does not offer support for this function.
<vdb name= "odbc" version= "1" >
<property name= "UseConnectorMetadata" value= "true"/ >
<model name= "excel" >
<source connection-jndi-name= "java:/odbcDS" name= "connector" translator-name= "jdbc-simple"/ >
</model>
</vdb>
I was able to query my Excel data directly using SquirreL SQL client and Microsoft ODBC driver.
In both cases depicted above, I was not able to access OData via browser (http://localhost:8080/odata/odbc/excel.Sheet1). After input my credentials I got another error: HTTP Status 403: Access to the requested resource has been denied .
I attached my excel file. It is very simple (2 columns), and once I get this working I will have to use the one provided by the customer .
Regards,
Thiago Araki
----- Original Message -----
From: "Rob Cernich" <rcernich(a)redhat.com>
To: "Ramesh Reddy" <rareddy(a)redhat.com>
Cc: "Robert Stryker" <rstryker(a)redhat.com>, "Max Rydahl Andersen" <max.andersen(a)redhat.com>, sme-dataservicesplatform(a)redhat.com, "jbosstools-dev" <jbosstools-dev(a)lists.jboss.org>
Sent: Thursday, March 13, 2014 2:34:01 PM
Subject: Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
You might make sure the server configuration in the tools is configured to listen to the management port...and make sure the configured port matches.
----- Original Message -----
> Even that needs a ODBC DSN created for Excel on Windows platform, if you
> already have VDB configured this will work. If you are trying to build
> the VDB and preview while doing so then you will still see below issue.
>
> Ramesh..
>
> On Thu, 2014-03-13 at 09:54 -0400, Van Halbert wrote:
> > Here' a blog by Ramesh:
> > http://teiid.blogspot.com/2013/06/expose-excel-data-as-odata-feed-using.html
> >
> > Maybe this is an option for you.
> >
> > Van
> >
> > ----- Original Message -----
> > From: "Ted Jones" <tejones(a)redhat.com>
> > To: "Thiago Araki" <taraki(a)redhat.com>, "Max Rydahl Andersen"
> > <max.andersen(a)redhat.com>, "Robert Stryker" <rstryker(a)redhat.com>,
> > "jbosstools-dev" <jbosstools-dev(a)lists.jboss.org>
> > Cc: sme-dataservicesplatform(a)redhat.com
> > Sent: Thursday, March 13, 2014 8:53:04 AM
> > Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
> >
> > Adding Max, Rob and jbosstools-dev for their insights...
> >
> > ----- Original Message -----
> >
> > > From: "Thiago Araki" <taraki(a)redhat.com>
> > > To: "Ted Jones" <tejones(a)redhat.com>
> > > Cc: sme-dataservicesplatform(a)redhat.com
> > > Sent: Thursday, March 13, 2014 8:21:11 AM
> > > Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
> >
> > > Hello Ted,
> >
> > > I did not, but I tried now with this option and unfortunately the same
> > > thing
> > > happened.
> >
> > > I am stuck with this problem and my time is running out to deliver this
> > > POC.
> > > The reason I am using a Windows environment is because I need to
> > > integrate
> > > data from an Excel data source, and the only way I found to do it is with
> > > the Microsoft ODBC driver.
> >
> > > Regards,
> >
> > > Thiago
> >
> > > ----- Original Message -----
> >
> > > From: "Ted Jones" <tejones(a)redhat.com>
> > > To: "Thiago Araki" <taraki(a)redhat.com>
> > > Cc: sme-dataservicesplatform(a)redhat.com
> > > Sent: Wednesday, March 12, 2014 6:42:17 PM
> > > Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
> >
> > > Hi Thiago,
> >
> > > When creating your server connection in JBDS, did you check the "Server
> > > is
> > > externally managed. Assume server is started." radio button? I've
> > > attached a
> > > screenshot.
> >
> > > I know this was the way best way to go at one point, so I always do this
> > > now
> > > out of habit.
> > > ----- Original Message -----
> >
> > > > From: "Thiago Araki" <taraki(a)redhat.com>
> > >
> > > > To: sme-dataservicesplatform(a)redhat.com
> > >
> > > > Sent: Wednesday, March 12, 2014 4:27:34 PM
> > >
> > > > Subject: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
> > >
> >
> > > > Hello all,
> > >
> >
> > > > I am having problems with JBoss Dev Studio (with Teiid Designer) 7.1 in
> > > > a
> > > > Windows environment (Windows XP SP3).
> > >
> >
> > > > When I start my Runtime Server via Dev Studio, the server finishes the
> > > > initialization (I can see it in the Console view and and access it via
> > > > JBoss
> > > > EAP web console) but the progress bar keeps the status "starting JBoss
> > > > EAP
> > > > 6
> > > > Server..." and never finishes. Because of this situation, every
> > > > operation
> > > > that needs to sync with my server, for instance, Preview Data, gets
> > > > queued
> > > > and never executes.
> > >
> >
> > > > If I manually start JBoss EAP 6 outside Dev Studio, them try to connect
> > > > via
> > > > Server View (acknowledging the server is already started), the problem
> > > > is
> > > > that the progress bar stays in "Performing pre-launch check..." status
> > > > forever, and I also cannot interact with my server from my project.
> > >
> >
> > > > In both cases I am able to enter in "Teiid Instance" configuration
> > > > window
> > > > and
> > > > "Test Administration Connection" and "Test JDBC Connection" with
> > > > success.
> > >
> >
> > > > It seems to me that something is being incorrectly locked in the plugin
> > > > that
> > > > integrates Dev Studio and JBoss EAP for this situation.
> > >
> >
> > > > I tried both Oracle JDK 1.6 and 1.7 with the same results. I have
> > > > already
> > > > re-installed both JBoss EAP and Dev Studio (including version 7.0) and
> > > > every
> > > > time this behavior occurs.
> > >
> >
> > > > In my Linux machine this problem never happens.
> > >
> >
> > > > Can anybody help me?
> > >
> >
> > > > Thanks,
> > >
> >
> > > > Thiago Araki
> > >
> >
>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
10 years, 10 months
Re: [jbosstools-dev] ACTION REQUIRED :: Please test building your JBT 4.2.0.Beta1 component with Tycho 0.20.0
by Nick Boldt
Tycho 0.20 is now released, so to test it you need to simply build like
this - no additional configuration should be needed:
mvn clean install -DtychoVersion=0.20.0
Details on what's new:
http://wiki.eclipse.org/Tycho/Release_Notes/0.20
Unless someone finds a reason to NOT move up, I'll push 0.20.0 into the
parent pom & root pom for the target platform builds so everyone can use
it by default next week as part of the code freeze for Beta1.
If you have tested named **/Abstract*Test.class or
**/Abstract*TestCase.class please see the release notes above for how
your test execution will change after moving to 0.20.
Cheers,
Nick
On 03/11/2014 11:22 AM, Nick Boldt wrote:
> Tycho 0.20.0 is being staged currently at Eclipse for release shortly.
>
> Therefore, it's time for you to test-build your component with the new
> version, as we'll hopefully be adopting it for JBT 4.2.0.Beta1 (code
> freeze is March 20, by the way).
>
> Here's how to add the staging repo to the 4.2.0.Beta1 parent pom (or
> your root pom, if you prefer):
>
> https://github.com/nickboldt/jbosstools-build/commit/d5697b8cb57f0d355a0e...
>
>
> * If you apply the above commit locally, be sure that your root pom
> references the CORRECT VERSION of the parent pom (4.2.0.Beta1-SNAPSHOT,
> not 4.2.0.Alpha2-SNAPSHOT), and that you've built the parent pom locally.
>
> * If you add the staging <pluginRepository> to your own root pom to try
> it out, be sure to also set -DtychoVersion=0.20.0 via the commandline
> when building.
>
>
> Should you encounter any problems with Tycho 0.20.0, please report it here:
>
> https://issues.jboss.org/browse/JBIDE-16737
>
>
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com
10 years, 10 months
Managing multiple versions of a spec in a plugin
by Xavier Coulon
Hello,
I'm about to start working on support for JAX-RS 2.0 in JBoss Tools, and I was wondering if anyone had previous experience with dealing with multiple versions of a spec in Eclipse plugins.
Would you recommend splitting the support in several plugins (1 plugin per version) or all in one ?
In any case, how do you handle validation for a given version of a specification, for example (amongst other concerns) ?
All input is welcome ;-)
Thanks in advance.
Best regards,
/Xavier
10 years, 10 months
Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
by Ted Jones
Adding Max, Rob and jbosstools-dev for their insights...
----- Original Message -----
> From: "Thiago Araki" <taraki(a)redhat.com>
> To: "Ted Jones" <tejones(a)redhat.com>
> Cc: sme-dataservicesplatform(a)redhat.com
> Sent: Thursday, March 13, 2014 8:21:11 AM
> Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
> Hello Ted,
> I did not, but I tried now with this option and unfortunately the same thing
> happened.
> I am stuck with this problem and my time is running out to deliver this POC.
> The reason I am using a Windows environment is because I need to integrate
> data from an Excel data source, and the only way I found to do it is with
> the Microsoft ODBC driver.
> Regards,
> Thiago
> ----- Original Message -----
> From: "Ted Jones" <tejones(a)redhat.com>
> To: "Thiago Araki" <taraki(a)redhat.com>
> Cc: sme-dataservicesplatform(a)redhat.com
> Sent: Wednesday, March 12, 2014 6:42:17 PM
> Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
> Hi Thiago,
> When creating your server connection in JBDS, did you check the "Server is
> externally managed. Assume server is started." radio button? I've attached a
> screenshot.
> I know this was the way best way to go at one point, so I always do this now
> out of habit.
> ----- Original Message -----
> > From: "Thiago Araki" <taraki(a)redhat.com>
>
> > To: sme-dataservicesplatform(a)redhat.com
>
> > Sent: Wednesday, March 12, 2014 4:27:34 PM
>
> > Subject: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3
>
> > Hello all,
>
> > I am having problems with JBoss Dev Studio (with Teiid Designer) 7.1 in a
> > Windows environment (Windows XP SP3).
>
> > When I start my Runtime Server via Dev Studio, the server finishes the
> > initialization (I can see it in the Console view and and access it via
> > JBoss
> > EAP web console) but the progress bar keeps the status "starting JBoss EAP
> > 6
> > Server..." and never finishes. Because of this situation, every operation
> > that needs to sync with my server, for instance, Preview Data, gets queued
> > and never executes.
>
> > If I manually start JBoss EAP 6 outside Dev Studio, them try to connect via
> > Server View (acknowledging the server is already started), the problem is
> > that the progress bar stays in "Performing pre-launch check..." status
> > forever, and I also cannot interact with my server from my project.
>
> > In both cases I am able to enter in "Teiid Instance" configuration window
> > and
> > "Test Administration Connection" and "Test JDBC Connection" with success.
>
> > It seems to me that something is being incorrectly locked in the plugin
> > that
> > integrates Dev Studio and JBoss EAP for this situation.
>
> > I tried both Oracle JDK 1.6 and 1.7 with the same results. I have already
> > re-installed both JBoss EAP and Dev Studio (including version 7.0) and
> > every
> > time this behavior occurs.
>
> > In my Linux machine this problem never happens.
>
> > Can anybody help me?
>
> > Thanks,
>
> > Thiago Araki
>
10 years, 10 months