Skip to content

Frog does not run from the SDK #2285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
devoncarew opened this issue Mar 24, 2012 · 5 comments
Closed

Frog does not run from the SDK #2285

devoncarew opened this issue Mar 24, 2012 · 5 comments
Labels
P0 A serious issue requiring immediate resolution web-dart2js

Comments

@devoncarew
Copy link
Member

Frog does not run from the SDK currently, due to a dependency on the svn repo path structure. When running it:

Unable to open file: /Users/foo/tools/eclipse_37/dart-sdk/lib/utils/compiler/source_file.dart'
file:///Users/foo/tools/eclipse_37/dart-sdk/lib/frog/leg/frog_leg.dart': Error: line 8 pos 1: library handler failed

import('../../utils/compiler/source_file.dart');

^
'file:///Users/foo/tools/eclipse_37/dart-sdk/lib/frog/frogc.dart': Error: line 6 pos 1: library handler failed

import('leg/frog_leg.dart', prefix: 'leg');

^

We need to modify the frog source so that it can be run in either the repo or SDK context, or post-process frog when creating the SDK so that the paths are patched up.

This is a high priority item for the editor as currently users cannot generate javascript or run in non-Dartium browsers.

@dgrove
Copy link
Contributor

dgrove commented Mar 24, 2012

The problem here is that we don't currently package utils into the SDK, and frog/leg just got a dependency on utils/compiler.


cc @peter-ahe-google.

@peter-ahe-google
Copy link
Contributor

I don't know how to resolve this. dgrove@ can you help by giving me some pointer to how to use the SDK and how to test it.

@peter-ahe-google
Copy link
Contributor

Issue #2286 has been merged into this issue.


cc @kasperl.

@peter-ahe-google
Copy link
Contributor

Added Started label.

@peter-ahe-google
Copy link
Contributor

@devoncarew devoncarew added Type-Defect P0 A serious issue requiring immediate resolution web-dart2js labels Mar 25, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 A serious issue requiring immediate resolution web-dart2js
Projects
None yet
Development

No branches or pull requests

3 participants