Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 287732] New: Unable to build org.eclipse.tm.tcf using headless build

https://bugs.eclipse.org/bugs/show_bug.cgi?id=287732  
Product/Component: Target Management / TCF
           Summary: Unable to build org.eclipse.tm.tcf using headless build
           Product: Target Management
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: TCF
        AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
        ReportedBy: warren.paul@xxxxxxxxx
         QAContact: martin.oberhuber@xxxxxxxxxxxxx


We're trying to add tcf to our automated builds but are getting errors that the
classes in org.eclipse.tm.tcf.core that are referenced from org.eclipse.tm.tcf
cannot be found.  They build fine from the workspace though.  After doing some
digging, it builds from the workspace because org.eclipse.tm.tcf has a project
dependency on org.eclipse.tm.tcf.core, and has the line

extra.. = ../org.eclipse.tm.tcf.core/bin

in the build.properties file.

I believe this works in the workspace because all plugins/fragments are built,
so the class files in the fragment are found.  It doesn't work headless though
because org.eclipse.tm.tcf.core doesn't get built before org.eclipse.tm.tcf
because there's no real dependency on it.

I thought maybe I could remove the project dependency and just import the
packages from the fragment, but they are not resolved, even in the workspace. 
That happens because it's a fragment and not a regular plugin.  My
understanding is that fragments extend a plugin, but plugins are not meant to
reference anything from the fragment itself like org.eclipse.tm.tcf does from
org.eclipse.tm.tcf.core.

I guess this was caused by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=273078, and one side effect of it
was https://bugs.eclipse.org/bugs/show_bug.cgi?id=276281.  We need to be able
to build it headless, and at some point it will be released on eclipse.org, so
it will need to be built headless for that as well.

My thought is that org.eclipse.tm.tcf.core should not be a fragment, but I'm
not sure the best solution so I opened this to hopefully start some discussion.


-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top