It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm following along the "Game of Darts" tutorial. I followed the instructions but I'm stuck at "Import libraries from a package". The vector_math dir appears empty after I save the pubspec.yaml file. Am I missing a step or is there a work around?
Thanks,
Adolfo
I followed the tutorial and could not reproduce the problem. Here are a few suggestions: make sure that you are using the latest version of Dart Editor (go to About Dart Editor in the main Dart Editor menu and make sure that your Editor is up to date.
Also, try closing the vector_victor files and collapsing the opened folders in the left bar and then reopen them. Does that do anything?
Finally, try running pub update and see if that does anything.
The suggestions above all seem a little arbitrary, but its hard to solve a problem that I am not able to recreate.
Did you run "pub install" or use "Tools > Pub Install" in Dart Editor?
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I've been copying favorite songs for "THE MOST AWESOME CAR CD EVER" into a txt file. All the files are exact paths to the music.
Now i want to parse the txt and copy what it finds into a folder... i`m not that fluent in batch so maybe you could help me out
Thanks
#echo off
setlocal
for /f "usebackqdelims=" %%i in ("yourtextfilename.txt") do (
ECHO XCOPY "%%i" "c:\yourdestfolder\"
)
for each line in the filename, where the filename is in double-quotes (usebackq) assign each line of the file to %%i in turn and XCOPY that file to c:\yourdestfolder\
The PROPOSED XCOPY will be echoed to the screen. This is deliberate to allow you to make sure that is what you want to do. To EXECUTE the XCOPY simply delete the ECHO keyword before it. If the "1 files copied" response irritates you, add >nul after "c:\yourdestfolder\" if you want to suppress the message.
"c:\yourdestfolder\" will be CREATED by XCOPY if it does not already exist. XCOPY will ask whether you want to overwrite existing files if there is already a file with the same name in "c:\yourdestfolder\" - which is why you may NOT want to suppress the messages.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am using Delphi 7. I am trying to use Sonar Delphi Plgin, and I have confused what are the things I need to follow, could anybody guide me through Sonar Delphi usage i.e. installation and how to use it.
If possible pl provide the link, coz I have gone through the link below, but it gives me only jar file:
http://docs.codehaus.org/display/SONAR/Delphi+Plugin
And confused with one more link:
http://sonar.15.n6.nabble.com/sonar-dev-VOTE-Delphi-plugin-td4523726.html
Here is the following link for Sonar runner:
http://docs.codehaus.org/display/SONAR/Installing+and+Configuring+Sonar+Runner
Based off of recent memory of getting this working.
Ensure Java 6 SDK installed (Delphi addon doesn't work with Java 7)
Download the Sonar application: http://www.sonarsource.org/downloads/
Install Sonar
Run Sonar (StartSonar.bat)
Once logged on (default user/pass is admin) install the Delphi add-on via the Update Center list of Available Plugins. See: http://docs.sonarqube.org/display/SONAR/Update+Center
Grab the example project files from the Github repository:
https://github.com/SonarSource/sonar-examples/tree/master/projects/languages
There's a Delphi sample in there demonstrating how to configure a sonar-project.properties file that points to your source code directories.
After setting the SONAR_RUNNER_HOME environment variable, exec 'sonar-runner' in the folder with your configured properties file to have Sonar parse through the Delphi project files.
I plan to go back to play with this, but it failed to process most of the code I threw at it so I walked away a bit disappointed. It seems like a pretty cool system.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have been given the following requirements.
Create a build file with ANT build that creates a .jar from the source file (Source being in *D:\Root\Products\Application\Files* )
Create a bat file to run the .jar saved in a different location(say in
*D:\Root\Products\Application\ReleaseBuild*)
Where should I start with? I am new to build files and no idea how to begin with. And am a bit confused with the build tutorials.
Please someone suggest a way to begin with.
Thanks in advance.
start with an ant-task that compiles the code to a temp directory (ant-task: javac)
package those files to a jar (ant-task jar) - see, step 1 is essential, because jar does only bundle the files, but does not compile the sources for you
create the bat-script using the ant-task echo
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I know it's a duplicate question. But does anyone have a real working solution?
Tried the following but in vain:
Restarted simulator: waste of time.
Restarted xcode: nothing happened.
Restarted system: I hate it, no use.
Kill the simulator process from terminal. Still issue persists.
Anyone have ever solved this issue really? Then please share the reason why this is happening and the solution also. NB: No such issue when running in ios device.
Perform steps from 1-to-5
1) Reset Simulator (or delete the app which freeze)
2) Delete project from organizer
3) Clean / Delete build
4) Exit Xcode
5) Restart System
These would definitely solved this problem.
This normally happens when more than one instance of the app runs on the simulator(When you repeatedly try to run the app without stopping it). You can try resetting the simulator and cleaning the build in Xcode. Also remember to quit and restart both simulator and Xcode.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm currently using a basic text editor to write my grails code. Does anyone know of a program that will automatically format code with indentation similar to indent does for C? I'd rather use a commandline program to do this but can use an IDE to format my code if that's the only option.
Try NetBeans v.6.7 (not the current production release 6.5) with the NetBeans Groovy/Grails plugin enabled. This is a nice clean IDE interface (easier to use than Eclipse IMHO), and you can set it up to integrate with your Grails installation. You can call all your Grails tasks from the IDE, edit your code, test and run your project. Then, if you want to format your code, you just right-click in the code editor and select "Format". Easy!
I am using VIM / GVIM for typing code in Groovy/Grails. it has code formatting, I just need to tell my VIM that groovy and java are similar....
and then press gg = G [enter] (format from top to bottom)
There is a tool recommended in this thread for this purpose. I have not tried it but maybe worth a look.
Here's some instructions on how to get Grails working with NetBeans (couldn't submit the second URL in my last post).
the groovy eclipse plugin does a decent job of formatting groovy code. sts might be smarter about some of the grails code.
You can use npm-groovy-lint for command line, and VsCode Groovy Lint in Visual Studio Code IDE :)
https://www.npmjs.com/package/npm-groovy-lint
https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint