Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] How to exclude source code from the build


The "src.excludes" property is about copying other files to the source bundles.
Currently we just pass the source folders directly to the javac task, there is no way to exclude files that are in there.

The only way to do this now would be to move them to a different source folder.  Or perhaps use customCallbacks.xml to rename/move/delete them in a pre.compile step, (and perhaps restore them post compile).

This is https://bugs.eclipse.org/bugs/show_bug.cgi?id=105631

-Andrew


From: Darin Wright/Ottawa/IBM@IBMCA
To: "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Date: 08/25/2009 11:50 AM
Subject: Re: [pde-dev] How to exclude source code from the build
Sent by: pde-dev-bounces@xxxxxxxxxxx





Have you tried using the "src.excludes" property?

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/reference/pde_feature_generating_build.htm

Darin



From:
Mark Russell <mark_russell@xxxxxxxxxxxxxxxxxx>
To:
"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Date:
08/24/2009 08:37 AM
Subject:
[pde-dev] How to exclude source code from the build
Sent by:
pde-dev-bounces@xxxxxxxxxxx



I have some code that I inherited.  It has part of a Java source tree that
the should not be compiled.  In the project
configuration under the source tab I have added an exclude section to the
source folder.  It will run fine in the IDE.

However, once I try to build it under headless PDE build the build tries
to compile the code that is excluded.

I have looked through the help and tried several different exclude
parameters to do this.  None of them seem to work.

Can anyone help me setup the PDE build so I can exclude this section of
code that needs to be delivered with the plugin but can
not be compiled?

Please let me know if more information is needed.

--
Mark Russell
Build Master
Instantiations, Inc.
+1 724-368-3331 (land line)
http://www.instantiations.com
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev



_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev



Back to the top