WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: .dep-files can't contain path  (Read 6122 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
.dep-files can't contain path
« on: November 30, 2010, 08:08:57 AM »
Hi!

A dependency in a .dep-file can't have a path but an item in a .lst-file can.

The line bellow works in a .lst-file but not in a .dep-file.

subdir/programname.tcz

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: .dep-files can't contain path
« Reply #1 on: November 30, 2010, 08:26:37 AM »
Correct.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: .dep-files can't contain path
« Reply #2 on: November 30, 2010, 10:18:11 AM »
More specifically, there is likely not much demand to support the ability to include in a dep file the full path to an extension outside of the tce directory since that would slow things down for everyone while providing a desired feature for a very few.  That would likely only be used for testing purposes, and when testing there are usually several ways to achieve what is desired within the existing framework.

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: .dep-files can't contain path
« Reply #3 on: November 30, 2010, 10:39:36 AM »
It would make it possible to organize extensions for special purposes. But if there is no demand and it would slow things down then its not worth it.

regards
Uggla

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: .dep-files can't contain path
« Reply #4 on: November 30, 2010, 10:52:03 AM »
It would make it possible to organize extensions for special purposes. But if there is no demand and it would slow things down then its not worth it.

regards
Uggla

I'm using different sets of extensions for different purposes. I have /tce, /tce3, /tce4, ... folders on either USB stick or HD and specifying TCE dir in command line.

It works fine using current toolset and features.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: .dep-files can't contain path
« Reply #5 on: November 30, 2010, 11:10:40 AM »
Yes, but that means a lot of duplicates.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: .dep-files can't contain path
« Reply #6 on: November 30, 2010, 11:32:18 AM »
Yes, but that means a lot of duplicates.

An extension set is ralatively small, while storage is really cheap. For sure cheaper tha labour cost of development :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: .dep-files can't contain path
« Reply #7 on: November 30, 2010, 12:10:50 PM »
Symlinks have been used for that purpose. Hard links would work too.
The only barriers that can stop you are the ones you create yourself.

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: .dep-files can't contain path
« Reply #8 on: November 30, 2010, 01:06:39 PM »
Symlinks have been used for that purpose. Hard links would work too.

Ok, but what happens when updating extensions? Links get overwritten, right?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: .dep-files can't contain path
« Reply #9 on: November 30, 2010, 03:10:05 PM »
Symlinks have been used for that purpose. Hard links would work too.

Note: This requires tce_dir being on a filesystem capable of linking, e.g. FAT* would be out of the question.

"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)