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

  • SEARCH
  • Home
  • 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 8439047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:53:50+00:00 2026-06-10T07:53:50+00:00

I have a component named MyComponent with the following folder structure in RTC: /MyProject

  • 0

I have a component named MyComponent with the following folder structure in RTC:

/MyProject
/MyProject/TestFile.txt
/MyProject/Folder1
/MyProject/Folder1/loadrules.txt
/MyProject/Folder1/TestFile2.txt

And this is what I have in my loadrules.txt file::

versionableName=/MyProject/TestFile.txt

I’ve specified the loadrules.txt file in my build definition for this component as the component load rule, but when the build runs, I’m getting the following exception when it tries to fetch the files:

com.ibm.team.repository.common.TeamRepositoryException: Unexpected line "versionableName=/MyProject/TestFile.txt" encountered in build load rules for component "MyComponent"
    at com.ibm.team.filesystem.client.internal.load.LoadRule.getRules(LoadRule.java:176)
    at com.ibm.team.filesystem.client.internal.load.LoadRule.addLoadRules(LoadRule.java:101)
    at com.ibm.team.build.internal.scm.ComponentLoadRules.getLoadRules(ComponentLoadRules.java:134)
    at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:235)
    at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:844)
    at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:650)
    at java.lang.Thread.run(Thread.java:662)

Any idea what I’m doing wrong? I’ve tried following the example here but I can’t figure why it’s not working for me. Regardless of what I put in the loadrules.txt file (nothing/empty string, random garbage text, etc.), I still get this exception for the first line of the file.

This is in RTC 3.0

  • 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-06-10T07:53:52+00:00Added an answer on June 10, 2026 at 7:53 am

    This kind of error is likely to be an encoding issue.

    One way to test that is to create the loadrules.txt through the scm command-line interface, as detailed in “Reference > Source control command line reference > scm > create“

     scm create loadrules [options]
    

    The OP holic87 confirms:

    I just used Notepad++ to recreate the text file and it’s working as expected now.

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

Sidebar

Related Questions

I have an XML file with the following structure: <Products> <Product name=MyProduct1> <Components> <Component
Say I have a component like this public class MyComponent { public MyComponent(string name)
I have XML in the following format: <Products> <Product name=MyProduct1> <Components> <Component name=MyComponent1> <Teams>
I have a component on an entity that may be null. This works in
I have a component done in JSF 1.x, this component has a command button
I have one class named handler and this class process the http request comming
foreword: I have a component, lets call it IView. This component is implemented by
I have build a custom component in JSF 2.0 The tag looks like this:
I have: @Component class MyDecorator{ private Cache cache; /* some wrapped methods like get
Please consider such scenerio: I have component called TMenuItemSelector which has two published properties:

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.