From Fedora Project Wiki

Line 3: Line 3:
: you need to add your own string, then externalize the string.
: you need to add your own string, then externalize the string.
<pre>
<pre>
    public class projectNewWizard extends Wizard implements INewWizard {
public class projectNewWizard extends Wizard implements INewWizard {
     ......
     ......
     public void init(IWorkbench workbench, IStructuredSelection selection) {
     public void init(IWorkbench workbench, IStructuredSelection selection) {
    super.addPages();
      super.addPages();
    mainPage = new WizardNewProjectCreationPage(PAGE_NAME){ //$NON-NLS-1$
      mainPage = new WizardNewProjectCreationPage(PAGE_NAME){ //$NON-NLS-1$
    public void createControl(Composite parent) {
        public void createControl(Composite parent) {
    super.createControl(parent);
        super.createControl(parent);
    Composite container = (Composite) getControl();
        Composite container = (Composite) getControl();
    // I want to do something here to override it....
        // I want to do something here to override it....
    projectLabel.setText("Package Name"); // this string should be externalized
        projectLabel.setText("Package Name"); // this string should be externalized
      
      
   
 
    // Here is where it's declared.
// Here is where it's declared.
    public class WizardNewProjectCreationPage extends WizardPage {
public class WizardNewProjectCreationPage extends WizardPage {
     ....
     ....
     /**
     /**
Line 25: Line 25:
     private final void createProjectNameGroup(Composite parent) {
     private final void createProjectNameGroup(Composite parent) {
     ....
     ....
    // new project label
      // new project label
    Label projectLabel = new Label(projectGroup, SWT.NONE);
      Label projectLabel = new Label(projectGroup, SWT.NONE);
    projectLabel.setText(IDEWorkbenchMessages.WizardNewProjectCreationPage_nameLabel);  // want to change this message in org.eclipse.ui.internal.ide.messages.properties
      projectLabel.setText(IDEWorkbenchMessages.WizardNewProjectCreationPage_nameLabel);  // want to change this message in org.eclipse.ui.internal.ide.messages.properties


</pre>
</pre>

Revision as of 14:38, 24 June 2011

Fedora Packager Process plug-in

  • If you want to change the 'project name' to 'package name' for instance.
you need to add your own string, then externalize the string.
public class projectNewWizard extends Wizard implements INewWizard {
    ......
    public void init(IWorkbench workbench, IStructuredSelection selection) {
      super.addPages();
      mainPage = new WizardNewProjectCreationPage(PAGE_NAME){ //$NON-NLS-1$
        public void createControl(Composite parent) {
        super.createControl(parent);
        Composite container = (Composite) getControl();
        // I want to do something here to override it....
        projectLabel.setText("Package Name"); // this string should be externalized
     

// Here is where it's declared.
public class WizardNewProjectCreationPage extends WizardPage {
    ....
    /**
    * Creates the project name specification controls.
    *
    * @param parent the parent composite
    */
    private final void createProjectNameGroup(Composite parent) {
    ....
       // new project label
       Label projectLabel = new Label(projectGroup, SWT.NONE);
       projectLabel.setText(IDEWorkbenchMessages.WizardNewProjectCreationPage_nameLabel);  // want to change this message in org.eclipse.ui.internal.ide.messages.properties

Mylyn Wikitext

  • yum install eclipse-mylyn-docs-wikitext
  • it will automatically put necessary jars into
 /user/share/eclipse/mylyn-wikitext/dropins/plugins
  • If images are fetched but not shown on the user guide, there might be a problem parsing the name of the image from capital letter to lower case (e.g. Fedora.png will be parsed to fedora.png). we can fix this manually right now but later we may file a bug for that.
  • mv .eclipse/ .eclipse.old to create a new clean update for plugins in home directory
  • rpm -qf /usr/share/eclipse/dropins/mylyn-wikitext -> will mention if this is owned by any package
  • yum list \*eclipse\*wikitext -> shows if there is any available package in this category (e.g. eclipse-mylyn-docs-wikitext)
  • yum list installed \*eclipse\*wikitext -> shows the installed packages in this category

Mylyn Tasks - bugzilla

yum good stuff

if you don't have the package installed $ yum provides is your friend: yum provides '*org.eclipse.mylyn.help.ui*'
if you have an RPM at hand, but not installed: $ rpm -qlp path/to/rpm/file
if you have an RPM at hand AND installed: $ rpm -ql <package-name>
issue with httpcomponents-client:$ yum install fedora-release-rawhide && yum install --enablerepo=rawhide httpcomponents-client
issue with apache-httpclient in eclipse -> yum install --enablerepo=rawhide avalon-{logkit,framework}
cd /PATH/TO/dropins/; grep -rn "org.eclipse.mylyn.internal.team" mylyn* -> then look for which package provides the matching jar: yum provides '*org.eclipse.mylyn.help.ui*'

Remote Desktop

Go to Remote Desktop
Allow others to view/control, check for confirmation
vncviewer + ip
temporarily disable firewall

clone from fedora packages git repo

fedora-packager-setup
gson complain -> yum install google-gson
http components -> yum install httpcomonents....or yum --enablerepo=rawhide && yum install httpcomponents-client
yum --enablerepo=rawhide install eclipse-jgit eclipse-egit\
set the targets -> usr/share/java - usr/share/java/httpcomponents

fedora packager process user-guide

This part should be removed (related to language stuff for the page )
 FROM:{{{
 TO}}}
Internal links should change:
 FROM:
 TO

Installing f15 on my laptop

Wireless -> Asus -> firmware missing -> http://forums.fedoraforum.org/showthread.php?t=239922
Chrome -> http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/