Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » project file as command line parameter
project file as command line parameter [message #929] Thu, 09 February 2006 14:08 Go to next message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
I would like to be able to open a project from File Explorer by double clicking the .upp file. I associated theide.exe with this extension, but theide.exe don't seem to care about the project file passed as command line arg. It still opens up the package selector dialog. Would it be possible to immediately open the project if a .upp file is passed as command line arg?
Re: project file as command line parameter [message #939 is a reply to message #929] Thu, 09 February 2006 20:25 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Actully, it does now (last thing added to 602 release) and it is even able to compile via commandline.

However, the trouble is that you need more than single file to specify the project - at least, you need to specify assembly as well...

So it has to be

theide examples Clock

This already works...

Mirek
Re: project file as command line parameter [message #952 is a reply to message #939] Thu, 09 February 2006 23:12 Go to previous messageGo to next message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
luzr wrote on Thu, 09 February 2006 14:25


So it has to be
theide examples Clock

But this is not something that double click in an external program will ever invoke. How about

theide C:/upp/examples/Clock/clock.upp

And then theide would guess from the path that the assembly is "example".
Re: project file as command line parameter [message #953 is a reply to message #952] Thu, 09 February 2006 23:21 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, uhm, I do not exatly like the "guess from the path" part Smile - packages can be nested, the name of assembly does not need to be equal to the first nest.

Anyway, maybe we could try something like that...

Mirek
Re: project file as command line parameter [message #954 is a reply to message #953] Thu, 09 February 2006 23:25 Go to previous messageGo to next message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
Anything before the last directory name is the assembly path: It is not that much "guessing". It seems to me that assembly nesting is not a problem here.
Re: project file as command line parameter [message #955 is a reply to message #954] Thu, 09 February 2006 23:34 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I have d:\uppsrc\plugin\gif package, but no "plugin" assembly...

However, never mind, I will try to do what you suggest.... (tommorow) (if it does not appear on [changelog] soon, please remind me Smile

Mirek
Previous Topic: new uninstaller because... :)
Next Topic: installer wishes
Goto Forum:
  


Current Time: Tue Apr 23 18:13:32 CEST 2024

Total time taken to generate the page: 0.02157 seconds