Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6936709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:16:07+00:00 2026-05-27T12:16:07+00:00

I have written a nice plugin, which incoporates some generated java sources. I can

  • 0

I have written a nice plugin, which incoporates some generated java sources.

I can build the project just fine.
I can run it in a run configuration that launches another eclipse and it works to my liking.

So I thought: time to make it install-able.

Hence I created a feature project and an update site project, and build and export that and it looks like it works fine. I can even “Install” it from my update site, or export the plugin directly in the running workbench. I see that it is installed but if I try to open a file that would activate my plugin, it throws exceptions. Specifically, it tells me there are “unresolved compilation problems”.

After long searching, rebuilding (no errors), retesting again and again I find a logs.zip file, with a directory whose name resembles that of my plugin and therein a 54k file (mind you, it’s 2011 and disk space is extremely scarce, obviously) with the funny name @dot.log. How desperate one must be to look in such a file?! But, surprise, surprise, it turns out there are 54k error messages like the following:

# 02.12.11 19:58:55 MEZ
# Eclipse Compiler for Java(TM) 0.B76_R37x, 3.7.1, Copyright IBM Corp 2000, 2011. All rights reserved.
----------
1. ERROR in X:\dev\frege\FregIDE\src\frege\IO.java (at line 1451)
final public static Consts ij = new Consts();
                            ^
Syntax error on token "Invalid Character", delete this token

The “Invalid Characters” are, of course, perfectly legal java identifier characters, it’s just that they are not ASCII letters. This is why I have all files set to UTF-8, have set UTF-8 as default encoding, and as said before, with normal build it works perfectly.

Is there a way to prevent eclipse from recompiling everything when I export the update site, the feature or the plugin. This is what I would prefer most as everything is already compiled and recompilation takes another minute or so. (There is even a flag “Use class files compiled in the workspace.” but it seems to do nothing – it just recompiles.)

Alternative: Can I somehow modify the script it uses to build that? I can’t find the ant script he uses to build. If I could look up the javac step and put encoding UTF-8 there (that is what I expect to be the problem.)
There is an “Save as Ant script” checkbox, but the Ant file does only contain:

<?xml version="1.0" encoding="UTF-8"?>
<project default="feature_export" name="build">
<target name="feature_export">
    <pde.exportFeatures destination="x:\dev\frege\FregeUpdateSite"
                                exportSource="false" exportType="directory" 
                                features="FregeFeature" useJARFormat="true"/>
</target>
</project>

How can I make eclipse use the correct settings for the compile build if I can’t prevent it from compiling?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:16:08+00:00Added an answer on May 27, 2026 at 12:16 pm

    If you are using the “pde.exportFeatures” task to export from a workspace, then I believe there is an attribute “useWorkspaceCompiledClasses” to use the binaries from the workspace. This is equivalent to the check box in the export wizard.

    Note that the pde.exportFeatures task is an export from the UI and is different from a headless PDE/Build. The properties that Francis refers to are for headless PDE/Build. During an export, PDE/UI manages these for you and you can’t change them.

    The plug-in and feature specific properties will affect the UI export as well as the headless build. (I got the link incorrect in my comment on Francis’ answer).

    I would recommend setting the encoding in the plugin’s build.properties file instead of reusing the workspace binaries. I would also suggest setting up a real PDE/Build headless build instead of the export from UI task.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just written some code, which as i was writing i thought, this
I often have to debug Java code which was written so that there is
I have written a nice program in Java that connects to a gmail account
Have a nice day! How to use NPAPI plugin written on C++ in Windows
I have written some code which checks a site for broken links using the
I have written some code in my VB.NET application to send an HTML e-mail
I have written a ruby script which opens up dlink admin page in firefox
I have written an AppleScript which when supplied with a Windows network link, will
I have written a stupid little game and want to have some kind of
I have written an A* that works nice. It gives me the shortest path

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.