Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] What's the use of task <modifiedMaps> in EclipseBuilder?


To be clear, this is not a function in pde build itself but rather in the org.eclipse.releng.basebuilder project which is maintained by the platform team for their builds.  Other teams also use this project but there are no guarantees that it will remain consistent in functionality (no api contract)

The function of this task is to compare the current version of a map file project in cvs with the one from the last build which we store in on properties file on our build server.

Do you have a properties file with the cvs tag used in the previous version?  For instance, our latest ${mapTag.properties) looks like this

bash-3.00$ cat mapTag.properties

       lastMapTag=I20061129-1340


modifiedMaps refers to org.eclipse.releng.CvsDiffParser in org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools.  See the plugin.xml for org.eclipse.releng.build.tools.
We rtag our map file project with each integration build to allow us to compare the map file project between builds.  This allows us to see the projects that have submitted  code (updated their map files) since the last i-build and cancel a build if the map files haven't changed.

The org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/Mailer.java sends mail messages to notify of build events.  However, it requires javax.mail which is included in j2ee.jar. We don't have j2ee.jar on the open source project because it was not a file we could open source as it is part of the vm.  We store in on an internal server and check it out during our builds, you could do the same. This make be the cause of your NoClassDefFoundError.

KIm




"Xiaoying Gu" <xgu@xxxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx

11/30/2006 03:32 AM

Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>

To
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
cc
Subject
[pde-build-dev] What's the use of task <modifiedMaps> in        EclipseBuilder?





Hi,
 
I’m trying the compareMapFiles target in EclipseBuilder.
    <target name="compareMapFiles" if="compareMaps">
       <property file="${mapTag.properties}"/>
       <property name="cvsDiffFile" value="${buildDirectory}/cvsDiff.txt" />
       <cvs cvsRoot="${mapCvsRoot}" dest="${buildDirectory}/maps" command="diff -w -r ${lastMapTag}" output="${cvsDiffFile}" />
       <modifiedMaps mapDiffFile="${cvsDiffFile}" />

    </target>
But seems it failed in step <modifiedMaps mapDiffFile="${cvsDiffFile}" />
with error msg:
/home/adb/farrah/BaseBuilder/plugins/org.eclipse.pde.build/scripts/build.xml:38: The following error occurred while executing this line:
/home/adb/farrah/BIRTBuilder/eclipse/buildConfigs/birt/customTargets.xml:50: The following error occurred while executing this line:
java.lang.NoClassDefFoundError: javax/mail/MessagingException

 
What’s the use of task <modifiedMaps > ?
 
Thanks,
Xiaoying Gu
 _______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev


Back to the top