There is NO issue with Eclipse 3.3.2. The MANIFEST.MF is formatted properly.
- Tong On Fri, Feb 22, 2008 at 5:53 PM, Tong Fin <[EMAIL PROTECTED]> wrote: > I am using Eclipse 3.2.2. > > I will try with Eclipse 3.3. > > I got an error showing "The line is too long" when I hover over the red > dot in Exported Package. > > > On Fri, Feb 22, 2008 at 5:35 PM, Marshall Schor <[EMAIL PROTECTED]> wrote: > > > Tong Fin wrote: > > > Hi Marshall, > > > I put my comments in-line. > > > > > > Overall, the approach looks good to me. > > > > > > -- Tong > > > > > > On Fri, Feb 22, 2008 at 4:21 PM, Marshall Schor (JIRA) < > > > [email protected]> wrote: > > > > > > > > >> [ > > >> > > https://issues.apache.org/jira/browse/UIMA-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571601#action_12571601 > > ] > > >> > > >> Marshall Schor commented on UIMA-816: > > >> ------------------------------------- > > >> > > >> > > >>> The current approach is to have development edit manifest > > information in > > >>> > > >> only one place, and have that work for both maven and Eclipse > > building. > > >> > > > > > > > > > It's good. > > > > > > > > > > > >>> That place is the maven POM for the component. > > >>> > > > > > > Because of the visual editing capability of Manifest editor, I feel > > more > > > comfortable with edting manifest.mf file. Maybe, we don't have other > > > choices. > > > > > > > > >> > > >>> The maven "build" operation will then generate the manifest needed > > by > > >>> > > >> Eclipse, and it will observe the line length restrictions, I think. > > >> > > > > > > > > > It did (the max chars is about 70). > > > > > > > > > > > >>> When I look at the "Export-Package" section generated by maven > > build, I > > >>> > > >> do not see any long lines; when the data is long, the maven build is > > >> splitting the line into multiple lines. > > >> > > > > > > > > > The generated manifest.mf does NOT create another problem if we "view" > > the > > > file. It is perfectly showed in the form-based editor. > > > > > > > > > > > >>> Can you say how you are generating the manifest file with the long > > >>> > > >> lines? > > >> > > > > > > > > > To see the issue, edit something and "save" (for. e.g., remove some > > package > > > from Export) . > > > Please try with uimaj-ep-runtime plug-in as follows: > > > 0. Open plugin.xml > > > 1. Remove "example" from Exported Pakage in "Runtime" tab > > > 2. Go to source of MANIFEST.MF. Eclipse does some formattings. No > > error yet > > > ! > > > 3. Save the file. Go to source of MANIFEST.MF. There is a "red" dot > > at the > > > first line that has lenght more than 512 (is there any magic number > > here ?). > > > > > I did this. I found just 1 "red dot" after I did step 3, and it was on > > the line that starts "Import-Package:". When I hover over that red dot, > > the error message that comes up is that no package exports "example" - > > (since we deleted that). If I put example back, using the editor, the > > red dot goes away (there is an orange warning triangle there, saying > > that log4j is not exported by any bundle, but that's just a warning, > > because log4j is marked as "optional"). > > > > Do you get a message about too long a line length when you hover over > > this? Maybe there is some issue with the particular version of Eclipse > > you are using? My testing is with 3.3.0. > > > > -Marshall > > > >
