[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tigerstripe-users] RE: Tigerstripe 2.2.1: [TSGenerate] ERROR [main] (TigerstripeTask.java:85) - A JDK is required to run headless
|
Just found an Exception in the command line window which might be
causing (?) issue number 2 I described below about id/name and filename:
[INFO] Exception in thread "Java indexing" java.lang.InternalError:
jzentry == 0,
[INFO] jzfile = 8970656,
[INFO] total = 335,
[INFO] name =
C:\devapp\eclipse\plugins\org.eclipse.tigerstripe.workbench.base_0.3.0.v
200806301337_incubation\ts-external-api.zip,
[INFO] i = 78,
[INFO] message = couldn't read name
[INFO] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
[INFO] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
[INFO] at
org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(
AddJarFileToIndex.java:193)
[INFO] at
org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManage
r.java:392)
[INFO] at java.lang.Thread.run(Thread.java:595)
[INFO] Tigerstripe Workbench Base Plug-in (Incubation)
(v0.3.0.v200806301337_incubation)
[INFO] Active Profile: ossjProfile 1.0
[INFO] org.eclipse.core.internal.resources.ResourceException: Invalid
project description.
[INFO] at
org.eclipse.core.internal.resources.Project.checkDescription(Project.jav
a:124)
[INFO] at
org.eclipse.core.internal.resources.Project.create(Project.java:227)
[INFO] at
org.eclipse.tigerstripe.workbench.headless.Tigerstripe$1.run(Tigerstripe
.java:119)
[INFO] at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
[INFO] at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)
[INFO] at
org.eclipse.tigerstripe.workbench.headless.Tigerstripe.importProjectToWo
rkspace(Tigerstripe.java:131)
[INFO] at
org.eclipse.tigerstripe.workbench.headless.Tigerstripe.initializeWorkspa
ce(Tigerstripe.java:92)
[INFO] at
org.eclipse.tigerstripe.workbench.headless.Tigerstripe.start(Tigerstripe
.java:54)
[INFO] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j
ava:169)
[INFO] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:106)
[INFO] [INFO] Imported
T:/ossj-troubleticket-x790/tt_1.2_x790-1.0/spec/x790_ext_spec_model into
workspace.
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.java:76)
[INFO] [INFO] Generation project:
T:/ossj-troubleticket-x790/tt_1.2_x790-1.0/spec/x790_ext_spec_model
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
363)
[INFO] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
176)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[INFO] at java.lang.reflect.Method.invoke(Method.java:585)
[INFO] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
[INFO] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
Seems to me there might be a different profile (wbp) file required
(tried
https://jsr144-public.dev.java.net/source/browse/*checkout*/jsr144-publi
c/common-1_5/soa_enablement_profile.wbp?rev=1.1 and
https://jsr144-private.dev.java.net/source/browse/*checkout*/jsr144-priv
ate/tools/tigerstripe3.3/xml_specification_plugin/ossjProfile.wbp?rev=1.
1).
You might also consider to add the answer to this at
http://wiki.eclipse.org/Tigerstripe_OSSJ#OSSJ_Specifics_and_Tigerstripe_
Profiles and/or http://wiki.eclipse.org/Tigerstripe_Profile_Tutorial
Thanks
Roman
>-----Original Message-----
>From: Schlegel Roman
>Sent: Mittwoch, 2. Juli 2008 13:47
>To: 'tigerstripe-users@xxxxxxxxxxx'
>Cc: 'aplutino@xxxxxxxxxxx'; Klaus, Christian; 'boger@xxxxxxxxxxx'
>Subject: Tigerstripe 2.2.1: [TSGenerate] ERROR [main]
>(TigerstripeTask.java:85) - A JDK is required to run headless
>
>Hi All
>
>I have a project which was using the commercial version 2.2.1 of
>Tigerstripe and I'd like to reproduce the Maven result. When trying to
>generate with Maven I am facing several issues:
>
>(1). Tried to use the only commercial Version I have left on my machine
>(2.2.4) -> Maven produces the following error:
>[TSGenerate] ERROR [main] (TigerstripeTask.java:85) - A JDK is required
>to run headless. You are running a JRE, please install a JDK.
>
>With this in the pom:
> <version>1.0</version>
> <packaging>tigerstripe-application</packaging>
>
> <build>
> <sourceDirectory>target/tigerstripe.gen</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.tt.x790</groupId>
> <artifactId>maven-tigerstripe-plugin</artifactId>
> <extensions>true</extensions>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> </plugin>
> </plugins>
> </build>
>
>
>
>(2). Next try was using the open source Version 0.3M2 with the
>instructions provided at
>http://wiki.eclipse.org/Tigerstripe_Headless_Generation_Tutorial#Runnin
g
>_a_Generation_from_a_Maven2_Build
>This seems to work quite well after configuring (from scratch) the new
>OSSJ XML plugin (https://jsr144-
>private.dev.java.net/source/browse/jsr144-
>private/tools/tigerstripe3.3/xml_specification_plugin).
>But: the xsd filename and namespace equals the Project ID even though I
>used ${name} or ${project.Name} -> Not sure if this is a problem of the
>XML plugin or of Tigerstripe.
>
>
>(3). Tried to update to 0.3_incubation release using the update manager
>-> Error Message: "An exception occurred while downloading feature from
>"http://download.eclipse.org/technology/tigerstripe/updates/features/or
g
>.eclipse.tigerstripe.base_0.3.0.v200806301337_incubation-
>07MCaZVEHsEkQF@xxxxxxxxxxxxxxxx"
>
>Next thing is probably trying to download and install the workbench
>manually. (But honestly, I suspect it won't resolve the above
issues...)
>
>Thanks for your hints.
>
>Regards
>Roman