This is done with constructs like IF "%~1"="", which is true if and only if no arguments were passed at all. There are also lots of important techniques to be aware of in addition to simply how to access the parameters. %* is all parameters specified in the command line - this is very useful if you want to forward the parameters to another program.%0 is the executable (batch file) name as specified in the command line.There are also two other tokens that you can use: Please provide an existing fully qualified path of the file.Īt .(DeployerMojo.java:459)Īt .(DeployerMojo.java:434)Ĭan you tell me what I'm doing wrong, when deploy ear to a remote serverĪs others have already said, parameters passed through the command line can be accessed in batch files with the notation %1 to %9. Please provide an existing fully qualified path of the file.Īt .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)Ĭaused by: .MojoExecutionException: Invalid file. LifecycleExecutionException: Invalid file. Please provide an existing fully qualified path of the file. In the first phase I made in the project: mvn wls:installĬ:\Users\bartek\Downloads\wls1211_dev.zipĪnd I get following error BUILD ERROR I want to deploy ear from machine 192.168.1.2 with maven plugin:
0 Comments
Leave a Reply. |