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 6774701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:49:09+00:00 2026-05-26T15:49:09+00:00

I am working on a project, it has multiple parts in C# and Java(interoperable).

  • 0

I am working on a project, it has multiple parts in C# and Java(interoperable). I m working with files and it would be nice to keep states of the files. ie: which part did fail and where if there is a failure. also, if everything is processed mark them as processed.

Because I have multiple components for this system, which is about 5 components. I want to be able to use a naming convention to record the files with state names. Lets say File A started component 1, i want to mark it as being at state 1 once it s complete, i want to rename it as A.1.complete and so forth.

I thought about using a persistence database, but it brings more layer and more dependencies to the system. if i can come up with a schema (naming schema), i will avoid the database layer.

How would you do it?

  • 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-26T15:49:10+00:00Added an answer on May 26, 2026 at 3:49 pm

    Create a folder structure for each state

    | 1
    |- Inbox
    |- Working
    |- Complete
    | 2
    |- Inbox
    |- Working
    |- Complete
    | 3
    |- Inbox
    |- Working
    |- Complete
    | 4
    |- Inbox
    |- Working
    |- Complete
    | 5
    |- Inbox
    |- Working
    |- Complete
    

    Move your files between the different folders when they change state.
    Having a folder structure instead of a naming scheme makes it easier to find what items that exists in a given state. Just list all files instead of trying to parse parts of filenames. No risk of going bananas just because your file happened to have the name ‘A.1.txt’ from the beginning.

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

Sidebar

Related Questions

I'm working on a very large project that has associated class files in multiple
I'm working on a project which has multiple similar code paths which I'd like
I am working on a C++ project which has a huge code base and
I am working a project currently in which the user can add multiple news
I am working on a project that has been through multiple hands with a
I have a pet project that I'm working on that has multiple worker threads.
I have a project I am currently working on that has multiple validators and
I have an XCode project I am working on that has multiple views controlled
I am working on a quite big project: The program has to do multiple
The project has been working fine in 2003 but when opening it in 2008

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.