stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isuru Perera <isu...@wso2.com>
Subject Re: [Build Failure] org.apache.stratos.adc.mgt.cli
Date Tue, 23 Jul 2013 15:15:49 GMT
Thanks Udara!


On Tue, Jul 23, 2013 at 8:34 PM, Udara Liyanage <udara@wso2.com> wrote:

> *-a* in your commit commands says to commit all the changes. It commits
> staged and unstaged changes, but not untracked files.
>
> If you execute 'git status', it will show only the untracked files.
>
>
>
>
> On Tue, Jul 23, 2013 at 7:43 PM, Isuru Perera <isurup@wso2.com> wrote:
>
>> Hi Pradeep,
>>
>> Check the build now.
>>
>> Some files were not committed. When I checked "git status", following was
>> the output.
>>
>> isuru@isurup-ThinkPad-T530:~/work/projects/incubator-stratos$ git status
>> # On branch master
>> # Changes not staged for commit:
>> #   (use "git add <file>..." to update what will be committed)
>> #   (use "git checkout -- <file>..." to discard changes in working
>> directory)
>> #
>> #    modified:   components/org.apache.stratos.cli/pom.xml
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/CliTool.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/Command.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/CommandContext.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/CommandLineApplication.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/CommandLineService.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosCommandContext.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/AddDomainMappingCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/CartridgesCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/ExitCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/HelpCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/InfoCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/ListCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/PoliciesCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/RemoveDomainMappingCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/SubscribeCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/SyncCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/commands/UnsubscribeCommand.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/completer/CommandCompleter.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/exception/CommandException.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/utils/CliConstants.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/utils/CommandLineUtils.java
>> #    modified:
>> components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/utils/RowMapper.java
>> #    modified:   components/pom.xml
>> #    modified:   products/stratos_cli/distribution/pom.xml
>> #    modified:
>> products/stratos_cli/distribution/src/main/assembly/bin.xml
>> #    modified:
>> products/stratos_cli/distribution/src/main/bin/stratos.bat
>> #    modified:   products/stratos_cli/distribution/src/main/bin/stratos.sh
>> #    modified:   products/stratos_cli/pom.xml
>> #
>> # Untracked files:
>> #   (use "git add <file>..." to include in what will be committed)
>> #
>> #    components/org.apache.stratos.cli/.gitignore
>> no changes added to commit (use "git add" and/or "git commit -a")
>>
>>
>> Then I found this:
>> http://stackoverflow.com/questions/7704480/why-does-git-commit-not-save-my-changes
>>
>> I just committed files from this command..
>>
>> git commit -am "Apache Stratos CLI - Renamed to org.apache.stratos.cli"
>>
>> I'm really sorry for the inconvenience. I haven't actively worked with
>> Git before.
>>
>> Please check the build and let me know.
>>
>> Thanks.
>>
>>
>>
>>
>> On Tue, Jul 23, 2013 at 7:11 PM, Isuru Perera <isurup@wso2.com> wrote:
>>
>>> Hi Pradeep,
>>>
>>> I did that change already. Let me check why that error comes.
>>>
>>> Thanks!
>>>
>>>
>>> On Tue, Jul 23, 2013 at 7:07 PM, Pradeep Fernando <pradeepfn@gmail.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> I got the below error, fixed and patch attached.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [ERROR] The build could not read 1 project -> [Help 1]
>>>> [ERROR]
>>>> [ERROR]   The project
>>>> org.apache.stratos:stratos-components-parent:3.0.0-SNAPSHOT
>>>> (/home/pradeep/checkout/git-repos/apache-stratos/components/pom.xml) has
1
>>>> error
>>>> [ERROR]     Child module
>>>> /home/pradeep/checkout/git-repos/apache-stratos/components/org.apache.stratos.adc.mgt.cli/pom.xml
>>>> of /home/pradeep/checkout/git-repos/apache-stratos/components/pom.xml does
>>>> not exist
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>
>>>>
>>>> --
>>>> Pradeep Fernando.
>>>> http://pradeepfernando.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> Twitter: http://twitter.com/chrishantha | LinkedIn:
>>> http://lk.linkedin.com/in/chrishantha/
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> Twitter: http://twitter.com/chrishantha | LinkedIn:
>> http://lk.linkedin.com/in/chrishantha/
>>
>
>
>
> --
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/

Mime
View raw message