Error in commiting changes on 0.12.4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in commiting changes on 0.12.4

XumuK
Hi! Tried amber init command - very useful for me, thanks :)
But.. I can`t commit changes: 

Commiting failed with reason: "File could not be created. Did you forget to create the src directory on the server?"
The exact error is: Error: ENOENT, open './com.hubbatov.first/first.js'

What is wrong? Project directory contains 'src' directory with .js and .st files.

INDEX HTML:
<!DOCTYPE html>
<html>

  <head>
    <title>First</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="author" content="Khubbatov Rustem" />
    <script type='text/javascript' src='bower_components/amber/support/requirejs/require.min.js'></script>
    <script type='text/javascript' src='bower_components/amber/support/amber.js'></script>
  </head>

  <body>
    <script type='text/javascript'>
      require.config({ paths: {
          'com.hubbatov.first': 'src' //mapping compiled .js files and smalltalk source files
      }});
      require([
          'amber/devel',
          'com.hubbatov.first/first'
      ], function (smalltalk) {
          //used for all new packages in IDE
          smalltalk.initialize({
            'transport.defaultAmdNamespace': "com.hubbatov.first"
          });
      });
    </script>
    <button onclick="require('amber/helpers').globals.Browser._open()">legacy IDE</button>
    <button onclick="require('amber/helpers').popupHelios()">Helios IDE</button>
  </body>

</html>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Error in commiting changes on 0.12.4

Hannes Hirzel
Hubbatov,

I tried it with your name space

   com.hubbatov.first

and it did not work either.

However if I use a name space without dots it works find.

HTH

--Hannes

On 4/22/14, XumuK <[hidden email]> wrote:

> Hi! Tried amber init command - very useful for me, thanks :)
> But.. I can`t commit changes:
>
> *Commiting failed with reason: "File could not be created. Did you forget
> to create the src directory on the server?"*
> *The exact error is: Error: ENOENT, open './com.hubbatov.first/first.js'*
>
> What is wrong? Project directory contains 'src' directory with .js and .st
> files.
>
> *INDEX HTML:*
> <!DOCTYPE html>
> <html>
>
>   <head>
>     <title>First</title>
>     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
>     <meta name="author" content="Khubbatov Rustem" />
>     <script type='text/javascript'
> src='bower_components/amber/support/requirejs/require.min.js'></script>
>     <script type='text/javascript'
> src='bower_components/amber/support/amber.js'></script>
>   </head>
>
>   <body>
>     <script type='text/javascript'>
>       require.config({ paths: {
>           'com.hubbatov.first': 'src' //mapping compiled .js files and
> smalltalk source files
>       }});
>       require([
>           'amber/devel',
>           'com.hubbatov.first/first'
>       ], function (smalltalk) {
>           //used for all new packages in IDE
>           smalltalk.initialize({
>             'transport.defaultAmdNamespace': "com.hubbatov.first"
>           });
>       });
>     </script>
>     <button
> onclick="require('amber/helpers').globals.Browser._open()">legacy
> IDE</button>
>     <button onclick="require('amber/helpers').popupHelios()">Helios
> IDE</button>
>   </body>
>
> </html>
>
> --
> You received this message because you are subscribed to the Google Groups
> "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Error in commiting changes on 0.12.4

XumuK
Thanks, it`s works for me

вторник, 22 апреля 2014 г., 11:25:27 UTC+4 пользователь Hannes написал:
Hubbatov,

I tried it with your name space

   com.hubbatov.first

and it did not work either.

However if I use a name space without dots it works find.

HTH

--Hannes

On 4/22/14, XumuK <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="RiBvzgU14nUJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">hubb...@...> wrote:

> Hi! Tried amber init command - very useful for me, thanks :)
> But.. I can`t commit changes:
>
> *Commiting failed with reason: "File could not be created. Did you forget
> to create the src directory on the server?"*
> *The exact error is: Error: ENOENT, open './com.hubbatov.first/first.js'*
>
> What is wrong? Project directory contains 'src' directory with .js and .st
> files.
>
> *INDEX HTML:*
> <!DOCTYPE html>
> <html>
>
>   <head>
>     <title>First</title>
>     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
>     <meta name="author" content="Khubbatov Rustem" />
>     <script type='text/javascript'
> src='bower_components/amber/support/requirejs/require.min.js'></script>
>     <script type='text/javascript'
> src='bower_components/amber/support/amber.js'></script>
>   </head>
>
>   <body>
>     <script type='text/javascript'>
>       require.config({ paths: {
>           'com.hubbatov.first': 'src' //mapping compiled .js files and
> smalltalk source files
>       }});
>       require([
>           'amber/devel',
>           'com.hubbatov.first/first'
>       ], function (smalltalk) {
>           //used for all new packages in IDE
>           smalltalk.initialize({
>             'transport.defaultAmdNamespace': "com.hubbatov.first"
>           });
>       });
>     </script>
>     <button
> onclick="require('amber/helpers').globals.Browser._open()">legacy
> IDE</button>
>     <button onclick="require('amber/helpers').popupHelios()">Helios
> IDE</button>
>   </body>
>
> </html>
>
> --
> You received this message because you are subscribed to the Google Groups
> "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="RiBvzgU14nUJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Error in commiting changes on 0.12.4

Herby Vojčík
In reply to this post by XumuK
Yrs, requirejs has problems with dots in path. I used undetscores in place of dot in reverse path names.

I also added an issue: https://github.com/amber-smalltalk/grunt-init-amber/issues/11

XumuK <[hidden email]>napísal/a:

Thanks, it`s works for me

вторник, 22 апреля 2014 г., 11:25:27 UTC+4 пользователь Hannes написал:
Hubbatov,

I tried it with your name space

   com.hubbatov.first

and it did not work either.

However if I use a name space without dots it works find.

HTH

--Hannes

On 4/22/14, XumuK <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="RiBvzgU14nUJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">hubb...@...> wrote:

> Hi! Tried amber init command - very useful for me, thanks :)
> But.. I can`t commit changes:
>
> *Commiting failed with reason: "File could not be created. Did you forget
> to create the src directory on the server?"*
> *The exact error is: Error: ENOENT, open './com.hubbatov.first/first.js'*
>
> What is wrong? Project directory contains 'src' directory with .js and .st
> files.
>
> *INDEX HTML:*
> <!DOCTYPE html>
> <html>
>
>   <head>
>     <title>First</title>
>     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
>     <meta name="author" content="Khubbatov Rustem" />
>     <script type='text/javascript'
> src='bower_components/amber/support/requirejs/require.min.js'></script>
>     <script type='text/javascript'
> src='bower_components/amber/support/amber.js'></script>
>   </head>
>
>   <body>
>     <script type='text/javascript'>
>       require.config({ paths: {
>           'com.hubbatov.first': 'src' //mapping compiled .js files and
> smalltalk source files
>       }});
>       require([
>           'amber/devel',
>           'com.hubbatov.first/first'
>       ], function (smalltalk) {
>           //used for all new packages in IDE
>           smalltalk.initialize({
>             'transport.defaultAmdNamespace': "com.hubbatov.first"
>           });
>       });
>     </script>
>     <button
> onclick="require('amber/helpers').globals.Browser._open()">legacy
> IDE</button>
>     <button onclick="require('amber/helpers').popupHelios()">Helios
> IDE</button>
>   </body>
>
> </html>
>
> --
> You received this message because you are subscribed to the Google Groups
> "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="RiBvzgU14nUJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">amber-lang+...@googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.