Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [babel-dev] Another snag importing 3.2 translations


Not sure if you could write scripts to do that, you maybe able to find some info about the source folders by peeking into the .classpath file, like this one for org.eclipse.ant.ui:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
                <classpathentry kind="src" path="Ant Tools Support"/>
                <classpathentry output="ant_runner_support_bin" kind="src" path="Ant Runner Support"/>
                <classpathentry kind="src" path="Ant Editor"/>
                <classpathentry output="remote_support_bin" kind="src" path="Remote Ant Support"/>
                <classpathentry output="common_ant_support_bin" kind="src" path="Common Ant Support"/>
                <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
                <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
                <classpathentry kind="output" path="bin"/>
</classpath>

Kit Lo
IBM Eclipse SDK Globalization Technical Lead
Eclipse Babel Project Co-lead



Denis Roy <denis.roy@xxxxxxxxxxx>
Sent by: babel-dev-bounces@xxxxxxxxxxx

02/26/2008 01:31 PM

Please respond to
Babel committers mailing list <babel-dev@xxxxxxxxxxx>

To
Babel committers mailing list <babel-dev@xxxxxxxxxxx>
cc
Subject
[babel-dev] Another snag importing 3.2 translations





I've hit another snag while importing the Eclipse 3.2 translations.  
This is closely related to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=219091

When the maps processor runs, it crawls CVS and extracts .properties
files in the source.  This leads to files like this:

org.eclipse.ant.ui/src/org/eclipse/ant/internal/ui/AntUIModelMessages.properties
org.eclipse.ant.ui/Ant Editor/org/eclipse/ant/internal/ui/AnotherProperties.properties



Kit, your translation package does not seem to have the "src" folder, so
many, many files don't line up. In Bug 219091, you wonder if the src
folder is needed.

org.eclipse.ant.ui/org/eclipse/ant/internal/ui/AntUIModelMessages.properties
org.eclipse.ant.ui/org/eclipse/ant/internal/ui/AnotherProperties.properties


I'm not sure what the correct answer is.  How do I programatically
remove the "src" folder from the name from CVS, when it's sometimes
called "src" and other times anything else?  Is it always the second
level of folders?  Is it always the first sub-folder after the plugin
name?  For each and every Eclipse project, not just Eclipse itself?

Also, when building the update site, I believe the src folder is
currently being retained.  Is that OK?  Or is Eclipse not finding what
it needs?

As it stands, it's much easier for me to simply "guess" the correct
filename when importing the 3.2 translations instead of removing the src
folder from the current list, but if the language packs need the src
folder removed, then I'll remove them.

Thanks for your help,

Denis






--
Denis Roy
Manager, IT Infrastructure
Eclipse Foundation, Inc.  --  http://www.eclipse.org/
Office: 613.224.9461 x224 (Eastern time)
Cell: 819.210.6481
denis.roy@xxxxxxxxxxx

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


Back to the top