Jay Jarman | 9 Feb 17:22
Favicon

Creating PEAR Files

I have a component I have created and need to create a PEAR in order to deploy
it to some other people.  This component basically wraps a Java component.  I
want to deploy the Java component's JAR file with the PEAR so I put the JAR in
the lib directory of my UIMA component.  I have added the UIMA nature (using
eclipse) like the directions say.  When I generate the PEAR file it doesn't
include the JAR file.  I can see the JAR file in the directory using Windows
Explorer but I can't see the JAR file in the directory in Eclipse.  How do I add
a JAR file to PEAR?  Do I need to use Eclipse somehow to add the JAR to the lib
directory rather than Windows Explorer?

Marshall Schor | 9 Feb 19:24

Re: Creating PEAR Files


Jay Jarman wrote:
> I have a component I have created and need to create a PEAR in order to deploy
> it to some other people.  This component basically wraps a Java component.  I
> want to deploy the Java component's JAR file with the PEAR so I put the JAR in
> the lib directory of my UIMA component.  I have added the UIMA nature (using
> eclipse) like the directions say.  When I generate the PEAR file it doesn't
> include the JAR file.  

Do you mean, the generated PEAR file, after you "install" it (which
unzips it), does not have the Jar in the <install-directory>/lib/ ?
> I can see the JAR file in the directory using Windows
> Explorer

Which directory do you see it in? 

-Marshall
>  but I can't see the JAR file in the directory in Eclipse.  How do I add
> a JAR file to PEAR?  Do I need to use Eclipse somehow to add the JAR to the lib
> directory rather than Windows Explorer?
>
>
>
>   

Jay Jarman | 9 Feb 22:28
Favicon

Re: Creating PEAR Files

> 
> Do you mean, the generated PEAR file, after you "install" it (which
> unzips it), does not have the Jar in the <install-directory>/lib/ ?

That's exactly what I mean.  The lib directory isn't created by the PEAR process.

> > I can see the JAR file in the directory using Windows
> > Explorer
> 
> Which directory do you see it in? 

When I use Windows Explorer, it is in the lib directory 

Jay

Pablo Duboue | 9 Feb 22:38
Picon

Re: Creating PEAR Files

Have you tried refreshing the folder from within eclipse? (F5 keybinding)

Tommaso Teofili | 6 Feb 10:20
Picon
Gravatar

going to Maven central

Hi all,
since we are talking about graduation I think that another thing we need to
leverage is the availability of UIMA packages on Maven central.
As far as I know there some constraints we should respect to reach this, for
example being independent from other external repos.
What do you think?
Cheers.
Tommaso
Marshall Schor | 7 Feb 05:37

Re: going to Maven central


Tommaso Teofili wrote:

> Hi all, > since we are talking about graduation I think that another thing we need to > leverage is the availability of UIMA packages on Maven central. > As far as I know there some constraints we should respect to reach this, for > example being independent from other external repos. > What do you think? >
I am in favor of updating things to better follow Maven conventions and constraints. Can you say more specifically what needs changing? Do our POMs currently have dependencies to other external repos? -Marshall
Tommaso Teofili | 9 Feb 15:25
Picon
Gravatar

Re: going to Maven central

For the common practices to upload an artifact to Maven Central:
http://maven.apache.org/guides/mini/guide-central-repository-upload.html

I read that our Apache repo gets synchronized with Central so we hopefully
only need to deploy it on our repo and it will automatically will get to
Central.
However I don't know if the

http://people.apache.org/repo/m2-incubating-repository/

is considered external or not (it's said to be accepted as synced but if
everything outside Central is considered external the answer is yes) though
I wonder if that repo can stay inside the POM.

Cheers.
Tommaso

2010/2/7 Marshall Schor <msa@...>


> > > Tommaso Teofili wrote: > > Hi all, > > since we are talking about graduation I think that another thing we need > to > > leverage is the availability of UIMA packages on Maven central. > > As far as I know there some constraints we should respect to reach this, > for > > example being independent from other external repos. > > What do you think? > > > > I am in favor of updating things to better follow Maven conventions and > constraints. > Can you say more specifically what needs changing? > Do our POMs currently have dependencies to other external repos? > > -Marshall >
Jukka Zitting | 9 Feb 17:47
Picon
Gravatar

Re: going to Maven central

Hi,

On Tue, Feb 9, 2010 at 3:25 PM, Tommaso Teofili
<tommaso.teofili@...> wrote:
> I read that our Apache repo gets synchronized with Central so we hopefully
> only need to deploy it on our repo and it will automatically will get to
> Central.

Yep, you can either use
http://people.apache.org/repo/m2-ibiblio-rsync-repository/ or the new
Nexus repository server at https://repository.apache.org/. The
repository server is quite handy for Maven-based projects, but
starting to use it requires some work.

> However I don't know if the
>
> http://people.apache.org/repo/m2-incubating-repository/
>
> is considered external or not (it's said to be accepted as synced but if
> everything outside Central is considered external the answer is yes) though
> I wonder if that repo can stay inside the POM.

It's an external repository, but nowadays also incubating projects can
deploy their releases to Maven central, so there shouldn't be much
need to keep using m2-incubating-repository.

BR,

Jukka Zitting

Adam Lally (JIRA | 4 Feb 20:12
Picon
Favicon

[jira] Created: (UIMA-1735) Javadoc Link on Website is Broken

Javadoc Link on Website is Broken
---------------------------------

                 Key: UIMA-1735
                 URL: https://issues.apache.org/jira/browse/UIMA-1735
             Project: UIMA
          Issue Type: Bug
          Components: Website
            Reporter: Adam Lally

The "Javadoc Online" link from http://incubator.apache.org/uima/documentation.html seems to be
broken.  

It points at:
http://incubator.apache.org/uima/downloads/releaseDocs/2.3.0-incubating/docs/api/index.html,
but I get a 404 Not Found error for that URL.

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Tong Fin (JIRA | 4 Feb 19:04
Picon
Favicon

[jira] Created: (UIMA-1734) UIMA-AS Deployment Descriptor doesn't work with Eclipse 3.4.2

UIMA-AS Deployment Descriptor doesn't work with Eclipse 3.4.2
-------------------------------------------------------------

                 Key: UIMA-1734
                 URL: https://issues.apache.org/jira/browse/UIMA-1734
             Project: UIMA
          Issue Type: Bug
          Components: Eclipse plugins
    Affects Versions: 2.3
            Reporter: Tong Fin
            Assignee: Tong Fin

There is a problem when running DDE in Eclipse 3.4.2:

3.4.2 Linux - fail
3.4.2 Windows - fail
3.5.1 Linux OK
3.5.1 Windows OK
3.3.2 Windows OK

Look like there are some images used by the form are missing.
These images are belong to some plugins that might not be the same for Eclipse 3.4.2 and 3.5.x.

---- Stack Trace -------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.ui.workbench.texteditor 4 0 2010-02-04 09:07:23.657
!MESSAGE The
'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector' extension
from plug-in 'org.eclipse.wst.jsdt.web.ui' to the
'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored
because it contains invalid attributes.

!ENTRY org.eclipse.ui.workbench.texteditor 4 0 2010-02-04 09:07:23.657
!MESSAGE The
'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector'
extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the
'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored
because it contains invalid attributes.

!ENTRY org.eclipse.ui 4 0 2010-02-04 09:07:46.388
!MESSAGE Unable to create editor ID taeconfigurator.editors.MultiPageEditor: An unexpected
exception was thrown.
!STACK 0
java.lang.NullPointerException
   at org.eclipse.ui.internal.forms.widgets.FormImages$ImageIdentifier.hashCode(FormImages.java:69)
   at org.eclipse.ui.internal.forms.widgets.FormImages$ComplexImageIdentifier.hashCode(FormImages.java:138)
   at java.util.HashMap.get(HashMap.java:300)
   at org.eclipse.ui.internal.forms.widgets.FormImages.getGradient(FormImages.java:187)
   at org.eclipse.ui.internal.forms.widgets.FormHeading.updateGradientImage(FormHeading.java:868)
   at org.eclipse.ui.internal.forms.widgets.FormHeading.setTextBackground(FormHeading.java:718)
   at org.eclipse.ui.forms.widgets.Form.setTextBackground(Form.java:315)
   at org.apache.uima.dde.internal.page.OverviewPage.createFormContent(OverviewPage.java:375)
   at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:151)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:149)
   at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:488)
   at org.apache.uima.taeconfigurator.editors.MultiPageEditor.pageChangeSuper(MultiPageEditor.java:615)
   at org.apache.uima.dde.internal.DeploymentDescriptorEditor.pageChangeForCurrentEditor(DeploymentDescriptorEditor.java:308)
   at org.apache.uima.taeconfigurator.editors.MultiPageEditor.pageChange(MultiPageEditor.java:1118)
   at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973)
   at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:623)
   at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314)
   at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
   at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
   at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
   at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
   at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
   at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:337)
   at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:325)
   at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:187)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Picon
Favicon

[jira] Created: (UIMA-1733) Import AlchemyAPI Annotator code inside the Sandbox

Import AlchemyAPI Annotator code inside the Sandbox
---------------------------------------------------

                 Key: UIMA-1733
                 URL: https://issues.apache.org/jira/browse/UIMA-1733
             Project: UIMA
          Issue Type: Task
          Components: Sandbox
            Reporter: Tommaso Teofili
            Assignee: Tommaso Teofili

Once the SGA has been recorded we can start importing the code

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Gmane